Responsive Design and Modern CSS Quiz
Interactive Quiz ⋅ 12 Questions
By Stephen Gruppetta
In this quiz, you’ll test your understanding of Responsive Design and Modern CSS.
By working through this quiz, you’ll revisit mobile-first media queries and the
viewport tag, fluid type that still grows with zoom, container queries, srcset,
sizes and <picture>, the specificity of :is(), :where() and nested rules,
and how browsers treat CSS they don’t support.
Most questions show a short stylesheet or some markup and ask what the browser does with it. Good luck!
The quiz contains 12 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!
Related Resources
Course
Responsive Design and Modern CSS
Make a website work from a 320-pixel phone to a wide screen with mobile-first media queries, fluid type and spacing, responsive images, and container queries, and use modern CSS like :has() and nesting only where browser support makes it safe.