Skip to content
HTML.ONE
Home CSS Properties

CSS Margin

Sets external spacing around an element.

Example

margin: 16px auto;

Further reference

MDN CSS reference

Live preview