<link rel="stylesheet" href="sumaho.css" type="text/css"> <link rel="stylesheet" href="girl.css"> |
<body> <img class="girl"> |
.girl { width:128px; height:216px; margin:1em auto; overflow:hidden; background:url(girl.gif); animation:girl 1.0s steps(6,end) infinite; } @keyframes girl { 100% {background-position:-768px;} } |
animation:girl 2.0s steps(6,end); |