下列代码展示部分Bootstrap的css样式:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>CssDemo</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin="anonymous"> <!--引用网上css-->
</head>
<body>
<!--Bootstrap将全局font-size设置为14px,行高设置为1.248-->
<div class="container">
<!--H标签的展示-->
<h1>我爱祖国</h1>
<h2>我爱祖国</h2>
<h3>我爱祖国</h3>
<!--副标题-->
<h4>我爱祖国<small>欢迎你的到来</small></h4>
<p class="lead">哈哈哈哈</p>
<p>hello world:<mark>北京欢迎你</mark></p>
<del>删除文本</del>
<!--文本的布局-->
<p class="text-left">你好吗</p>
<p class="text-right" >你好吗</p>
<p class="text-center">你好吗</p>
<!--字体大小写-->
<!-- 全部小写-->
<p class="text-lowercase">abcdefg</p>
<!-- 全部大写-->
<p class="text-uppercase">abcdefg</p>
<!-- 首字母大写-->
<p class="text-capitalize">abcdefg</p>
<!--缩略字-->
<p>hellohellohellohellohellohellohello <abbr title="attribute"> hello</abbr> </p>
<address>
<strong>广东省</strong><br />
广州市<br />
黄浦区<br />
<abbr title="Phone">P:8888 8888</abbr>
</address>
</div>
</body>
</html>