SMRTR ProgrammingAug 26, 2026Daily.dev

Controlling when CSS custom properties are computed

SMRTR summary

Registered CSS custom properties (via `@property`) compute earlier than unregistered ones, which store raw token streams and evaluate lazily. This subtle difference impacts functions like `sibling-index()`, relative units, container query units, and URL resolution.

SMRTR provides this summary for quick context. The original article belongs to Daily.dev.

Read the original article
SMRTR Programming

Get the next batch of curated stories in your inbox.

This archive is built from SMRTR newsletter stories. Subscribe for hand-picked stories without the extra noise.

Related Stories

Browse Programming