input[type="text"] { width: 100%; box-sizing: border-box; -webkit-box-sizing:border-box; -moz-box-sizing: border-box; }
解决文本框样式width:100%超过父容器!!!
转载自:http://blog.csdn.net/xiaochunyong/article/details/7517210
时间: 2024-10-23 05:19:19
input[type="text"] { width: 100%; box-sizing: border-box; -webkit-box-sizing:border-box; -moz-box-sizing: border-box; }
解决文本框样式width:100%超过父容器!!!
转载自:http://blog.csdn.net/xiaochunyong/article/details/7517210