Margins

Margins

A margin is the space outside an element. In the example, the orange area marks the margin that separates the two cards.

Margins create breathing room. They keep elements from crowding each other and help people see where one item ends and the next begins.

Margins also appear at the edges of the screen, keeping content away from the very edge of a window or device.