-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbasic.html
91 lines (84 loc) · 2.47 KB
/
basic.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>Material Design for Bootstrap</title>
<!-- MDB icon -->
<link rel="icon" href="img/mdb-favicon.ico" type="image/x-icon" />
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" />
<!-- Google Fonts Roboto -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" />
<!-- MDB -->
<link rel="stylesheet" href="css/mdb.min.css" />
<style>
body {
margin: 0;
padding: 0;
}
.sidenav {
position: absolute;
z-index: 1030;
top: 0;
bottom: 0;
left: 0;
background-color: white;
width: 300px;
}
.backdrop {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(36, 26, 12, 0.178);
z-index: 1029;
}
</style>
</head>
<body>
<div class="backdrop"></div>
<!-- Sidenav -->
<nav id="sidenav-1" class="sidenav shadow-3" data-mdb-hidden="false">
<div class="list-group list-group-light p-3">
<a
href="#"
class="list-group-item list-group-item-action px-3 border-0 active ripple"
aria-current="true"
>Ripple</a
>
<a
href="#"
class="list-group-item list-group-item-action px-3 border-0 ripple"
>Dapibus ac facilisis in</a
>
<a
href="#"
class="list-group-item list-group-item-action px-3 border-0 ripple"
>Morbi leo risus</a
>
<a
href="#"
class="list-group-item list-group-item-action px-3 border-0 ripple"
>Porta ac consectetur ac</a
>
</div>
</nav>
<!-- Sidenav -->
<div class="container d-flex justify-content-center mt-3">
<!-- Toggler -->
<button data-mdb-toggle="sidenav" data-mdb-target="#sidenav-1" class="btn btn-primary" aria-controls="#sidenav-1"
aria-haspopup="true">
<i class="fas fa-bars"></i>
</button>
<!-- Toggler -->
</div>
<!-- MDB -->
<script type="text/javascript" src="js/mdb.min.js"></script>
<!-- Custom scripts -->
<script type="text/javascript"></script>
</body>
</html>