Inline vs Block
Positioning & Overflow
Responsive Basics
Flexbox
Grid
100

Does a block element start on a new line?

Yes

100

Which CSS property controls what happens when content is too big for its box?

overflow

100

What HTML tag is used to set the viewport for responsive design?

<meta name="viewport" ...>

100

What display value activates Flexbox on a container?

display: flex

100

What display value activates CSS Grid layout on a container?

display: grid

200

What is the default display type of a <div>?

block

200

Which overflow value hides content that doesn’t fit?

hidden

200

What CSS feature lets you apply different rules at different screen widths?

Media queries

200

Which property sets the direction of the main axis in Flexbox?

flex-direction

200

Which property defines the columns in a grid?

grid-template-columns

300

What is the default display type of a <span>?

inline

300

Which overflow value adds scrollbars when content is too big?

scroll (or auto)

300

Which unit is better for responsive design: px or vw/%?

vw / % (relative units)

300

Which property controls how items are spaced along the main axis?

justify-content

300

Which property defines the rows in a grid?

grid-template-rows

400

Which type of element can have width and height reliably applied: inline or block?

Block elements

400

Which position value positions an element relative to the normal flow (and supports top, left offsets)?

relative

400

Which CSS properties make an image scale down with its container?

max-width: 100%; height: auto;

400

Which property controls how items are aligned on the cross axis?

align-items

400

Which property sets spacing between rows and columns?

gap (or row-gap/column-gap)

500

What CSS property can turn an inline element into a block-level element?

display: block

500

Which position value positions an element relative to the viewport and keeps it in place while scrolling?

fixed

500

What’s the main goal of responsive design?

Make layouts work well on different screens and devices

500

Which property allows flex items to wrap onto a new line?

flex-wrap

500

What shorthand defines 3 equal-width columns using fractions?

grid-template-columns: repeat(3, 1fr);

M
e
n
u