-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
63 lines (53 loc) · 1.14 KB
/
style.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
@import url('https://fonts.googleapis.com/css2?family=Anybody:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* humber menu */
.container{
max-width: 1120px;
margin: auto;
}
.hero*{
position: relative;
z-index: 2;
}
.humburger {
cursor: pointer;
width: 24px;
height: 20px;
transition: all .25s;
position: relative;
}
.top,
.bottom,
.middle {
position: absolute;
top: 0;
left: 0;
width: 24px;
height: 2.5px;
border-radius: 50px;
background-color: #000;
transform: rotate(0);
}
.middle {
transform: translateY(8px);
}
.bottom {
transform: translateY(16px);
}
.active {
transform: rotate(90deg);
transform: translateY(0);
}
.active .top {
transform: rotate(45deg) translateY(8px) translate(8px);
}
.active .middle {
display: none;
}
.active .bottom {
transform: rotate(-45deg) translateY(8px) translate(-8px);
}