CSS Property:
margin:
auto
0
10px
25px
50px
100px
10%
20%
10px 1px 15px 50px
10px 1px
initial
Result:
myBox
CSS Code:
div#myBox {
background-color:red;
margin:
auto
;
}
Click the property values above to see the result
W3Schools.com
- Play it