← 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?
- A.Removes the border
- B.Makes width include padding and border
- C.Adds a margin
- 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 →