November 25, 2021
The cascading rule on Editor X.
Technical Designer Ido Hershkovits offers an in-depth look at the cascading rule on Editor X. Learn when it applies–and when it doesn’t–and what to pay attention to when designing across breakpoints.
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
I’m a web developer and Editor X specialist based in Tel Aviv. I work closely alongside the Editor X marketing team as a coding and responsive design expert. In my spare time, I’m a passionate musician and producer.
Did you find this lesson helpful?
Thank you for your feedback!
Related learning resources.
LESSONS & EXERCISES
LESSONS & EXERCISES
Ready to start creating?
People are searching for
Introducing Editor X
Discover the Editor X workspace. Get an introduction to your advanced layouting tools and an overview of responsive web design features like breakpoints, flexbox and CSS grid.
Learn the basics of creating a site on Editor X. Get a step by step walkthrough covering the key features and capabilities.