<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<link rel="stylesheet" type="text/css" href="../day01/css/bootstrap.min.css"/>
<style type="text/css">
.table-success tr td,.table-success tr th{
border: 1px solid blueviolet;
width: 200px;
}
</style>
</head>
<body>
<table class="table-success">
<tr>
<td class="text-left">你好h1</td>
<td><h1 class="text-warning text-right">你好h1</h1></td>
<th class="text-right">你好h1</th>
<td class="h1 text-warning text-left" >你好h1</td>
</tr>
<tr>
<td class="text-center">你好h2</td>
<td><h2 class="text-danger text-center">你好h2</h2></td>
<th class="text-center">你好h2</th>
<td class="h2 text-danger text-center">你好h2</td>
</tr>
<tr>
<td class="text-right">你好h3</td>
<td><h3 class="text-info text-left">你好h3</h3></td>
<th class="text-left">你好h3</th>
<td class="h3 text-info text-right">你好h3</td>
</tr>
</table>
<div class="container">默认字体大小16px,行高1.5rem<br />
<small>small默认0.8rem</small>
<p class="lead">lead默认1.25rem</p>
<em>倾斜</em><br />
<strong>加粗</strong>
<p class="text-warning">p标签默认1rem</p>
<p class="text-danger">p标签默认1rem</p>
<p class="text-muted">p标签默认1rem</p>
<p class="text-success">p标签默认1rem</p>
<p class="text-info">p标签默认1rem</p>
</div>
<p>这是<abbr title="北美篮球职业联赛">NBA</abbr>的直播</p>
<div class="container">
<address>
河南省<br />
南阳市<br />
宛城区<br />
孔明路666号<br />
</address>
</div>
<div class="container">
<blockquote class="blockquote text-center">
<p>在标准的引用里,可以简单的改变风格和内容</p>
<p>添加small标签来注明引用来源,来源名称可以放在cute标签里面。</p>
<footer class="blockquote-footer">cite in <cite title="Bootstrap Inc.">bootstrap.com</cite></footer>
</blockquote>
</div>
<ul class="list-unstyled">
<li>首页</li>
<li>新闻</li>
<li>公告</li>
<li>个人中心</li>
</ul>
<ul class="list-inline">
<li class="list-inline-item">首页</li>
<li class="list-inline-item">新闻</li>
<li class="list-inline-item">公告</li>
<li class="list-inline-item">个人中心</li>
</ul>
<pre class="pre-scrollable">
class="pre-scrollable"加滚动条,最大高度340px
加滚动条,最大高度340px
加滚动条,最大高度340px
</pre>
<code>
代码段,自动加颜色
</code>
</body>
<script src="../day01/js/jquery-3.6.0.js"></script>
<script type="text/javascript" src="../day01/js/bootstrap.bundle.min.js" ></script>
</html>
bootstarp:文字、表格、特殊样式类名及介绍
于 2022-10-05 16:16:38 首次发布