@ppk Uh, favourites… there are so many.
position: sticky;
:has() and other pseudos
animations (even scroll-based)
color functions, especially relative colors
all kinds of math functions
view transitions
CSS Grid, obviously
@ppk Oh, I recalled that I replaced some https://github.com/filamentgroup/AppendAround with media queries and Grid Areas last year. That's probably more a "me" change than an actual "CSS replaces JS" change.
And I was prematurely thinking of masonry/grid-lanes.
@ppk coming up: field-sizing https://caniuse.com/?search=field-sizing
"The field-sizing CSS property allows form controls such as <textarea> to be sized based on their content."
Right now auto-growing an input box with the content inside it requires some artful CSS layering and a sprinkle of JS
https://css-tricks.com/the-cleanest-trick-for-autogrowing-textareas/
@ppk Here’s one I often take for granted now: Maintaining size and/or alignment across multiple columns for different content lengths!
Look at the hoops past me was jumping through: https://cloudfour.com/thinks/leveller/

This happens to me over and over: I have a multi-column grid of tiles, each with varying heights. This means the bottom of certain rows can appear jagged and difficult to scan visually: See the Pen Leveller: Before by Tyler Sticka (@tylersticka)…