Since the introduction of CSS viewport units in 2012, many of us have been using width: 100vw
as a way to set an element’s width to the full width of the viewport. But, as Šime Vidas explains in this deep dive, 100vw
does not always represent the full width of the viewport due to differences in how browsers handle scrollbars.
https://smashingmagazine.com/2023/12/new-css-viewport-units-not-solve-classic-scrollbar-problem/
Login to add comment
Other posts in this group

As online scams become more sophisticated, Carrie Webster explores whether good UX can serve as a frontline defense, particularly for non-tech-savvy older users navigating today’s digital world. https

On her quest to teach you how to code vectors by hand, Myriam Frisano’s second installment of a path
deep dive explores the most complex aspects of SVG’s most powerful element. She’ll help you under

CSS can be unpredictable — and specificity is often the culprit. Victor Ayomipo breaks down how and why your styles might not behave as expected, and why understanding specificity is better than relyi

Meet “Accessible UX Research,” our upcoming book to make your UX research inclusive. Learn how to recruit, plan, and design with disabled participants in mind. Print shipping in August 2025. e

Accessible Rich Internet Applications (ARIA) is an inevitability when working on web accessibility. That said, it’s everyone’s first time learning

In this tutorial, Blake Lundquist walks us through two methods of creating the “moving-highlight” navigation pattern using only plain JavaScript and CSS. The first technique uses the `getBoundingClien

SVG is easy — until you meet path
. However, it’s not as confusing as it initially looks. In this first installment of a pair of articles, Myriam Frisano aims to teach you the basics of <path>
and