Skip to content

Commit 61d1013

Browse files
committed
Add loading.css
1 parent 26a7ea5 commit 61d1013

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

static/loading.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
.loading {
2+
position: relative;
3+
width: 85px;
4+
height: 50px;
5+
background-repeat: no-repeat;
6+
background-image: linear-gradient(#FFF 50px, transparent 0),
7+
linear-gradient(#FFF 50px, transparent 0),
8+
linear-gradient(#FFF 50px, transparent 0),
9+
linear-gradient(#FFF 50px, transparent 0),
10+
linear-gradient(#FFF 50px, transparent 0),
11+
linear-gradient(#FFF 50px, transparent 0);
12+
background-position: 0px center, 15px center, 30px center, 45px center, 60px center, 75px center, 90px center;
13+
animation: rikSpikeRoll 0.65s linear infinite alternate;
14+
}
15+
@keyframes rikSpikeRoll {
16+
0% { background-size: 10px 3px;}
17+
16% { background-size: 10px 50px, 10px 3px, 10px 3px, 10px 3px, 10px 3px, 10px 3px}
18+
33% { background-size: 10px 30px, 10px 50px, 10px 3px, 10px 3px, 10px 3px, 10px 3px}
19+
50% { background-size: 10px 10px, 10px 30px, 10px 50px, 10px 3px, 10px 3px, 10px 3px}
20+
66% { background-size: 10px 3px, 10px 10px, 10px 30px, 10px 50px, 10px 3px, 10px 3px}
21+
83% { background-size: 10px 3px, 10px 3px, 10px 10px, 10px 30px, 10px 50px, 10px 3px}
22+
100% { background-size: 10px 3px, 10px 3px, 10px 3px, 10px 10px, 10px 30px, 10px 50px}
23+
}

0 commit comments

Comments
 (0)