CSS scrollbar-gutter Property Reference
The CSS scrollbar-gutter property is a standard property in CSS Overflow. Review its formal syntax, computed behavior, and practical declarations.
Updated 2026-08-12
scrollbar-gutter overview
The CSS scrollbar-gutter property is a standard property in CSS Overflow. Review its formal syntax, computed behavior, and practical declarations.
The property is not inherited by default. Use an explicit global keyword when inheritance is intended.
Syntax and formal definition
| Field | Value |
|---|---|
| Formal syntax | auto | stable && both-edges? |
| Initial value | auto |
| Applies to | scrollingBoxes |
| Inherited | No |
| Percentages | no |
| Computed value | asSpecified |
| Animation type | discrete |
| Media | visual |
| Specification group | CSS Overflow |
| Status | Standard |
Practical examples
These declarations demonstrate valid ways to set scrollbar-gutter. The initial and inherit global keywords remain available even when a property-specific value is preferable.
CSS
.reset-example {
scrollbar-gutter: initial;
}
.inherit-example {
scrollbar-gutter: inherit;
}
@supports (scrollbar-gutter: initial) {
.supported {
scrollbar-gutter: initial;
}
}