forked from twbs/bootstrap-npm-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (50 loc) · 2.5 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="assets/css/starter.css">
<title>Bootstrap npm starter</title>
</head>
<body>
<div class="col-md-8 mx-auto">
<h1>Hello, world!</h1>
<p>You've successfully loaded up the Bootstrap npm starter project!</p>
<p>If this button looks blue and the text purple, you've done it.</p>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal">Click me!</button>
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Success!</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
If you're seeing this modal after clicking the button on the page, Bootstrap's CSS and JS are both working properly.
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>
<hr class="my-5">
<h2>Adding Bootstrap Icons</h2>
<p><a href="https://icons.getbootstrap.com">Bootstrap Icons</a> are included with the SVG sprite here, but there are other <a href="https://icons.getbootstrap.com/#usage">usage options</a>, too. They're styleable with text utilities and more.</p>
<svg class="bi text-danger" width="32" height="32">
<use xlink:href="node_modules/bootstrap-icons/bootstrap-icons.svg#heart-fill"/>
</svg>
<svg class="bi text-dark" width="32" height="32">
<use xlink:href="node_modules/bootstrap-icons/bootstrap-icons.svg#toggles"/>
</svg>
<svg class="bi text-primary" width="32" height="32">
<use xlink:href="node_modules/bootstrap-icons/bootstrap-icons.svg#shop"/>
</svg>
</div>
<script src="node_modules/jquery/dist/jquery.slim.min.js"></script>
<script type="module" src="assets/js/starter.js"></script>
</body>
</html>