Loading video...

Video Failed to Load

Go Home

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

114,745 views • 3 years ago •via X (Twitter)

9 Comments

Wes Bos's profile picture
Wes Bos3 years ago

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!

🦋 @eliostruyf.com's profile picture
🦋 @eliostruyf.com3 years ago

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

Daniel 🏴󠁧󠁢󠁷󠁬󠁳󠁿's profile picture
Daniel 🏴󠁧󠁢󠁷󠁬󠁳󠁿3 years ago

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

Wes Bos's profile picture
Wes Bos3 years ago

Thanks! Longest short I've ever done haha

Ruud .Yireo.Academy's profile picture
Ruud .Yireo.Academy3 years ago

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

Fabian B.'s profile picture
Fabian B.3 years ago

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

Joel Stransky's profile picture
Joel Stransky3 years ago

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

Harry Ashton's profile picture
Harry Ashton3 years ago

Oh my 👀

Daniel F. Herz, PE's profile picture
Daniel F. Herz, PE3 years ago

Nice!

Related Videos