CSS layout quiz

  • Admin
  • 1 min read

Nine questions on Grid, media queries, transitions, custom properties and dark mode.

CSS

CSS layout quiz

9 questions, instant feedback

Question 1 of 9 Which declaration creates three equal columns with Grid?
Question 2 of 9 What does grid-column: 1 / 3 do?
Question 3 of 9 Which media query targets users who prefer a dark colour scheme?
Question 4 of 9 How do you read a custom property named --brand in a rule?
Question 5 of 9 Which transition property value animates only the text colour?
Question 6 of 9 What does clamp(1rem, 2.5vw, 2rem) do for a font size?
Question 7 of 9 Why is :focus-visible preferred over removing focus outlines?
Question 8 of 9 Which unit is best for a gap that should scale with the user's text size?
Question 9 of 9 What is the usual first step when a Grid layout overflows on a narrow screen?

Your answers stay in this browser. Nothing is sent to a server.