Victor Ayomipo saw our post about using container units for everything. He was more optimistic than I that our result was good. My thinking is that there are plenty of things you straight up don’t want to use container units for. Victor did a similar exercise with (over?)-using min() and viewport units. Turns out there are lots of niceties, and I agree that min() is underused, but that you still can’t dogmatically say one particular sizing approach is always best. Personally, I’m rocking min() for container “width”, like .wrapper { inline-size: min(300px, 100dvw); on the regular now.
Featured
Beyond the Mouse: Animating with Mobile Accelerometers
Mousing over an element and watching it tilt in 3D space is a beautiful and compelling effect. Let’s bring it to mobile and use the phone itself rather than a cursor.