Frontend 路 Intern to senior

CSS Interview Questions and Answers

CSS interviews check that you can build and debug layouts without guessing: how the box model and specificity work, when to use Flexbox or Grid, and how positioning and units behave.

Download CSS PDF9 questions

3 of 9 questions match

Clear filters
  • CSSEasy

    What is the CSS box model?

    Every element is a box made of content, padding, border and margin. The default content-box size counts only the content; border-box includes padding and border in the width you set.

    Intern 路 Junior 路 CSS Layout
  • CSSEasy

    What is the difference between inline, block and inline-block in CSS?

    Block elements start on a new line and take the full available width; inline elements sit in the text flow and ignore width and height; inline-block sits in the flow but accepts width, height, padding and margin on all sides.

    Intern 路 Junior 路 CSS Layout