Automatic Centering

Learn how to use auto margin to quickly center a container element.
Automatic centering is utilized by Apple, Google, Stripe, and other pioneers in design as a method to horizontally place elements in the center. By applying automatic centering to an element with a specified width, you can horizontally position the element within the bounds of its parent.

To pick and implement automatic centering to a container element:

Initially, choose the element on the Canvas

Then, dive into the Style panel

Lastly, tap the center horizontally icon beside Spacing

Ewan Mak
Latest posts by Ewan Mak (see all)