1.box-sizing content-box 默认值 设置的元素宽度/高度 = 元素宽度/高度 border-box 设置的元素宽度/高度 = 元素宽度/高度+padding+border inherit 继承父元素 box-sizing 属性的值