代码中定义了input width: 100px, 为什么chrome看到的是88px, 如图
加上左右边框以及左右内边距正好是100px
1 + 5 + 5 + 1 + 88 = 100
你把margin,padding,border设置为0,就能达到你要的效果了