跳过导航
Move over Sass! CSS Selector Nesting dropped in Chrome Stable today.
0:00 / 2:12

Move over Sass! CSS Selector Nesting dropped in Chrome Stable today.

Wes Bos

@wesbos45万 位关注者

在 X 上查看
726 个赞下载原帖

114,773 次观看

Move over Sass! CSS Selector Nesting dropped in Chrome Stable today.

9 条评论

评论来自 X (Twitter) 上的原帖

  • Wes Bos 的头像

    @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.com 的头像

    @eliostruyf

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

    2 个赞

  • Daniel 🏴󠁧󠁢󠁷󠁬󠁳󠁿 的头像

    @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 个赞

  • Wes Bos 的头像

    @wesbos

    Thanks! Longest short I've ever done haha

    1 个赞

  • Ruud .Yireo.Academy 的头像

    @allrude

    @Una Yes because CSS nesting is the only thing that makes SCSS useful

    1 个赞

  • Fabian B. 的头像

    @madebyfabian

    Finally 🎉 remember this discussion going on for years on how CSS should implement this natively.

    1 个赞

  • Joel Stransky 的头像

    @JoelStransky

    Super exciting. But dart-sass still offers a lot of benefits.

    1 个赞

  • Harry Ashton 的头像

    @TheHashton

    Oh my 👀

  • Daniel F. Herz, PE 的头像

    @danherz636

    Nice!