
Sign up to save your podcasts
Or


In this Hasty Treat, Scott and Wes talk about CSS nesting — what it is, when to use it, and why.
Prismic - SponsorPrismic is a Headless CMS that makes it easy to build website pages as a set of components. Break pages into sections of components using React, Vue, or whatever you like. Make corresponding Slices in Prismic. Start building pages dynamically in minutes. Get started at prismic.io/syntax.
Sentry - SponsorIf you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.
Show Notes04:22 - What is it?
06:02 - Why nest?
08:13 - When to use nesting
10:06 - Nesting prefixes
and must be the first child of a compound selector
12:44 - @nest rule / media queries
16:30 - How to use nesting today
By Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers4.9
977977 ratings
In this Hasty Treat, Scott and Wes talk about CSS nesting — what it is, when to use it, and why.
Prismic - SponsorPrismic is a Headless CMS that makes it easy to build website pages as a set of components. Break pages into sections of components using React, Vue, or whatever you like. Make corresponding Slices in Prismic. Start building pages dynamically in minutes. Get started at prismic.io/syntax.
Sentry - SponsorIf you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.
Show Notes04:22 - What is it?
06:02 - Why nest?
08:13 - When to use nesting
10:06 - Nesting prefixes
and must be the first child of a compound selector
12:44 - @nest rule / media queries
16:30 - How to use nesting today

271 Listeners

383 Listeners

289 Listeners

622 Listeners

585 Listeners

289 Listeners

43 Listeners

215 Listeners

487 Listeners

190 Listeners

207 Listeners

63 Listeners

142 Listeners

60 Listeners

62 Listeners