Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 10
How can I horizontally center aĀ <div>Ā within anotherĀ <div>Ā using CSS (if it's even possible)?
2 Respostas
+ 2
Use flexbox
+ 1
u could set the inner div width as like 80% then add margin-left and margin-right as 10% (half of the remaining percentage)