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