Editar o código:
ver o resultado »
Tente você mesmo - ©
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!