CSS Property:
padding:
0
10px
25px
50px
100px
10%
20%
10px 1px 15px 50px
10px 50px
initial
Result:
Play with different padding values for this yellow DIV element.
CSS Code:
div#myBox {
background-color:yellow;
width:100px;
padding:
0px
;
}
Click the property values above to see the result
W3Schools.com
- Play it