编辑代码:
查看结果 »
试一试 - ©
w3ii.com
Without box-sizing
This div is smaller (width is 300px and height is 100px).
This div is bigger (width is also 300px and height is 100px).
With box-sizing
Both divs are the same size now!
Hooray!