<description>&lt;p dir="ltr"&gt;In this episode, Una and Adam discuss a future web capability that builds on container queries: state queries. From CSS, this feature will be able to detect  if a container is overflowing, when an element is scroll snapped, and when an element is stuck from position: sticky.&lt;/p&gt; &lt;p dir="ltr"&gt;Resources:&lt;br /&gt; :stuck, :snapped, :on-screen, etc → &lt;a href= "https://goo.gle/3WVhSi6"&gt;https://goo.gle/3WVhSi6&lt;/a&gt;  &lt;/p&gt; &lt;p dir="ltr"&gt;state queries syntax → &lt;a href= "https://goo.gle/3T2gI33"&gt;https://goo.gle/3T2gI33&lt;/a&gt; &lt;/p&gt; &lt;p dir="ltr"&gt;explainer → &lt;a href= "https://goo.gle/3XevW7x"&gt;https://goo.gle/3XevW7x&lt;/a&gt; &lt;/p&gt; &lt;p dir="ltr"&gt;Intent To Prototype → &lt;a href= "https://goo.gle/3Au8rOY"&gt;https://goo.gle/3Au8rOY&lt;/a&gt; &lt;/p&gt; &lt;p dir="ltr"&gt;Scroll Snap Events → &lt;a href= "https://goo.gle/47koXO1"&gt;https://goo.gle/47koXO1&lt;/a&gt;  &lt;/p&gt; &lt;p&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/p&gt; &lt;p dir="ltr"&gt;Una Kravets (co-host)&lt;br /&gt; &lt;a href="https://twitter.com/Una"&gt;Twitter&lt;/a&gt; → &lt;a href= "https://goo.gle/452aBRb"&gt;https://goo.gle/452aBRb&lt;/a&gt;&lt;br /&gt; &lt;a href= "https://www.youtube.com/channel/UCJnidRIv3o1hf_YBWjKFljg"&gt;YouTube&lt;/a&gt; → &lt;a href= "https://goo.gle/457oMnS"&gt;https://goo.gle/457oMnS&lt;/a&gt; &lt;/p&gt; &lt;p dir="ltr"&gt;Making the web more colorful ✨🎨  Web DevRel &lt;a href="https://twitter.com/googlechrome"&gt;@googlechrome&lt;/a&gt; Unicorn face Host of Tools Today → &lt;a href= "https://goo.gle/4aI6JpC"&gt;https://goo.gle/4aI6JpC&lt;/a&gt; &amp; &lt;a href="https://www.youtube.com/redirect?q=https%3A%2F%2Fgoo.gle%2F2NeLxjI&amp;redir_token=AscWoOrD6kypj4tT8So-xP1HNPN8MTU4MjgzODAwM0AxNTgyNzUxNjAz&amp;event=video_description&amp;v=Irp6R69pZGA"&gt; &lt;br /&gt; Designing in the Browser&lt;/a&gt; 🎬  → &lt;a href= "https://goo.gle/4e4YTcM"&gt;https://goo.gle/4e4YTcM&lt;/a&gt; &lt;/p&gt; &lt;p dir="ltr"&gt;Adam Argyle (co-host)&lt;br /&gt; &lt;a href="https://twitter.com/argyleink"&gt;Twitter&lt;/a&gt; → &lt;a href= "https://goo.gle/3yFnHYu"&gt;https://goo.gle/3yFnHYu&lt;/a&gt;&lt;br /&gt; &lt;a href="https://www.instagram.com/argyleink/"&gt;Instagram&lt;/a&gt; → &lt;a href="https://goo.gle/3wUb6QJ"&gt;https://goo.gle/3wUb6QJ&lt;/a&gt;&lt;br /&gt; &lt;a href="https://a.nerdy.dev/youtube"&gt;YouTube&lt;/a&gt; → &lt;a href= "https://goo.gle/4dZNKK7"&gt;https://goo.gle/4dZNKK7&lt;/a&gt; &lt;/p&gt; &lt;p dir="ltr"&gt;&lt;a href= "https://twitter.com/GoogleChrome"&gt;@GoogleChrome&lt;/a&gt; CSS DevRel; &lt;a href="https://twitter.com/CSSWG"&gt;@CSSWG&lt;/a&gt;; &lt;a href= "https://a.nerdy.dev/gimme-visbug"&gt;VisBug&lt;/a&gt; maker; punk; CSS/JS/UX addict; 💀🤘&lt;br /&gt; CSSWG → &lt;a href= "https://goo.gle/4bFErxq"&gt;https://goo.gle/4bFErxq&lt;/a&gt;&lt;br /&gt; VisBug → &lt;a href= "https://goo.gle/4bDcVQZ"&gt;https://goo.gle/4bDcVQZ&lt;/a&gt;    &lt;/p&gt; &lt;p&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/p&gt; &lt;p dir="ltr"&gt;The CSS Podcast&lt;/p&gt; &lt;p dir="ltr"&gt;#CSSpodcast&lt;/p&gt; &lt;p&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/p&gt; &lt;p dir="ltr"&gt;Watch more &lt;span data-rich-links= "{"dde_di":"kix.kv4yk58thqp3","dde-fdv":"The CSS Podcast","dde-sii":"dropdownItem.v3hpoutznh35","ddefe-ddi":{"cv":{"op":"set","opValue":[{"di-id":"dropdownItem.qly9quk1i2d","di-v":"Please Select","di-dv":"Please Select","di-ts":{"ts_bd":false,"ts_fs":11,"ts_ff":"Arial","ts_it":false,"ts_sc":false,"ts_st":false,"ts_tw":400,"ts_un":false,"ts_va":"nor","ts_bgc2":{"clr_type":0,"hclr_color":"#ffcfc9"},"ts_fgc2":{"clr_type":0,"hclr_color":"#b10202"},"ts_bd_i":false,"ts_fs_i":false,"ts_ff_i":false,"ts_it_i":false,"ts_sc_i":false,"ts_st_i":false,"ts_un_i":false,"ts_va_i":false,"ts_bgc2_i":false,"ts_fgc2_i":false}},{"di-id":"dropdownItem.vlpr339db3ed","di-v":"New in Chrome","di-dv":"New in Chrome","di-ts":{"ts_bd":false,"ts_fs":11,"ts_ff":"Arial","ts_it":false,"ts_sc":false,"ts_st":false,"ts_tw":400,"ts_un":false,"ts_va":"nor","ts_bgc2":{"clr_type":0,"hclr_color":null},"ts_fgc2":{"clr_type":0,"hclr_color":null},"ts_bd_i":false,"ts_fs_i":false,"ts_ff_i":false,"ts_it_i":false,"ts_sc_i":false,"ts_st_i":false,"ts_un_i":false,"ts_va_i":false,"ts_bgc2_i":false,"ts_fgc2_i":false}},{"di-id":"dropdownItem.3z7ohn67mwpu","di-v":"Chrome Dev Labs","di-dv":"Chrome Dev Labs","di-ts":{"ts_bd":false,"ts_fs":11,"ts_ff":"Arial","ts_it":false,"ts_sc":false,"ts_st":false,"ts_tw":400,"ts_un":false,"ts_va":"nor","ts_bgc2":{"clr_type":0,"hclr_color":null},"ts_fgc2":{"clr_type":0,"hclr_color":null},"ts_bd_i":false,"ts_fs_i":false,"ts_ff_i":false,"ts_it_i":false,"ts_sc_i":false,"ts_st_i":false,"ts_un_i":false,"ts_va_i":false,"ts_bgc2_i":false,"ts_fgc2_i":false}},{"di-id":"dropdownItem.g6ptmrtvim72","di-v":"Chrome Passkeys","di-dv":"Chrome Passkeys","di-ts":{"ts_bd":false,"ts_fs":11,"ts_ff":"Arial","ts_it":false,"ts_sc":false,"ts_st":false,"ts_tw":400,"ts_un":false,"ts_va":"nor","ts_bgc2":{"clr_type":0,"hclr_color":null},"ts_fgc2":{"clr_type":0,"hclr_color":null},"ts_bd_i":false,"ts_fs_i":false,"ts_ff_i":false,"ts_it_i":false,"ts_sc_i":false,"ts_st_i":false,"ts_un_i":false,"ts_va_i":false,"ts_bgc2_i":false,"ts_fgc2_i":false}},{"di-id":"dropdownItem.gwsgrhe4jvkq","di-v":"Chrome Shorts","di-dv":"Chrome Shorts","di-ts":{"ts_bd":false,"ts_fs":11,"ts_ff":"Arial","ts_it":false,"ts_sc":false,"ts_st":false,"ts_tw":400,"ts_un":false,"ts_va":"nor","ts_bgc2":{"clr_type":0,"hclr_color":null},"ts_fgc2":{"clr_type":0,"hclr_color":null},"ts_bd_i":false,"ts_fs_i":false,"ts_ff_i":false,"ts_it_i":false,"ts_sc_i":false,"ts_st_i":false,"ts_un_i":false,"ts_va_i":false,"ts_bgc2_i":false,"ts_fgc2_i":false}},{"di-id":"dropdownItem.7in3u5yugut5","di-v":"ChromeOS Customer Stories","di-dv":"ChromeOS Customer Stories","di-ts":{"ts_bd":false,"ts_fs":11,"ts_ff":"Arial","ts_it":false,"ts_sc":false,"ts_st":false,"ts_tw":400,"ts_un":false,"ts_va":"nor","ts_bgc2":{"clr_type":0,"hclr_color":"#e8eaed"},"ts_fgc2":{"clr_type":0,"hclr_color":"#000000"},"ts_bd_i":false,"ts_fs_i":false,"ts_ff_i":false,"ts_it_i":false,"ts_sc_i":false,"ts_st_i":false,"ts_un_i":false,"ts_va_i":false,"ts_bgc2_i":false,"ts_fgc2_i":false}},{"di-id":"dropdownItem.4zzj72c17vmg","di-v":"Designing in the Browser","di-dv":"Designing in the Browser","di-ts":{"ts_bd":false,"ts_fs":11,"ts_ff":"Arial","ts_it":false,"ts_sc":false,"ts_st":false,"ts_tw":400,"ts_un":false,"ts_va":"nor","ts_bgc2":{"clr_type":0,"hclr_color":"#e8eaed"},"ts_fgc2":{"clr_type":0,"hclr_color":"#000000"},"ts_bd_i":false,"ts_fs_i":false,"ts_ff_i":false,"ts_it_i":false,"ts_sc_i":false,"ts_st_i":false,"ts_un_i":false,"ts_va_i":false,"ts_bgc2_i":false,"ts_fgc2_i":false}},{"di-id":"dropdownItem.h2qf4ep8sszt","di-v":"DevTools Tips","di-dv":"DevTools Tips","di-ts":{"ts_bd":false,"ts_fs":11,"ts_ff":"Arial","ts_it":false,"ts_sc":false,"ts_st":false,"ts_tw":400,"ts_un":false,"ts_va":"nor","ts_bgc2":{"clr_type":0,"hclr_color":"#e8eaed"},"ts_fgc2":{"clr_type":0,"hclr_color":"#000000"},"ts_bd_i":false,"ts_fs_i":false,"ts_ff_i":false,"ts_it_i":false,"ts_sc_i":false,"ts_st_i":false,"ts_un_i":false,"ts_va_i":false,"ts_bgc2_i":false,"ts_fgc2_i":false}},{"di-id":"dropdownItem.opik57z5gbsb","di-v":"GUI Challenges","di-dv":"GUI Challenges","di-ts":{"ts_bd":false,"ts_fs":11,"ts_ff":"Arial","ts_it":false,"ts_sc":false,"ts_st":false,"ts_tw":400,"ts_un":false,"ts_va":"nor","ts_bgc2":{"clr_type":0,"hclr_color":"#e8eaed"},"ts_fgc2":{"clr_type":0,"hclr_color":"#000000"},"ts_bd_i":false,"ts_fs_i":false,"ts_ff_i":false,"ts_it_i":false,"ts_sc_i":false,"ts_st_i":false,"ts_un_i":false,"ts_va_i":false,"ts_bgc2_i":false,"ts_fgc2_i":false}},{"di-id":"dropdownItem.rhpehaso3q1w","di-v":"What's New in DevTools","di-dv":"What's New in DevTools","di-ts":{"ts_bd":false,"ts_fs":11,"ts_ff":"Arial","ts_it":false,"ts_sc":false,"ts_st":false,"ts_tw":400,"ts_un":false,"ts_va":"nor","ts_bgc2":{"clr_type":0,"hclr_color":"#e8eaed"},"ts_fgc2":{"clr_type":0,"hclr_color":"#000000"},"ts_bd_i":false,"ts_fs_i":false,"ts_ff_i":false,"ts_it_i":false,"ts_sc_i":false,"ts_st_i":false,"ts_un_i":false,"ts_va_i":false,"ts_bgc2_i":false,"ts_fgc2_i":false}},{"di-id":"dropdownItem.56mgq24g6avu","di-v":"What is Privacy Sandbox?","di-dv":"What is Privacy Sandbox?","di-ts":{"ts_bd":false,"ts_fs":11,"ts_ff":"Arial","ts_it":false,"ts_sc":false,"ts_st":false,"ts_tw":400,"ts_un":false,"ts_va":"nor","ts_bgc2":{"clr_type":0,"hclr_color":"#e8eaed"},"ts_fgc2":{"clr_type":0,"hclr_color":"#000000"},"ts_bd_i":false,"ts_fs_i":false,"ts_ff_i":false,"ts_it_i":false,"ts_sc_i":false,"ts_st_i":false,"ts_un_i":false,"ts_va_i":false,"ts_bgc2_i":false,"ts_fgc2_i":false}},{"di-id":"dropdownItem.ecczfpc9pnpq","di-v":"GUI Snippets","di-dv":"GUI Snippets","di-ts":{"ts_bd":false,"ts_fs":11,"ts_ff":"Arial","ts_it":false,"ts_sc":false,"ts_st":false,"ts_tw":400,"ts_un":false,"ts_va":"nor","ts_bgc2":{"clr_type":0,"hclr_color":"#e8eaed"},"ts_fgc2":{"clr_type":0,"hclr_color":"#000000"},"ts_bd_i":false,"ts_fs_i":false,"ts_ff_i":false,"ts_it_i":false,"ts_sc_i":false,"ts_st_i":false,"ts_un_i":false,"ts_va_i":false,"ts_bgc2_i":false,"ts_fgc2_i":false}},{"di-id":"dropdownItem.v3hpoutznh35","di-v":"The CSS Podcast","di-dv":"The CSS Podcast","di-ts":{"ts_bd":false,"ts_fs":11,"ts_ff":"Arial","ts_it":false,"ts_sc":false,"ts_st":false,"ts_tw":400,"ts_un":false,"ts_va":"nor","ts_bgc2":{"clr_type":0,"hclr_color":"#e8eaed"},"ts_fgc2":{"clr_type":0,"hclr_color":"#000000"},"ts_bd_i":false,"ts_fs_i":false,"ts_ff_i":false,"ts_it_i":false,"ts_sc_i":false,"ts_st_i":false,"ts_un_i":false,"ts_va_i":false,"ts_bgc2_i":false,"ts_fgc2_i":false}}]}},"ddefe-t":"Chrome Series","type":"dropdown"}"&gt; The CSS Podcast&lt;/span&gt; → &lt;a href= "https://goo.gle/CSSpodcast"&gt;https://goo.gle/&lt;/a&gt;&lt;span data-rich-links="{"dde_di":"kix.ainnedpjmcik","dde-fdv":"CSSpodcast ","dde-sii":"dropdownItem.d74ii3f45nm5","ddefe-ddi":{"cv":{"op":"set","opValue":[{"di-id":"dropdownItem.qvxlzhrxyzcv","di-v":"Please Select","di-dv":"Please Select","di-ts":{"ts_bd":false,"ts_fs":11,"ts_ff":"Arial","ts_it":false,"ts_sc":false,"ts_st":false,"ts_tw":400,"ts_un":false,"ts_va":"nor","ts_bgc2":{"clr_type":0,"hclr_color":"#ffcfc9"},"ts_fgc2":{"clr_type":0,"hclr_color":"#b10202"},"ts_bd_i":false,"ts_fs_i":false,"ts_ff_i":false,"ts_it_i":false,"ts_sc_i":false,"ts_st_i":false,"ts_un_i":false,"ts_va_i":false,"ts_bgc2_i":false,"ts_fgc2_i":false}},{"di-id":"dropdownItem.4wbsj0a6qb58","di-v":"cc","di-dv":"cc","di-ts":{"ts_bd":false,"ts_fs":11,"ts_ff":"Arial","ts_it":false,"ts_sc":false,"ts_st":false,"ts_tw":400,"ts_un":false,"ts_va":"nor","ts_bgc2":{"clr_type":0,"hclr_color":"#e8eaed"},"ts_fgc2":{"clr_type":0,"hclr_color":"#000000"},"ts_bd_i":false,"ts_fs_i":false,"ts_ff_i":false,"ts_it_i":false,"ts_sc_i":false,"ts_st_i":false,"ts_un_i":false,"ts_va_i":false,"ts_bgc2_i":false,"ts_fgc2_i":false}},{"di-id":"dropdownItem.d74ii3f45nm5","di-v":"CSSpodcast ","di-dv":"CSSpodcast ","di-ts":{"ts_bd":false,"ts_fs":11,"ts_ff":"Arial","ts_it":false,"ts_sc":false,"ts_st":false,"ts_tw":400,"ts_un":false,"ts_va":"nor","ts_bgc2":{"clr_type":0,"hclr_color":"#e8eaed"},"ts_fgc2":{"clr_type":0,"hclr_color":"#000000"},"ts_bd_i":false,"ts_fs_i":false,"ts_ff_i":false,"ts_it_i":false,"ts_sc_i":false,"ts_st_i":false,"ts_un_i":false,"ts_va_i":false,"ts_bgc2_i":false,"ts_fgc2_i":false}},{"di-id":"dropdownItem.yhje6bh6k62e","di-v":"DevToolsTips ","di-dv":"DevToolsTips ","di-ts":{"ts_bd":false,"ts_fs":11,"ts_ff":"Arial","ts_it":false,"ts_sc":false,"ts_st":false,"ts_tw":400,"ts_un":false,"ts_va":"nor","ts_bgc2":{"clr_type":0,"hclr_color":"#e8eaed"},"ts_fgc2":{"clr_type":0,"hclr_color":"#000000"},"ts_bd_i":false,"ts_fs_i":false,"ts_ff_i":false,"ts_it_i":false,"ts_sc_i":false,"ts_st_i":false,"ts_un_i":false,"ts_va_i":false,"ts_bgc2_i":false,"ts_fgc2_i":false}},{"di-id":"dropdownItem.dr2spzn8xdrk","di-v":"GUIchallenges","di-dv":"GUIchallenges","di-ts":{"ts_bd":false,"ts_fs":11,"ts_ff":"Arial","ts_it":false,"ts_sc":false,"ts_st":false,"ts_tw":400,"ts_un":false,"ts_va":"nor","ts_bgc2":{"clr_type":0,"hclr_color":null},"ts_fgc2":{"clr_type":0,"hclr_color":null},"ts_bd_i":false,"ts_fs_i":false,"ts_ff_i":false,"ts_it_i":false,"ts_sc_i":false,"ts_st_i":false,"ts_un_i":false,"ts_va_i":false,"ts_bgc2_i":false,"ts_fgc2_i":false}},{"di-id":"dropdownItem.ymnfay1r0ysd","di-v":"NewInDevTools ","di-dv":"NewInDevTools ","di-ts":{"ts_bd":false,"ts_fs":11,"ts_ff":"Arial","ts_it":false,"ts_sc":false,"ts_st":false,"ts_tw":400,"ts_un":false,"ts_va":"nor","ts_bgc2":{"clr_type":0,"hclr_color":null},"ts_fgc2":{"clr_type":0,"hclr_color":null},"ts_bd_i":false,"ts_fs_i":false,"ts_ff_i":false,"ts_it_i":false,"ts_sc_i":false,"ts_st_i":false,"ts_un_i":false,"ts_va_i":false,"ts_bgc2_i":false,"ts_fgc2_i":false}},{"di-id":"dropdownItem.6stx37ntbil5","di-v":"NewInChrome","di-dv":"NewInChrome","di-ts":{"ts_bd":false,"ts_fs":11,"ts_ff":"Arial","ts_it":false,"ts_sc":false,"ts_st":false,"ts_tw":400,"ts_un":false,"ts_va":"nor","ts_bgc2":{"clr_type":0,"hclr_color":null},"ts_fgc2":{"clr_type":0,"hclr_color":null},"ts_bd_i":false,"ts_fs_i":false,"ts_ff_i":false,"ts_it_i":false,"ts_sc_i":false,"ts_st_i":false,"ts_un_i":false,"ts_va_i":false,"ts_bgc2_i":false,"ts_fgc2_i":false}},{"di-id":"dropdownItem.8l2ilcq3l6xx","di-v":"Privacy-Sandbox","di-dv":"Privacy-Sandbox","di-ts":{"ts_bd":false,"ts_fs":11,"ts_ff":"Arial","ts_it":false,"ts_sc":false,"ts_st":false,"ts_tw":400,"ts_un":false,"ts_va":"nor","ts_bgc2":{"clr_type":0,"hclr_color":"#e8eaed"},"ts_fgc2":{"clr_type":0,"hclr_color":"#000000"},"ts_bd_i":false,"ts_fs_i":false,"ts_ff_i":false,"ts_it_i":false,"ts_sc_i":false,"ts_st_i":false,"ts_un_i":false,"ts_va_i":false,"ts_bgc2_i":false,"ts_fgc2_i":false}}]}},"ddefe-t":"Chrome Playlists","type":"dropdown"}"&gt;&lt;a href="https://goo.gle/CSSpodcast"&gt;CSSpodcast&lt;/a&gt; &lt;/span&gt;&lt;/p&gt; &lt;p dir="ltr"&gt;Subscribe to Chrome for Developers → &lt;a href= "https://goo.gle/ChromeDevs"&gt;https://goo.gle/ChromeDevs&lt;/a&gt; &lt;br /&gt;  &lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p dir="ltr"&gt;#CSSPodcast #ChromeForDevelopers #Chrome&lt;/p&gt; &lt;p&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/p&gt; &lt;p dir="ltr"&gt;Speaker: Una Kravets, Adam Argyle&lt;/p&gt;</description>

