如果在元素上设置了 box-sizing: border-box; 则 padding(内边距) 和 border(边框) 也包含在 width 和 height 中
转载于:https://www.cnblogs.com/shiyunfront/p/8311815.html
如果在元素上设置了 box-sizing: border-box; 则 padding(内边距) 和 border(边框) 也包含在 width 和 height 中
转载于:https://www.cnblogs.com/shiyunfront/p/8311815.html