CSS scrollbar-gutter and scrollbar-width reach Baseline Newly available
Two CSS features for controlling scrollbar behavior—scrollbar-gutter and scrollbar-width—are now Baseline Newly available, giving developers more control over how space is allocated for scrollbars and how they are displayed.
The scrollbar-gutter property lets you reserve space for a scrollbar even when one is not currently needed. This prevents layout shifts if a scrollbar later becomes necessary. The property only takes effect when classic scrollbars are in use.
With scrollbar-width, you can opt into a narrower scrollbar or hide the scrollbar entirely without impacting scrollability.
For more details on styling scrollbars, see the documentation on scrollbar styling.



