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.
> 
> p {
>     overflow-block: auto;
>     scrollbar-style: overlay;
> 
>     &:focus-visible {
>         scrollbar-style: static;
>     }
> }

https://github.com/w3c/csswg-drafts/issues/7421

-- 
GitHub Notification of comment by arif891
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13218#issuecomment-4149859363 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:22:08 UTC