CSS quiz: 48 questions

48 questions from the 16 lessons of CSS: Style and Lay Out Web Pages. Each answer is explained, with a link back to the lesson it comes from, and your best score stays on this device.

Test yourself

48 questions from this course's lessons, in a random order. See what you remember, then go back to the lessons behind the questions you missed.

How many questions?

What the quiz covers

  1. What CSS is and how it reaches a page (3 questions)
  2. Selectors: choosing what to style (3 questions)
  3. The cascade, specificity and inheritance (3 questions)
  4. Colours, units and values (3 questions)
  5. The box model (3 questions)
  6. Text and fonts (3 questions)
  7. Backgrounds, borders and shadows (3 questions)
  8. Display and normal flow (3 questions)
  9. Flexbox: laying things out in a line (3 questions)
  10. Grid: laying things out in two dimensions (3 questions)
  11. Positioning and stacking (3 questions)
  12. Pseudo-classes and pseudo-elements (3 questions)
  13. Custom properties (CSS variables) (3 questions)
  14. Responsive design basics (3 questions)
  15. Transitions, transforms and animations (3 questions)
  16. Keeping CSS maintainable (3 questions)