核心提示:form input[type=text]{display:block;width:100%;height:47px;box-sizing:border-box;font-size:14px;colo...
form input[type=text]{ display:block;width:100%;height:47px; box-sizing:border-box; font-size:14px; color:#999; border:0; border-bottom:1px solid #e6e6e6; outline:0 }
outline:设置边框的样式
outline-color 规定边框的颜色。
outline-style 规定边框的样式。
outline-width 规定边框的宽度。
inherit 规定应该从父元素继承 outline 属性的设置。
border-bottom:1px soild #fff
设置下边框的样式
border-bottom-width 规定下边框的宽度。
border-bottom-style 规定下边框的样式。
border-bottom-color 规定下边框的颜色。
inherit 规定应该从父元素继承 border-bottom 属性的设置。
.submitBtn{ display:block; height:46px; margin-bottom:16px; font-size:14px; line-height:46px; color:#fff; border-radius:3px; background:#00b38a; text-align:center}
按钮的设置
display:block
此元素将显示为块级元素,此元素前后会带有换行符。
不加“display:block”,会有如下效果