我明明给这个元素设置box-sizing:border-box;
但是还是按照content-box来的,不知道为什么还加了2px的border?
.header_sea_box input {
width: 263px;
height: 38px;
background-color: #ffffff;
line-height: 38px;
}
.sea_text {
padding-left: 15px;
box-sizing: border-box;
font-size: 16px;
color: #333;
}
box-sizing是css3属性,IE低版本不支持