
CSS style queries: one variable, every style
Container style queries let a component restyle itself from the value of a custom property, and since May 2026 they work in every major browser.
Tag archive

Container style queries let a component restyle itself from the value of a custom property, and since May 2026 they work in every major browser.
Tre modi per ottenere trasparenze da un colore variabile: color-mix(), colori relativi e la nuova...
Duplicate and redundant custom properties quietly break your CRM data quality. Learn a practical framework for deciding when to create a new property versus reusing an existing one.
Lee Meyer's walkthrough on CSS-Tricks builds a polyfill for the emergent CSS random() function so authors can start using it — and get fluent in its caching keywords — before every engine ships.
Passa a CSS valori “vivi” come pointer, visibilità, viewport e velocità di scroll con una...
Passa i dati grezzi al DOM, calcola in CSS con custom properties, calc(), min() e percentuali: il...
Le style queries sono finalmente cross‑browser: usale per far decidere al contesto come deve...
Learn when to create new HubSpot custom properties versus reusing existing ones. Avoid data fragmentation and maintain clean property architecture with these proven strategies
Originally published on my blog:...

Introduction: CSS Custom Properties, also known as CSS Variables, have revolutionized the way we...

Custom properties have been a pretty big deal for us who use CSS regularly. Many of us are probably...

Let's start by imagining that you already have your design system with the design tokens already...