HTML and CSS Reference
In-Depth Information
-moz-animation
:
seamove 6s linear infinite
;
/* Firefox support */
animation
:
seamove 6s linear infinite
;
/* Future browsers support
*/
}
And here is the code for the animation itself:
/* Webkit support */
@-webkit-keyframes seamove
{
0%
{
background-position
:
0 0
;
}
100%
{
background-position
:
65px 0
;
}
}
@-moz-keyframes seamove
{
…
}
/* Firefox support */
@-keyframes seamove
{
…
}
/* Future browsers support */