編輯代碼:
查看結果 »
試一試 - ©
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!