A surprisingly common response when asking people about things they’d fix about anything<\/em> in CSS, is to improve the handling of viewport units. <\/p>\n\n\n\n
One thing that comes up often is how they relate to scrollbars. For example, if an element is sized to 100vw<\/code> and stretches edge-to-edge, that’s fine so long as the page doesn’t have a vertical scrollbar. If it does have a vertical scrollbar, then
100vw<\/code> is too wide, and the presence of that vertical scrollbar triggers a horizontal<\/em> scrollbar because viewport units don’t have an elegant\/optional way of handling that. So you might be hiding overflow on the body when you otherwise wouldn’t need to, for example. (Demo<\/a>)<\/p>\n\n\n\n