🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: CSS Basics: all 10 questions

Quiz: CSS Basics · Question 4 of 10

What does box-sizing: border-box do?

What does box-sizing: border-box do?

  1. A.Removes the border
  2. B.Makes width include padding and border
  3. C.Adds a margin
  4. D.Centres the box
Answer & explanation

Correct answer: Makes width include padding and border

The declared width becomes the total visible width.

Can you get the rest right without peeking?

Take the timed Quiz: CSS Basics quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →