Black Lives Matter! ✊🏾

margin

Margins surround the border edge of a box, providing spacing between boxes. 3. Margins

Links about margin

  1. Negative margins in CSS - QuirksBlog

    by Peter-Paul Koch

  2. margin | CSS-Tricks

    posted on by Sara Cope

    The margin property defines the outermost portion of the box model, creating space around an element, outside of any defined borders. Margins are set

  3. Everything You Need To Know About CSS Margins — Smashing Magazine

    posted on by Rachel Andrew

    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.

Code sample

div {
margin-right: 4rem;
}