默认为box-sizing:border-box修改为即可box-sizing: content-box; 转载于:https://www.cnblogs.com/cd1330/p/10028798.html