Episode Description
Get updates on CSS Demystified here.
Bramus' post: Using 100vw is now scrollbar-aware (in Chrome 145+, under the right conditions)
Sorry for the click-baity title, but it is true! 😅
Chrome has just changed how 100vw works, though it’s very unlikely to affect any of your old projects, if you “opt-in” to it, so to speak, it will now take into account the scrollbar.
I’m of two minds of this… it’s nice that it’ll work as intended, but hopefully it doesn’t lead to people overusing 100vw either. Overall, I do think it’s a good change though, since it actually makes 100vw useable now.