Breakpoints part 2.
Cascading & overrides. The cascading rule saves you time when you’re designing. Any layout or style changes you make at larger breakpoints automatically trickle down to all smaller breakpoints. This doesn’t mean you need to keep the same design for every screen size. You can still make custom changes at each breakpoint.
To hide an element on a specific breakpoint, go to that breakpoint, right click the element and select Don’t Display. Alternatively, go to the Layers panel from that same breakpoint, select the 3 dots next to the element and click Don’t Display. This change will only affect your current breakpoint and any smaller ones. To re-display your element, go back to the Layers panel, find the element and click the eye icon.
Copying from a breakpoint.
You can copy all of an element’s layout and style properties from one breakpoint to another. For example, you might like the way you styled an element on mobile, and want to use this same styling on tablet. To do this, go to tablet, select the element and click Copy from Breakpoint. You’ll then see a preview of how this element appears at each breakpoint. Hover on the mobile breakpoint—where you have the styling you want—and click Apply. The mobile styling of this element will now be applied on tablet.
Using on all breakpoints.
To use the same styling of an element on all breakpoints, right click the element and select Use on All Breakpoints.
All changes that cascade down are inherited changes from larger breakpoints. You can override an inherited change by customizing an element at a specific, smaller breakpoint. An element that has overrides no longer inherits other changes from larger breakpoints. Remove overrides from an element by right clicking it and selecting Remove Overrides.
Don’t display. Go to the desktop breakpoint and add a button. From the breakpoint navigator, move to tablet. Right click the button and select Don’t Display. You’ll see that the button is now hidden on tablet and mobile.
Re-display. Go to the mobile breakpoint and open the Layers panel. Find the button, under Section and select the eye icon to re-display it. Now the button is displayed on desktop and mobile, but hidden on tablet.
Cascading in action. Go to the tablet breakpoint and add a new button. You’ll see that this new button appears on mobile, but not on desktop.
Style per breakpoint. From the desktop breakpoint, add another button to your canvas. Go to tablet and change the color of the button. Go to mobile and change the color again. Now you have a different colored button at each breakpoint.
Use on all breakpoints. Head back to tablet, right click the button and select Use on All Breakpoints. See that the button color you used on tablet is now applied at every breakpoint.
Copy style from a breakpoint. Click Undo to return to the state where you have different colored buttons at each breakpoint. Now go back to tablet and select the button. From the floating action bar, select Copy from Breakpoint—that’s the icon to the left of the link icon. From here, select Apply on the desktop thumbnail. The button on tablet will now match the desktop styling.
Remove overrides. Go to the mobile breakpoint, right click the button and select Remove Overrides. Cascading is now back in action and the button on mobile will take on the same color as you have on desktop and tablet.
Watch related videos.