Syntax - Tasty Web Development Treats

Hasty Treat - The Status of Element Queries / Container Queries

Mar 2, 2020
Discover the innovative world of container queries and their potential to revolutionize responsive design in web development. The speakers discuss the complex challenges of implementing these features, alongside current progress in the field. They dive into effective error handling with tools like Sentry, shedding light on how to streamline your workflow. The conversation touches on the compatibility hurdles developers face with new CSS features, all while maintaining a humorous take on the tech landscape. Excitement for the future of web design radiates throughout!
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Container Queries

  • Media queries style elements based on viewport size.
  • Container/element queries will style elements based on their container's size.
ANECDOTE

Card Grid Use Case

  • Scott Tolinsky wants container queries for a card grid component.
  • The component's cards should change based on their width, not the viewport width, as media queries do.
INSIGHT

Complexity of Container Queries

  • Creating container queries isn't as simple as changing media queries.
  • It requires fundamental browser engine changes, which are complex and time-consuming.
Get the Snipd Podcast app to discover more snips from this episode
Get the app