Lea Verou on Nostr: Another cool CSS Nesting trick: &:is(&) allows you to double the specificity of any ...
Another cool CSS Nesting trick:
&:is(&) allows you to double the specificity of any rule while still having a single source of truth for the selector logic.
(First in series: https://front-end.social/@leaverou/111920203377359401 )
&:is(&) allows you to double the specificity of any rule while still having a single source of truth for the selector logic.
(First in series: https://front-end.social/@leaverou/111920203377359401 )
![](https://cdn.masto.host/frontendsocial/media_attachments/files/112/950/887/065/849/779/original/5d27953f565ff922.png)