Post
If you pair this with some pseudo classes like :has() or :in() or :not() you can do some pretty interesting stuff. Things like active navigation styles for example. Pretty cool. Read more about it here 👉 dommagnifi.co/lab/containe...
dommagnifi.co@container style(): components that read parent tokensCSS container style queries let child components react to custom properties on their parent, so theme, tone, and density can come from context instead of extra modifier classes.
0 reposts0 likes
No replies yet.