bootstrap教程(一)——表单
bootstrap吧
全部回复
仅看楼主
level 4
本文为H5EDU机构官方的HTML5培训教程 bootstrap教程(一)。
本次内容介绍bootstrap当中的表单。
bootstrap当中还有许多应用在表单组件上的样式。
<form role="form">
<div class="form-group">
<label for='input1'>邮箱:</label>
<input id='input1' class="form-control" placeholder="请输入邮箱" type="email">
</div>
<div class="form-group">
<label for='input2'>密码:</label>
<input id='input2' class="form-control" placeholder='请输入密码' type="password">
</div>
<input type='checkbox'>记住密码
<button class="btn btn-default">登录邮箱</button>
</form>
像之上的代码我们可以试试引用框架文件和不加框架文件的效果对比一下
2016年08月11日 13点08分 1
1