CSS Basics Test

Check your knowledge of selectors, the box model, units, the cascade and basic layout behavior.

6 questions. Choose the best answer for each question, then review every explanation.

Question 1 of 6

1 of 6
Question 1Which selector targets elements with class="notice"?
Question 2Which areas are included in the standard CSS box model?
Question 3What is 1rem relative to?
Question 4Which declaration removes an element from layout?
Question 5When two rules have equal origin, importance and specificity, which one wins?
Question 6What does box-sizing: border-box change?