コードを編集:
結果を参照してください。 »
それを自分で試してみてください - ©
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!