Bootstrap笔记

排版相关


** 1、 强调 **

  • p 用.lead 或者 em, i

  • 强调类名

    .text-muted:提示,使用浅灰色(#999)
    .text-primary:主要,使用蓝色(#428bca)
    .text-success:成功,使用浅绿色(#3c763d)
    .text-info:通知信息,使用浅蓝色(#31708f)
    .text-warning:警告,使用黄色(#8a6d3b)
    .text-danger:危险,使用褐色(#a94442)

Bootstrap笔记_第1张图片
强调信息

2、文本对齐风格

☑ .text-left:左对齐
☑ .text-center:居中对齐
☑ .text-right:右对齐
☑ .text-justify:两端对齐

3、列表

  • 无序列表

  • 有序列表

  • 定义列表

4、表格

.table:基础表格
.table-striped:斑马线表格
.table-bordered:带边框的表格
.table-hover:鼠标悬停高亮的表格
.table-condensed:紧凑型表格
.table-responsive:响应式表格

你可能感兴趣的:(Bootstrap笔记)