Articles in “HTML & CSS”
-
Is it :modal?
This handy CSS pseudo-selector gives you a way to select elements that are modal. Read Full Article
-
How I Made a Pure CSS Puzzle Game
I recently discovered the joy of creating CSS-only games. It’s always fascinating how HTML and CSS are capable of handling the logic of an entire online game,… Read Full Article
-
Should I Use a Button or a Link?
Despite being answered time and time again, the button vs. link question prevails. Read Full Article
-
Critical CSS? Not So Fast!
I have long held very strong opinions about the Critical CSS pattern. In theory, in a perfect world, with all things being equal, it’s demonstrably a Good Idea™. However, in practice, in the real world, it often falls short as a fragile and expensive tech… Read Full Article
-
Dreamy blur
One day I saw a few pictures shared by my friend Fish. I was attracted by their slight blur and the subtle glowing effects, and wondered what kind of filter function was used. But then she told me it’s just because the camera lens wasn’t wiped clean. Read Full Article
-
So your designer wants stuff to overlap
I started my first full-time web developer job back in September of 2013 (not counting the period where I built random sites for random people). Read Full Article
-
CSS container queries are finally here
CSS container queries are finally here at a browser near you. Read Full Article
-
A Handy Use For Cascade Layers
I was just preparing a demo for an upcoming talk and it suddenly occurred to me that cascade layers would be a perfect solution to a problem I was having. Read Full Article
-
Creative list styling
A look at some useful and creative ways to style a list. Read Full Article
-
Use the Right Container Query Syntax
Since we got a first look at a Container Queries prototype back in April 2021, the syntax has changed a few times. Read Full Article