-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathline.css
More file actions
35 lines (27 loc) · 765 Bytes
/
line.css
File metadata and controls
35 lines (27 loc) · 765 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
.line {
width: 100px;
height: 2px;
background: #b34700;
position: fixed;
top: 86%;
}
#line_r{
-webkit-animation: line_r_animation 3s infinite;
animation: line_r_animation 3s infinite;
}
#line_l{
-webkit-animation: line_l_animation 3s infinite;
animation: line_l_animation 3s infinite;
}
@keyframes line_r_animation {
0% {left: calc(2% + 50px); width: 0px;}
35% {left: calc(2% + 0px); width: 50px;}
70% {left: calc(2% + 0px); width: 0px;}
100% {left: calc(2% + 0px); width: 0px;}
}
@keyframes line_l_animation {
0% {right: calc(2% + 50px); width: 0px;}
35% {right: calc(2% + 0px); width: 50px;}
70% {right: calc(2% + 0px); width: 0px;}
100% {right: calc(2% + 0px); width: 0px;}
}