CSS tip: stop your layout from jumping sideways when the scrollbar appears.
html {
scrollbar-gutter: stable;
}
The browser reserves space for the scrollbar ahead of time, so nothing shifts.
CSS tip: stop your layout from jumping sideways when the scrollbar appears. html { scrollbar-gutter: stable; } The browser reserves space for the scrollbar ahead of time, so nothing shifts.
0 views
Published on 29/10/2026 11:21
CSS tip: stop your layout from jumping sideways when the scrollbar appears.
html {
scrollbar-gutter: stable;
}
The browser reserves space for the scrollbar ahead of time, so nothing shifts.
0 comments
?