+ 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

20th Oct 2019, 3:38 PM
Zenit
Zenit - avatar
2 Answers
+ 4
border-box extends behind the border, padding-box does not. If you change your border from solid to dashed, you can see the difference.
20th Oct 2019, 4:12 PM
Michael
Michael - avatar
0
Thanks
20th Oct 2019, 4:30 PM
Zenit
Zenit - avatar