-
Notifications
You must be signed in to change notification settings - Fork 0
/
05_custom_component.html
40 lines (34 loc) · 1.29 KB
/
05_custom_component.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="stylesheets/all.css">
</head>
<body>
<div class="container">
<h1>自訂元件</h1>
<div class="stepbar my-3">
<span class="stepbar-item">1</span>
<span class="stepbar-item active">2</span>
<span class="stepbar-item">3</span>
</div>
<div class="stepbar my-3">
<span class="stepbar-item">1</span>
<span class="stepbar-item">2</span>
<span class="stepbar-item active">3</span>
<span class="stepbar-item">4</span>
<span class="stepbar-item">5</span>
</div>
<div class="stepbar my-3">
<span class="stepbar-item">1</span>
<span class="stepbar-item">2</span>
<span class="stepbar-item active">3</span>
</div>
<!-- 另一個實戰案例:https://github.com/Wcc723/F2E-PK/blob/master/source/stylesheets/components/_item-card.scss -->
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj" crossorigin="anonymous"></script>
</body>
</html>