-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
37 lines (31 loc) · 1.49 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap demo</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
</head>
<body>
<button id="theme-toggler" class="btn btn-secondary" style="margin:15px;"><i class="fas fa-sun"></i></button>
<main>
<div class="px-4 py-5 my-5 text-center">
<h1 class="display-5 fw-bold text-body-emphasis">Bootstrap theme switch</h1>
<div class="col-lg-6 mx-auto">
<p class="lead mb-4">Simple theme switch for Bootstrap v5.3</p>
<div class="d-grid gap-2 d-sm-flex justify-content-sm-center">
<a href="https://github.com/danielsebesta/bootstrap-theme-switch"><button type="button"
class="btn btn-outline-secondary btn-lg px-4 gap-3">GitHub</button></a>
</div>
</div>
</div>
</main>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/gh/danielsebesta/bootstrap-theme-switch@main/theme-switch.min.js"
integrity="sha384-eHEyolGs5+4+fpMEEcNsT22uT/gvfdbYi7ILP66pDf3JIDHcinTASicxy7BS9RFC"
crossorigin="anonymous"></script>
</body>
</html>