-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpract.css
More file actions
75 lines (69 loc) · 1.34 KB
/
Copy pathpract.css
File metadata and controls
75 lines (69 loc) · 1.34 KB
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
.mainbox{
background: url("https://imgs.search.brave.com/aCRxJP4M0oyOk1NMB8eNDt__mgQwaIP_ii_0sM-zPFU/rs:fit:860:0:0:0/g:ce/aHR0cHM6Ly93YWxs/cGFwZXJjYXZlLmNv/bS93cC93cDg0ODAy/MjgucG5n");
background-size: cover;
height: 100vh;
}
#check{
display: none;
}
.mainbox .btn{
color: rgb(15, 29, 83);
position: absolute;
top: 70px;
font-size: 25px;
}
.sidebar .btn_2 {
position: absolute;
top: 10px;
right: 5px;
font-size: 22px;
color: rgb(0, 1, 3);
cursor: pointer;
}
.sidebar{
background-color: rgb(255, 255, 255);
width: 250px;
height: 100vh;
opacity: 0.6;
box-shadow: 0 0 10px black;
position: relative;
left: -350px;
transition: all 0.2s linear;
}
.heading{
position: relative;
top: 0px;
left: 0px;
box-shadow: 0 0 6px black;
padding: 30px ;
}
ul{
list-style: none;
}
.menu{
line-height: 60px;
position: absolute;
top:100px;
}
.sidebar .menu i{
position: relative;
right: 10px;
}
.sidebar a{
text-decoration: none;
}
#check:checked ~ .sidebar{
left: 0px;
transition: all 0.2s linear;
}
#check:checked ~ .btn {
display: none;
}
li{
padding: 10px;
padding-right: 50px;
padding-left: 30px;
}
li:hover{
box-shadow: 0 0 6px black;
}