-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
50 lines (40 loc) · 1.07 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
#spinner{
/* define the default style for the spinner,
including dimensions and borders*/
width: 600px;
height: 60px;
background-image: url('stripes.jpg');
background-position: 0 -100px;
overflow: hidden;
border: black solid;
/*point to the animation function
30 second timeframe and linear (constant)
speed should make it look the most fluid*/
animation: spin 30s infinite linear;
-moz-animation: spin 30s infinite linear;
-webkit-animation: spin 30s infinite linear;
-o-animation: spin 30s infinite linear;
}
/*define the animation function
to scroll down along the from near the top
to near the bottom*/
@keyframes spin
{
from { background-position: 0 -100px; }
to {background-position: 0 -1100px;}
}
@-moz-keyframes spin
{
from { background-position: 0 -100px; }
to {background-position: 0 -1100px;}
}
@-webkit-keyframes spin
{
from { background-position: 0 -100px; }
to {background-position: 0 -1100px;}
}
@-o-keyframes spin
{
from { background-position: 0 -100px; }
to {background-position: 0 -1100px;}
}