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/
Autentifică-te pentru a adăuga comentarii
Alte posturi din acest grup
Design leaders are expected to deliver the impossible. Instead of trying, we need to redefine our role from implementor to enabler. https://smashingmagazine.com/2024/12/the-design-leader-dilemma/
There are many ways to elevate a design project from good to incredible. For web and product designers, it’s not just about adding more animations and flair. What it truly comes down to is a reframing
10 years after scroll-driven animations were first proposed, they’re finally here — no JavaScript, no dependencies, no libraries, just pure CSS. https://smashingmagazine.com/2024/12/introduction
SVG arcs demystified! Akshay Gupta explains how to master radii, rotation, and arc direction to create stunning curves. Make arcs a powerful part of your SVG toolkit for creating more dynamic, intrica
Few things are as frustrating to a user as when a site won’t respond. Unfortunately, it’s also an all-too-common scenario. Many websites and apps depend on so many elements that one of any number of e
It’s the end of the year, and as we look at our inventory, we thought, “Let’s help everyone in our community get ready for the year ahead!” Get friendly pricing on bundles of books and workshops to di
Forms are already notoriously tough to customize and style — to the extent that we’re already starting to see new ideas for more flexible control. But what we don’t often discuss is designing go