Skip to main content

CSS Interview Questions

Starter CSS interview themes with links into Avora’s CSS course.

What is the CSS box model?

Content, padding, border, and margin — the layers that determine an element’s size and spacing.

What is the difference between display: flex and display: grid?

Flex is one-dimensional (row or column). Grid is two-dimensional (rows and columns together).