+1

What's the difference btw border-box and padding-box?

Look the example, I can't see the difference https://code.sololearn.com/Wd96FBIbhYDT/?ref=app

10/20/2019 3:38:04 PM

Zenit

2 Answers

New Answer

+3

border-box extends behind the border, padding-box does not. If you change your border from solid to dashed, you can see the difference.

0

Thanks