HTML & CSS · Senior · Question 64 of 75
What layout shift does scrollbar-gutter: stable prevent?
- ✓Correct answer: Content jumping sideways when a page or container gains a classic scrollbar
- 2Images shifting while loading
- 3Fonts changing width on swap
Explanation
It reserves space for the scrollbar even when content doesn't overflow. It matters on systems with non-overlay scrollbars (most Windows setups).