CSS Property:

margin-top

Result:

Example of the margin-top property

CSS Code:

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