Bootstrap排版与段落

内联子标题
添加或者添加.small class
实例:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>关闭按钮</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
    <h1>1</h1>
    <small>1</small>
    <p class=".small">1</p>
    <h2>2</h2>
    <small>2</small>
    <h3>3</h3>
    <small>3</small>
    <h4>4</h4>
    <small>4</small>
    <h5>5</h5>
    <small>5</small>
    <h6>6</h6>
    <small>6</small>
</body>
</html>

强调文本:class类
text-left 左对齐
text-center 居中
text-riight 右对齐
text-muted 提示灰色
text-primary 主要蓝色
text-success 成功浅绿色
text-info 通知信息 浅蓝色
text-warning 警告 黄色
text-danger 危险褐色

缩写:
<abbr title=""> </abbr>

地址
<address></address>可以在网页上显示联系方式

引用:
Blockquote

无序列表
.list-unstyled 移除样式
.list-inline 把所有列表项放在同一行

.lead 使段落突出显示
.small 设小文本源文本的85%
.text-justify 设置文本对齐超出屏幕部分自动换行
.text-nowrap 段落超出屏幕不换行
.text-lowercase 设置文本小写
.text-uppercase 设置文本大写
.dl-horizontal 设置浮动偏移应用于dldt

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值