-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathham.css
More file actions
49 lines (40 loc) · 759 Bytes
/
ham.css
File metadata and controls
49 lines (40 loc) · 759 Bytes
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
.ham{
position: relative;
width: 40px;
height: 40px;
background: #2196F3;
display: flex;
justify-content: center;
border-radius: 100%
}
span{
/* margin-top: 10px; */
text-align: center;
display: block;
width:25px;
color: white;
height:3px;
z-index: 1;
background: white;
position: absolute;
}
span:nth-child(1){
top:9px;
transition: 0.4s cubic-bezier(0.39, 0.575, 0.565, 1);
}
span:nth-child(2){
top:18px;
transition: 0.4s cubic-bezier(0.39, 0.575, 0.565, 1);
}
span:nth-child(3){
top:27px;
transition: 0.4s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.lol span:nth-child(1){
top: 18px;
transform: rotate(45deg);
}
.lol span:nth-child(2), .lol span:nth-child(3){
top: 18px;
transform: rotate(-45deg);
}