0
What does it mean "margin: 0 auto"?
For example => body {margin: 0 auto;}
2 Answers
+ 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