HomeBytesheetsRoadmapsUI TemplatesUI ToolsStack Discussion
60 Topics
Chapter•180 Minutes

Top CSS Questions & Practice

Master 50+ essential CSS questions ranging from core fundamentals to advanced layout, browser behavior, accessibility, performance, and real-world scenarios.

Junior Fundamentals — Question 1

Test your understanding of the CSS box model.

Knowledge Check

Which four areas make up the CSS box model?

Junior Fundamentals — Question 2

Test your understanding of box sizing.

Knowledge Check

What does `box-sizing: border-box` do?

Junior Fundamentals — Question 3

Test your knowledge of selectors.

Knowledge Check

Which selector targets an element with class `button`?

Junior Fundamentals — Question 4

Test basic CSS inheritance.

Knowledge Check

Which property normally inherits from a parent?

Junior Fundamentals — Question 5

Test pseudo-class knowledge.

Knowledge Check

Which selector targets an element while the pointer is over it?

Junior Fundamentals — Question 6

Test pseudo-element knowledge.

Knowledge Check

Which is a pseudo-element?

Junior Fundamentals — Question 7

Test display behavior.

Knowledge Check

What happens when an element has `display: none`?

Junior Fundamentals — Question 8

Test units.

Knowledge Check

What does `rem` normally reference?

Junior Fundamentals — Question 9

Test color syntax.

Knowledge Check

Which is valid modern CSS RGB syntax with alpha?

Junior Fundamentals — Question 10

Test cascade fundamentals.

Knowledge Check

When two declarations have equal specificity, which normally wins?