AKA
Sam Smith
Contextual
styling
with
:has
(
article
)
REM
based
media
queries
are
weird
(
article
)
Meaningful
page
transitions
(
article
)
0.04g of CO
2
Cleaner than
96%
of pages tested
My
portfolio
(
work
)
Articles
Website carbon
As you've probably noticed, I'm displaying carbon emissions on this site. If you want to know why, or what that the numbers mean, read on.
Contextual styling with :has
Upping our contextual CSS game with the :has() pseudo-class. Let's tackle a couple of real world design challenges.
REM based media queries are weird
Relative units (such as rems) in media queries might not behave as you expect. Let’s look at how, when and why they are weird.
Archive
RSS
Photos