The CSS feature `@container style()` is pretty neat!
Are you familiar with `@mixin` in Sass? It's a little bit like that.
1) Declare a chunk of CSS you want to re-use
2) Set a --custom-property to trigger it
The CSS feature `@container style()` is pretty neat! Are you familiar with `@mixin` in Sass? It's a little bit like that. 1) Declare a chunk of CSS you want to re-use 3 comments
@chriscoyier thats interesting! Started with Sass (with WPCodebox an amazing wordpress code snippet plugin) and love it. Think I will stay at it, but lets see if @container style() is worth switching. Any benefits compared to Sass? |
@chriscoyier gah honestly the way CSS is being written keeps turning upside down lately, I can't keep up!