+ 4
How do I centre my code
On my code called CSS the squares are not centred. How do I do that???
9 Respuestas
+ 9
Use flexbox for alignment, very flexible properties, justify-content, align-items.
+ 4
Maybe this help you
https://code.sololearn.com/WnNWl3XiEd84/?ref=app
+ 4
Thank you so much!
+ 2
Farhan post is best answer for this question
+ 2
https://code.sololearn.com/WzmR8YrGM6Ls/?ref=app
+ 2
Use margin property and set it's value to auto... It'll be centered
+ 1
<center> code </center>
0
<center> tag, align tag, inline css, internal css, external css anything we can use