CSS Property:

padding-top

Result:

The padding-top property sets the padding space on the top of an element.

CSS Code:

#myDiv {
                
background-color:pink;
}
Click the property values above to see the result
W3Docs.com-Play it
Do you find this helpful?