What is "margin"
The margin properties CSS
are used to generate space around elements.
The margin properties define the size of the white space outside the edge.
With CSS, you have full control over the margins. There are CSS properties to define the margin for each side of an element (top, right, bottom and left).
CSS has properties to specify the margin for each side of an element:
- margin top
- margin-right
- margin-bottom
- margin-left