
auto
value for left and right margins. For left or right aligned elements, it will assume a margin of 0
on the side that it is aligned to, and an auto
value for the opposite side.

Pro tip
For a list or grid of elements with equal spacing, use the gap control instead of margin. This will ensure consistent and easy to manage spacing between elements.Shortcuts
Use the preset alignment buttons to quickly center, left, or right align your content. This will automatically adjust the margin values for you.
⌥ Option
or Alt
key to equally change margin on both sides of an element. Hold ⇧ Shift + ⌥ Option
or Alt
to equally change margin for all sides.
