Creating a stack
Multi-select elements using Shift on your keyboard, then click Stack. Remember, you can only stack elements that are arranged above and below each other on your canvas.
Vertical margins
In a stack, the elements are separated by vertical margins, indicated by blue strips. To control the size of these margins, open the Inspector panel and under Margins, enter your desired values in px or %.
Note: in a stack, you’re addressing only the Top and Bottom margins between elements.
Reordering elements
You can manually switch the order of stacked elements using drag and drop. The margins will automatically adjust to accommodate the new layout.
Attaching & detaching
You’re free to drag elements in and out of a stack.
Note: These actions result in reparenting which changes the hierarchy of your site and affects all breakpoints.
Unstacking elements
You can break up a stack to release elements from their flex container. Click anywhere in your stack, select Stack from the blue breadcrumbs and click Unstack. You can also unstack elements using the Layers panel.
Note: These actions result in reparenting which changes the hierarchy of your site and affects all breakpoints.
EXPLORE MORE TUTORIALS
Was this lesson helpful?
Thank you for your feedback!