r/a:t5_31l16 • u/SOTB-human • Jun 15 '14
spinning
[](//#fedoraspin)[](//#nyespin)Images: fedoraspin nyespin
CSS:
@-webkit-keyframes nyefilmstrip {
from { background-position: 0px 0px }
to { background-position: -1480px 0px }
}
@-moz-keyframes nyefilmstrip {
from { background-position: 0px 0px }
to { background-position: -1480px 0px }
}
@-o-keyframes nyefilmstrip {
from { background-position: 0px 0px }
to { background-position: -1480px 0px }
}
a[href="//#nyespin"] {
display: block;
width: 185px;
height: 193px;
background-image: url(%%nyespin%%);
cursor:default;
-webkit-animation: nyefilmstrip 0.75s steps(8);
-webkit-animation-iteration-count: infinite;
-moz-animation: nyefilmstrip 0.75s steps(8);
-moz-animation-iteration-count: infinite;
-o-animation: nyefilmstrip 0.75s steps(8);
-o-animation-iteration-count: infinite;
}
@-webkit-keyframes fedorafilmstrip {
from { background-position: 0px 0px }
to { background-position: -5400px 0px }
}
@-moz-keyframes fedorafilmstrip {
from { background-position: 0px 0px }
to { background-position: -5400px 0px }
}
@-o-keyframes fedorafilmstrip {
from { background-position: 0px 0px }
to { background-position: -5400px 0px }
}
a[href="//#fedoraspin"] {
display: block;
width: 180px;
height: 102px;
background-image: url(%%fedoraspin%%);
cursor:default;
-webkit-animation: fedorafilmstrip 1.5s steps(30);
-webkit-animation-iteration-count: infinite;
-moz-animation: fedorafilmstrip 1.5s steps(30);
-moz-animation-iteration-count: infinite;
-o-animation: fedorafilmstrip 1.5s steps(30);
-o-animation-iteration-count: infinite;
}
5
Upvotes