meta_pixel
Tapesearch Logo
Log in
Syntax - Tasty Web Development Treats

CSS Container Queries, Layers, Scoping and More with Miriam Suzanne

Syntax - Tasty Web Development Treats

Wes Bos

Tech News, Technology, News

4.9 • 1.2K Ratings

🗓️ 16 June 2021

⏱️ 60 minutes

🧾️ Download transcript

Summary

In this episode of Syntax, Scott and Wes talk with Miriam Suzanne about all things CSS — container queries, layers, scoping, and more! Prismic - Sponsor Prismic 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 - Sponsor If 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. RevenueCat - Sponsor RevenueCat makes it easy to build and manage iOS and Android in-app purchases. With a few lines of code, RevenueCat provides IAP infrastructure, customer analytics, data integrations, and gives you time back from dealing with edge cases and updates across the platforms. Created by developers, for developers, thousands of the world’s best apps use RevenueCat to power their in-app purchases and subscriptions. Get started for free at revenuecat.com. Guests Miriam Suzanne Show Notes 02:21 - When did you come on board with container queries? 10:27 - How would you declare specificity? Layer example: @layer default; @layer theme; @layer components; @import url(theme.css) layer(theme); @layer default { audio[controls] { display: block; } } 13:08 - What is your background? 18:20 - What are container queries? 22:06 - What is the background on contain? How does it work? https://developer.mozilla.org/en-US/docs/Web/CSS/contain 29:25 - Is it still under development? https://www.igalia.com/open-prioritization/index 33:51 - Have you tried the EQ polyfill from Johnathan Neal yet? 35:21 - How far out are we? 38:10 - What is Scope? 44:00 - How will MQ and CQ work together? 45:49 - Do you use inline and block? 48:44 - What browser do you use? Links OddBird Susy Jonathan Neal FireFox Codepen https://github.com/w3c/csswg-drafts https://twitter.com/TerribleMia ××× SIIIIICK ××× PIIIICKS ××× Scott: Reelgood Wes: Embroidery machine Shameless Plugs Miriam: OddBird Scott: 1: SvelteKit 2: Level Up Tutorials Pro Spring Sale - 50% off annual subscriptions! Wes: All Courses - Use the coupon code ‘Syntax’ for $10 off! Tweet us your tasty treats! Scott’s Instagram LevelUpTutorials Instagram Wes’ Instagram Wes’ Twitter Wes’ Facebook Scott’s Twitter Make sure to include @SyntaxFM in your tweets

Transcript

Click on a timestamp to play from that location

0:00.0

You're listening to syntax the podcast with the tastiest web development treats out there strap yourself in and get ready

0:07.7

Here is Scott Tillinsky and West boss. Welcome to syntax. This is the podcast with the tastiest web development treats today

0:15.9

We have Miriam Suzanne on today. We're gonna talk about all kinds of things CSS

0:21.2

But most importantly, I think we're gonna talk about container queries as well today

0:26.2

We are sponsored by three awesome companies. First one is prismic. They are a hosted headless CMS make it easy to

0:34.8

Create all your content types and spit out API the other end

0:38.4

Sentry does air exception and performance tracking and

0:42.1

Revenue cat is a subscription platform for mobile apps. Talk about all them partway through the episode

0:48.2

Hello, Miriam. Hey, how are you? I'm pretty good. Thanks for coming on. I really appreciate it. Yeah. Thanks for having me

0:54.1

You want to kick it off their Scott? Yeah, so we've had it

0:58.3

We talked about container queries a handful of times on this podcast and

1:02.7

West and I are both just over the moon excited waiting for them and trying them out and all those things so

1:09.3

I thought it would be a perfect idea to have an expert on the show to talk all about container queries. Oh,

1:16.4

When are you gonna do that?

1:19.3

Ha

1:21.3

Right this second. So I hope you're prepared. We're gonna absolutely grow yet. No, I'm very excited because we took a look at your

1:28.2

Proposal we've we've tried it out. I've even played with the polyfill the Jonathan Neil put together and I think it's

1:34.8

Just absolutely

1:36.8

Ready to start diving into some of the details. I so first and foremost, West and I

1:42.1

Extremely stoked and I don't think we can express to our audience just how groundbreaking and changing this will be for your

1:47.8

applications overall

1:49.4

We talked about this maybe a year or two ago about being one of the most requested features in CSS and

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Wes Bos, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Wes Bos and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright Š Tapesearch 2026.