-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
74 lines (63 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
64
65
66
67
68
69
70
71
72
73
74
* {
margin: 0;
padding: 0;
font-family: 'Poppins';
}
.navbar-open {
display: flex;
animation-duration: 1s;
animation-name: navbar_open;
}
@keyframes navbar_open {
from {
height: 1%;
box-shadow: var(--shadow);
opacity: 0;
}
to {
height: 100%;
opacity: 100%;
box-shadow: var(--ring-offset-shadow,0 0 #0000),var(--ring-shadow,0 0 #0000),var(--shadow);
}
}
/* Line Navbar */
.line {
fill: none;
stroke-width: 6;
transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
border-radius: 25px;
}
.line1 {
stroke-dasharray: 60 207;
stroke-width: 6;
stroke: #000;
}
.line2 {
stroke-dasharray: 60 60;
stroke-width: 6;
stroke: #000;
}
.line3 {
stroke-dasharray: 60 207;
stroke-width: 6;
stroke: #000;
}
.opened .line1 {
stroke-dasharray: 90 207;
stroke-dashoffset: -134;
stroke-width: 6;
stroke: #000;
}
.opened .line2 {
stroke-dasharray: 1 60;
stroke-dashoffset: -30;
stroke-width: 6;
stroke: #000;
}
.opened .line3 {
stroke-dasharray: 90 207;
stroke-dashoffset: -134;
stroke-width: 6;
stroke: #000;
}