๐ŸŸฃ Prop for that
by @argyleink
what JS knows, now CSS knows
#javascript #css #customproperties #webdev

https://prop-for-that.netlify.app/

#Development #Techniques
The radio state machine ยท Turning radio inputs into pure CSS state engines https://ilo.im/16c62c

_____
#States #StateEngines #CustomProperties #Forms #Buttons #Accessibility #WebDev #Frontend #HTML #CSS

The Radio State Machine | CSS-Tricks

One of the best-known examples of CSS state management is the checkbox hack. What if we want a component to be in one of three, four, or seven modes? That is where the Radio State Machine comes in.

CSS-Tricks

โ€œ!importantโ€ and CSS Custom Properties, by @chriscoyier (@frontendmasters.com):

https://frontendmasters.com/blog/important-and-css-custom-properties/

#css #customproperties #cascade

!important and CSS Custom Properties โ€“ Frontend Masters Blog

The `!important` part doesn't become part of the value, the whole declaration is treated as !important;

From the archives:

Custom Properties: Questioning โ€œ:rootโ€:

https://meiert.com/blog/questioning-root/

#css #customproperties #selectors

Custom Properties: Questioning โ€œ:rootโ€ ยท Jens Oliver Meiert

For custom properties (aka CSS variables) we got into the habit of declaring variables in a rule with a <code>:root</code> selector. Yet unless youโ€™re working in an environment in which style sheets serve several document types (and roots), question this use of <code>:root</code>.

#Development #Pitfalls
CSS custom properties with !important ยท When you spot the declaration gets !important https://ilo.im/169jcs

_____
#CssDeclarations #Specificity #CustomProperties #WebDev #Frontend #CSS

!important and CSS Custom Properties โ€“ Frontend Masters Blog

The `!important` part doesn't become part of the value, the whole declaration is treated as !important;

Happy 2026

...

#Development #Explorations
Thoughts on native CSS mixins ยท What they might mean for front-end developers https://ilo.im/1693wl

_____
#CssMixins #CssFunctions #CustomProperties #Sass #W3C #WebStandards #Browser #WebDev #Frontend #CSS

Thoughts on Native CSS Mixins โ€“ Frontend Masters Blog

There are no browser implementations of mixins yet, nor a fleshed out spec. So perhaps now is the best time to try to understand and opine.