Controls margin for elements. Supports scaled values, custom values, directional control, and negative margins.
Margin of 4
Examples
Margin Scale
The m prop accepts scale values 0–8 and auto.
Negative Margins
Margin supports negative values for overlapping layouts.
Margin Directions
Use m, mt, mb, ml, mr, mx, and my for directional margin control.
Custom Margin
Margin also accepts custom CSS values.