Re: [csswg-drafts] [css-scrollbars-1] Add `scrollbar-style` property for `overlay` scrollbars (#13218)

Idea: Should we also have a "static" value (or "visible" or something else) when author request to forcibly show a fixed/non-overlay scrollbar?

For example, if an article container or textarea got keyboard focus, it will forcibly show the scrollbar to indicate user can use up/down/page up/page down keys to control the specific scrollbar.

```css
p {
    overflow-block: auto;
    scrollbar-style: overlay;

    &:focus-visible {
        scrollbar-style: static;
    }
}
```

-- 
GitHub Notification of comment by otomad
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13218#issuecomment-4149835365 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 29 March 2026 10:05:29 UTC