Bootstrap常用单词组

布局容器
.container 固定宽度
.container-fluid 全屏
.row 行
.col-lg- 大屏幕
.col-md- 中屏幕
变量
@grid-columns: 12 列数
@grid-gutter-width: 30px 槽宽
@grid-float-breakpoint: 768px 媒体查询阙值(确定合适让列浮动)
中心内容
.lead 段落突出显示
内联文本元素
改变包含内容背景色
删除线
下划线
小号文本
加粗
斜体
文本对齐
.text-left 靠左
.text-center 居中
.text-right 靠右
.text-justify 文本对齐
.text-nowrap 不自动换行
.text-lowercase 文本小写
.text-uppercase 文本大写
.text-capitalize 首字母大写
引用

引用
blockquote.blockquote-reverse 引用右对齐
列表
.list-unstyled 移除默认样式
.list-inline 所有列表放同一行
.dl-horizontal 设置了浮动和偏移,水平排列
代码
包裹内联样式的代码片段
标记用户通过键盘输入的内容
.pre-scrollable 使
 元素可滚动,代码块区域最大高度为340px
变量
变量
表格
.table 表格
.table-striped 条纹状表格
.table-bordered 带边框的表格
.table-hover 鼠标悬停
.table-condensed 紧缩表格
.table-responsive 响应式表格
.success 绿色
.active 灰色
.info 青色
.warning 黄色
.danger 红色
表单
.form-control 向所有的文本元素

猜你喜欢

转载自www.cnblogs.com/moyuchen99/p/9330724.html
今日推荐