File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ <!doctype html>
2+ < html lang ="en ">
3+
4+ < head >
5+ < meta charset ="utf-8 ">
6+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
7+ < title > Bootstrap demo</ title >
8+ < link href ="
https://cdn.jsdelivr.net/npm/[email protected] /dist/css/bootstrap.min.css "
rel ="
stylesheet "
9+ integrity ="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ " crossorigin ="anonymous ">
10+ </ head >
11+
12+ < body >
13+ < button id ="theme-toggler " class ="btn btn-secondary " style ="margin:15px; "> < i class ="fas fa-sun "> </ i > </ button >
14+ < main >
15+
16+ < div class ="px-4 py-5 my-5 text-center ">
17+ < h1 class ="display-5 fw-bold text-body-emphasis "> Bootstrap theme switch</ h1 >
18+ < div class ="col-lg-6 mx-auto ">
19+ < p class ="lead mb-4 "> Simple theme switch for Bootstrap v5.3</ p >
20+ < div class ="d-grid gap-2 d-sm-flex justify-content-sm-center ">
21+ < a href ="https://github.com/danielsebesta/bootstrap-theme-switch "> < button type ="button "
22+ class ="btn btn-outline-secondary btn-lg px-4 gap-3 "> GitHub</ button > </ a >
23+ </ div >
24+ </ div >
25+ </ div >
26+
27+
28+ </ main >
29+ < script src ="
https://cdn.jsdelivr.net/npm/[email protected] /dist/js/bootstrap.bundle.min.js "
30+ integrity ="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe "
31+ crossorigin ="anonymous "> </ script >
32+ < script src ="https://cdn.jsdelivr.net/gh/danielsebesta/bootstrap-theme-switch@main/theme-switch.min.js "
33+ integrity ="sha384-eHEyolGs5+4+fpMEEcNsT22uT/gvfdbYi7ILP66pDf3JIDHcinTASicxy7BS9RFC "
34+ crossorigin ="anonymous "> </ script >
35+ </ body >
36+
37+ </ html >
You can’t perform that action at this time.
0 commit comments