Web features explorer

margin

Widely available
Tags: css Groups: CSS > Layout

The margin CSS property sets space around an element. It is a shorthand for margin-top, margin-right, margin-bottom, and margin-left. To learn more, see margin, margin-bottom, margin-left, margin-right, margin-top at MDN.

Compatibility