Is CSS-in-JS still a thing?

styled-components goes into maintenance mode. Newer tools like StyleX and vanilla-extract haven't matched its popularity.

Dark mode for SVG

Using the light-dark() CSS function to implement light and dark mode for non-inline SVG icons, including SVG used with the HTML img element or as a CSS background-image.

text-align-last

Aligning the last line of text

A better non-modal dialog with the Popover API

Combining the popover attribute with the dialog element

Popover vs Dialog

Modality, light-dismiss, the popover attribute and the dialog element

Styling the HTML details and summary elements

Getting past the limitations of ::marker

The HTML command and commandfor attributes

Opening and closing popovers and dialogs without JavaScript using invoker commands, and custom commands with the JavaScript command event

The false promise of design tokens

Design tokens in theory and practice

Gradient borders in CSS

Using background-clip: border-area

How to gif (2025 edition)

Animated AVIF, AV1 video, JPEG-XL...