-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
59 lines (50 loc) · 925 Bytes
/
Copy pathindex.css
File metadata and controls
59 lines (50 loc) · 925 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
49
50
51
52
53
54
55
56
57
58
59
*{
margin: 0%;
box-sizing: border-box;
}
body{
overflow: hidden;
}
.cont{
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: fit-content;
position: sticky;
top: 0;
padding-top: 30px;
}
.anim1 svg{
transform: scale(1.5);
}
.anim1 svg path:nth-child(1){
stroke-dasharray: 235px;
stroke-dashoffset: 235px;
animation: dash 4s linear 0s 1 forwards, dash2 1s linear 4s 1 forwards;
}
.anim1 svg path:nth-child(2){
stroke-dasharray: 287px;
stroke-dashoffset: 287px;
animation: dash 4s linear 4s 1 forwards, dash2 1s linear 9s 1 forwards;
}
/* keyframe */
@keyframes dash{
0%{
stroke-dashoffset: 235px;
}
100%{
stroke-dashoffset: 0px;
}
}
/* keyframe */
@keyframes dash2{
100%{
fill: red;
}
}
.cont2{
display: flex;
justify-content: center;
translate: 0 200px;
}