Редактирование кода:
См Результат »
Попробуй сам - ©
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!