Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore CSS Style Queries in this 18-minute tutorial that introduces a revolutionary approach to writing CSS. Learn how style queries will transform front-end development through practical examples and real-world applications. Start with a simple example to understand the basic concept, then discover preferred implementation techniques and understand why style queries offer advantages over traditional modifier classes. Compare style queries to modifier class approaches through concrete examples that demonstrate their superior flexibility and maintainability. Progress to more advanced, real-world scenarios that showcase the full potential of this CSS feature. Gain insights into browser support considerations and access additional resources including related container queries content and advanced CSS learning materials. Master this cutting-edge CSS technology that enables more dynamic and responsive styling based on element properties rather than viewport dimensions.
Syllabus
00:00 - Introduction
00:45 - A simple example
04:03 - How I prefer using them
06:55 - Couldn’t this be a modifier class instead
07:40 - Simple example of how they are better than modifiers
12:30 - A more advanced/real-world example
Taught by
Kevin Powell