<andres-carmona />

Using 100vw is now scrollbar-aware (in Chrome 145+, under the right conditions)
First published on
on css, html

From Chrome 145 onwards, 100vw will automatically subtract the size of the (vertical) scrollbar from it if you have forced the html element to always show a vertical scrollbar (using overflow[-y]: scroll) or if you reserve space for it (using scrollbar-gutter: stable).

Via https://www.bram.us/2026/01/15/100vw-horizontal-overflow-no-more/