The CSS Podcast

The CSS Podcast

088: State queries

SEP 12, 202423 MIN
The CSS Podcast

088: State queries

SEP 12, 202423 MIN

Description

In this episode, Una and Adam discuss a future web capability that builds on container queries: state queries. From CSS, this feature will be able to detect  if a container is overflowing, when an element is scroll snapped, and when an element is stuck from position: sticky.

Resources: :stuck, :snapped, :on-screen, etc → https://goo.gle/3WVhSi6  

state queries syntax → https://goo.gle/3T2gI33 

explainer → https://goo.gle/3XevW7x 

Intent To Prototype → https://goo.gle/3Au8rOY 

Scroll Snap Events → https://goo.gle/47koXO1  

 

Una Kravets (co-host) Twitterhttps://goo.gle/452aBRb YouTubehttps://goo.gle/457oMnS 

Making the web more colorful ✨🎨  Web DevRel @googlechrome Unicorn face Host of Tools Today → https://goo.gle/4aI6JpC & Designing in the Browser 🎬  → https://goo.gle/4e4YTcM 

Adam Argyle (co-host) Twitterhttps://goo.gle/3yFnHYu Instagramhttps://goo.gle/3wUb6QJ YouTubehttps://goo.gle/4dZNKK7 

@GoogleChrome CSS DevRel; @CSSWG; VisBug maker; punk; CSS/JS/UX addict; 💀🤘 CSSWG → https://goo.gle/4bFErxq VisBug → https://goo.gle/4bDcVQZ    

 

The CSS Podcast

#CSSpodcast

 

Watch more The CSS Podcast → https://goo.gle/CSSpodcast 

Subscribe to Chrome for Developers → https://goo.gle/ChromeDevs 

#CSSPodcast #ChromeForDevelopers #Chrome

 

Speaker: Una Kravets, Adam Argyle