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.
What the quiz covers
- What CSS is and how it reaches a page (3 questions)
- Selectors: choosing what to style (3 questions)
- The cascade, specificity and inheritance (3 questions)
- Colours, units and values (3 questions)
- The box model (3 questions)
- Text and fonts (3 questions)
- Backgrounds, borders and shadows (3 questions)
- Display and normal flow (3 questions)
- Flexbox: laying things out in a line (3 questions)
- Grid: laying things out in two dimensions (3 questions)
- Positioning and stacking (3 questions)
- Pseudo-classes and pseudo-elements (3 questions)
- Custom properties (CSS variables) (3 questions)
- Responsive design basics (3 questions)
- Transitions, transforms and animations (3 questions)
- Keeping CSS maintainable (3 questions)