Move over Sass! CSS Selector Nesting dropped in Chrome Stable today.
114,773 次观看
9 条评论
评论来自 X (Twitter) 上的原帖

@wesbos
I know, but nesting is what most people use Sass for. That said, soon: Conditions = Style Queries Variables = Custom Properties Mixins = Add a class Functions = Houdini worklets. I wish there was a css-only function though, would be so nice to make a darken() function!
14 个赞

@eliostruyf
It is just amazing, I already loved that we didn't need SASS anymore, but that it is now supported 🤯
2 个赞

@Courageous_Egg
Great video! Short and concise. I had no idea this was already in stable browsers, I will need to give this a try.
1 个赞

@wesbos
Thanks! Longest short I've ever done haha
1 个赞

@allrude
@Una Yes because CSS nesting is the only thing that makes SCSS useful
1 个赞

@madebyfabian
Finally 🎉 remember this discussion going on for years on how CSS should implement this natively.
1 个赞

@JoelStransky
Super exciting. But dart-sass still offers a lot of benefits.
1 个赞

@TheHashton
Oh my 👀

@danherz636
Nice!