CSS Property:

margin-right

Result:

Example of the margin-right 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?