-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnewburger.css
93 lines (77 loc) · 1.37 KB
/
newburger.css
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
92
body{
margin: 0px;
padding: 0px;
font-family: "PT Sans",sans-serif;
background-color:white;
}
#menu{
width: 35px;
height: 30px;
margin: 30px 0 20px 20px;
cursor: pointer;
z-index: 100;
}
.bar{
height: 10px;
width: 140%;
background-color: rgb(0,0,0);
display: block;
border-radius: 5px;
transition: 0.3s ease;
position: relative;
bottom: 150px;
}
#bar1{
transform: translateY(-4px);
}
#bar3{
transform: translateY(4px);
}
.burger li a{
color: rgb(0, 0, 0);
text-decoration: none;
margin-right:120px;
}
.burger li a:hover{
border: 1px solid #fff;
}
.burger li{
list-style: none;
padding:0px;
text-decoration: none;
margin: 0px;
position: relative;
top: 60px;
text-align: left;
}
.burger{
padding: 0;
margin: 0 20px;
transition: 1s ease;
display: none;
}
.icon .bar{
background-color: rgb(236, 6, 6);
}
.icon #bar1{
transform: translateY(4px) rotate(-45degree);
}
.icon #bar3{
transform: translateY(-6px) rotate(45degree);
}
.icon #bar2{
opacity: 0;
}
.change{
background-color: rgb(255, 255, 255);
height: 100vh;
margin: 0;
position:absolute;
top: 0;
z-index: -100;
width: 20%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}