box-sizing 决定元件的 width、height、min-width、min-height、max-width、max-height 如何解析。

border-box
默认值。width 和 height 属性包括内容 (content),内边距(padding),和边框(border),但不包括外边距(margin)。
尺寸计算公式:
width = border + padding + content
height = border + padding + content
content-box
标准盒子模型。width 和 height 只包括内容 (content),不包括边框(border),内边距(padding),外边距(margin)。
尺寸计算公式:
width = content
height = content
| 初始值 | border-box |
| 适用元素 | 所有元件 |
| 是否支持继承 | 否 |
| 是否支持动画 | 否 |
border-box,Web 的默认值为 content-box。box-sizing 不会影响 flex-basis 的取值。LCD tables only load in the browser