Logo
    Search

    layouts

    Explore "layouts" with insightful episodes like "CSS Container Queries, Layers, Scoping and More with Miriam Suzanne" and "Hasty Treat - CSS Grid Level 2 aka Subgrid" from podcasts like ""Syntax - Tasty Web Development Treats" and "Syntax - Tasty Web Development Treats"" and more!

    Episodes (2)

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

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

    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

    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?

    29:25 - Is it still under development?

    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

    ××× SIIIIICK ××× PIIIICKS ×××

    Shameless Plugs

    Tweet us your tasty treats!

    Hasty Treat - CSS Grid Level 2 aka Subgrid

    Hasty Treat - CSS Grid Level 2 aka Subgrid

    In this Hasty Treat, Scott and Wes talk about CSS Grid Level 2 - aka subgrid.

    Sentry - Sponsor

    If you want to know what’s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry.io and using the coupon code “tastytreat”.

    Show Notes

    3:27 - CSS Grid Level 2 and subgrid

    • CSS subgrid will allow you to place grid-items’ children along the same lines at the parent grid

    5:40 - How it works - Why do we need it? What problem do we have right now?

    1. Create your grid as normal - you can create columns, rows, named lines, etc.
    2. Your grid-item will also be display grid - this is nothing new - just regular nesting of grid
    3. The magic comes in when you want to define the rows and or columns of the sub-item. You can inherit the parent item’s grid-rows / columns by simply saying display: subgrid

    11:19 - Browser support

    • It’s about a year out

    Links

    Tweet us your tasty treats!