0
What does it mean "margin: 0 auto"?
For example => body {margin: 0 auto;}
2 Réponses
+ 1
margin:0 auto; 0 is for top-bottom and auto for left-right. It meansthat left and right margin will takeauto margin according to the width of the element and the width of the container
+ 1
Thank you Abinaya sekar