Email or username:

Password:

Forgot your password?
Šime Vidas

It’s unbelievable that we can create vaccines for submicroscopic organisms and land vehicles on Mars, but CSS pretends that scrollbars don’t exist because it’s “hard to implement”.

(drafts.csswg.org/css-values/)

2 comments
Christopher Kirk-Nielsen

@simevidas I mean we got :has(), container queries and nesting which were "impossible" in the past… so there's gotta be a way.

A compromise would be to offer `env(viewport-scrollbar-gutter-size)` or something so we could at least do some calculation to get the value we want without resorting to a JS solution, but that's not optimal either.

Go Up