forked from twbs/bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (74 loc) · 1.75 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<html>
<head>
<link href="/css/bootstrap.min.css" rel="stylesheet" />
<script src="/js/bootstrap.bundle.min.js"></script>
<style>
a {
color: inherit;
}
#TableOfContents a.active {
color: red;
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<div
class="col-8"
data-bs-spy="scroll"
data-bs-target="#TableOfContents"
tabindex="0"
style="height: 100vh; overflow: auto;"
>
<h1 id="favicons">Favicons</h1>
<p>1</p>
<p>1</p>
<p>1</p>
<p>1</p>
<p>1</p>
<p>1</p>
<p>1</p>
<p>1</p>
<h1 id="背景图片">背景图片</h1>
<p>1</p>
<p>1</p>
<p>1</p>
<p>1</p>
<p>1</p>
<p>1</p>
<p>1</p>
<p>1</p>
<h1 id="图标 Icons">图标 Icons</h1>
<p>1</p>
<p>1</p>
<p>1</p>
<p>1</p>
<p>1</p>
<p>1</p>
<p>1</p>
<p>1</p>
<h1 id="菜单 Menus">菜单 Menus</h1>
<p>1</p>
<p>1</p>
<p>1</p>
<p>1</p>
<p>1</p>
<p>1</p>
<p>1</p>
<p>1</p>
</div>
<div class="col-4">
<nav id="TableOfContents" class="position-sticky top-0">
<ul>
<li><a href="#favicons">Favicons</a></li>
<li><a href="#背景图片">背景图片</a></li>
<li><a href="#图标 Icons">图标 Icons</a></li>
<li><a href="#菜单 Menus">菜单 Menus</a></li>
</ul>
</nav>
</div>
</div>
</div>
</body>
</html>