文档地址:https://getbootstrap.com/docs/3.4/css/#forms
所有前提:必须放到:container中
混合布局(适配多个设备)
偏移:
效果:
排版管理:
例子:
文字对齐
列表:
效果:
列表:
表格:
form表单
一行的
垂直表单
单选和复选框:
<div class="checkbox">
<label>
<input type="checkbox" value="">
Option one is this and that—be sure to include why it's great
</label>
</div>
<div class="checkbox disabled">
<label>
<input type="checkbox" value="" disabled>
Option two is disabled
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked>
Option one is this and that—be sure to include why it's great
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">
Option two can be something else and selecting it will deselect option one
</label>
</div>
<div class="radio disabled">
<label>
<input type="radio" name="optionsRadios" id="optionsRadios3" value="option3" disabled>
Option three is disabled
</label>
</div>
图片
自动缩放:
图片形状;
辅助类
文字变色:
文字背景
关闭下拉图标:
左右浮动;
清除浮动
显示隐藏
组件:https://getbootstrap.com/docs/3.4/components/
图标的用法;
标记:
https://getbootstrap.com/docs/3.4/components/#labels
缩略图:
https://getbootstrap.com/docs/3.4/components/#page-header
提示信息:(不是对话框,是跟在输入框后面的提示)
https://getbootstrap.com/docs/3.4/components/#alerts
进度条:
https://getbootstrap.com/docs/3.4/components/#progress
js 总目录https://getbootstrap.com/docs/3.4/customize/
js https://getbootstrap.com/docs/3.4/javascript/