Bootstrap
Bootstrap内置颜色
- 前景色 text-* .text-muted:提示,使用浅灰色(#999)
.text-primary:主要,使用蓝色(#428bca)
.text-success:成功,使用浅绿色(#3c763d)
.text-info:通知信息,使用浅蓝色(#31708f)
.text-warning:警告,使用黄色(#8a6d3b)
.text-danger:危险,使用褐色(#a94442) - 背景色 bg-*
Bootstrap文本样式
-
text-*
-right -center -lef -
font-*
-weight-normal(普通文本) bold(加粗) light(更细)
-italic(斜体) -
transform
text-lowercase(小写) uppercase(大写) capitalize() -
(标题大小用调整)display-0~4 字体大小
Bootstrap元素size变更
- w-*
-(0~100)占整体比列的百分之多少 - h-*
Bootstrap /padding/margin
-
[p|m][location]-[size]
-
location
- t,b
-