JSDM

HTML

 
1
 <div class="div"></div>

CSS

xxxxxxxxxx
48
 
1
    @keyframes run{
2
      0%{
3
        background-position: 0 0;
4
      }
5
      8.333%{
6
        background-position: -140px 0;
7
      }
8
      16.666%{
9
        background-position: -280px 0 ;
10
      }
11
      25.0%{
12
        background-position: -420px 0 ;
13
      }
14
      33.333%{
15
        background-position: -560px 0 ;
16
      }
17
      41.666%{
18
        background-position: -700px 0 ;
19
      }
20
      50.0%{
21
        background-position: -840px 0 ;
22
      }
23
      58.333%{
24
        background-position: -980px 0 ;
25
      }
26
      66.666%{
27
        background-position: -1120px 0 ;
28
      }
29
      75.0%{
30
        background-position: -1260px 0 ;
31
      }
32
      83.333%{
33
        background-position: -1400px 0 ;
34
      }
35
      91.666%{
36
        background-position: -1540px 0 ;
37
      }
38
      100%{
39
        background-position: 0 0 ;
40
      }
41
    }        
42
.div{
43
  width:140px;
44
  height:140px;
45
  background: url(http://images2015.cnblogs.com/blog/754767/201606/754767-20160601000042992-1734972084.png) ;
46
  animation:run 1s steps(1, start) infinite;
47
  -webkit-animation:run 1s steps(1, start) infinite;
48
}
? ?
? ?
必须是有效的URL
+ 添加另一个资源

JS

x
 
1
必须是有效的URL
+ 添加另一个资源
Close

文件管理 点击文件查看URL

图片

  1. 暂无文件

CSS

  1. 暂无文件

JavaScript

  1. 暂无文件

其他

  1. 暂无文件
拖动文件到上面的区域或者:
加载中 ..................