This free introductory course explains CSS container queries, a newer alternative to media queries for responsive web design. It shows how to make elements change depending on the size of their parent container.
What you’ll learn
✓Explain how container queries differ from media queries
✓Write a container query that changes an element based on its parent's size
✓Apply container queries to build responsive components