/
style.css
43 lines (39 loc) · 1.03 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
.stars, .twinkling {
position:absolute;
top:0;
left:0;
right:0;
bottom:0;
width:100%;
height:100%;
display:block;
}
.stars {
background:#000 url(images/stars.png) repeat top center;
z-index:0;
}
.twinkling{
background:transparent url(images/twinkling.png) repeat top center;
z-index:1;
-moz-animation:move-twink-back 500s linear infinite;
-ms-animation:move-twink-back 500s linear infinite;
-o-animation:move-twink-back 500s linear infinite;
-webkit-animation:move-twink-back 500s linear infinite;
animation:move-twink-back 500s linear infinite;
}
@keyframes move-twink-back {
from {background-position:0 0;}
to {background-position:-10000px 5000px;}
}
@-webkit-keyframes move-twink-back {
from {background-position:0 0;}
to {background-position:-10000px 5000px;}
}
@-moz-keyframes move-twink-back {
from {background-position:0 0;}
to {background-position:-10000px 5000px;}
}
@-ms-keyframes move-twink-back {
from {background-position:0 0;}
to {background-position:-10000px 5000px;}
}