What do you think about the course so far?
Thank you for your feedback!
Explore more topics
The cascading rule explained
What is the cascading rule on Editor X?
When we build a responsive website on Editor X, we can change the layout and design for different screen sizes using breakpoints. The cascading rule means layout or style changes made on a specific breakpoint trickle down to smaller breakpoints, but will not affect any breakpoints above.
When does the cascading rule apply?
The cascading rule applies to style changes such as:
Font style, alignment or size
Image crop or opacity
Container styles such as color
It also applies to layout changes including:
Adding or adjusting a grid
Size, margins, padding and docking properties of an element
Certain changes apply to all breakpoints.
It’s important to pay attention to two types of property changes that don’t follow the cascading rule:
1. Data: changing or deleting page content such as text, media or images will apply to every breakpoint
Note: If you don’t want an element to display at a certain breakpoint, select the element and click the three dots on the floating action bar. Choose Don’t Display from the dropdown. This will hide the element at that breakpoint.
2. Structure: When you re-parent an element or remove an element from a Stack, it changes the page hierarchy. You will see structural changes reflected across all breakpoints