地址:http://www.cnblogs.com/cxying93/p/6063482.html
box-sizing : content-box || border-box || inherit;
在css3中新增了box-sizing属性,具备了以上知识后,我们已经理解:
- 当为content-box时,将采取标准模式进行解析计算,也是默认模式
- 当为border-box时,将采取IE模式解析计算
- 当为inherit时,将从父元素来继承box-sizing属性的值
地址:http://www.cnblogs.com/cxying93/p/6063482.html
box-sizing : content-box || border-box || inherit;
在css3中新增了box-sizing属性,具备了以上知识后,我们已经理解: