Margins surround the border edge of a box, providing spacing between boxes. 3. Margins
The margin property defines the outermost portion of the box model, creating space around an element, outside of any defined borders. Margins are set
Margins in CSS seem simple enough at first glance. Applied to an element it forms a space around the element, pushing other elements away. However, there is more to a margin than you might think.