input { outline: none; //去掉input框样式 margin : 20%; //边界20%(上左右) border-color: #ccc; //边框颜色 border-style: solid; //实线 border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; //只有下边框 border-left-width: 0px }