JSDM

HTML

 
1
<div class="svg-container">
2
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" preserveAspectRatio="xMinYMin meet" class="svg-content" viewBox="0 0 60 40" xml:space="preserve">
3
<g id="Layer_2">
4
  <path id="hand" d="M26.473,26.336c1.311-3.478,5.704-5.484,6.642-5.854c1.044-0.412-1.748-10.108-1.748-11.637
5
    c0.001-1.528,1.82-2.515,2.807-0.698c0.638,1.175,3.884,14.696,4.656,15.955c0.771,1.259,2.229,0.667,2.679-0.284
6
    c0.45-0.953,1.205-2.838,2.098-3.854c0.894-1.016,2.662-0.663,2.526,0.945c-0.088,1.059-3.467,13.086-3.917,13.732
7
    c-0.45,0.647-0.72,1.097-1.422,1.347c-0.701,0.253-5.579,1.76-7.388,1.948c-1.551,0.163-2.378,0.254-3.329-1.42
8
    C28.731,34.151,26.094,27.346,26.473,26.336z"/>
9
  <path id="arrow" d="M56.542,7.168C36.68,0.654,9.444,3.956,9.444,3.956L8.45,1.61L1.364,8.468l9.85,2.194L10.759,8.26
10
    C10.759,8.26,33.398,2.342,56.542,7.168z"/>
11
</g>
12
</svg>
13
</div>

CSS

x
 
1
html, body {
2
  background-color: #005782;
3
}
4
.svg-container {
5
display: inline-block;
6
position: relative;
7
width: 80%;
8
left: 10%;
9
padding-bottom: 66.666666%; /*change according to ratio img w - img h */
10
vertical-align: middle;
11
overflow: hidden;
12
}
13
.svg-content {
14
display: inline-block;
15
position: absolute;
16
top: 0;
17
left: 0;
18
}
19
svg {
20
  fill: #0092bc;
21
}
22
#hand {
23
  animation: move 2s linear infinite;
24
  transform-origin: 50% 50%;
25
  -webkit-animation: move 2s linear infinite;
26
  -webkit-transform-origin: 50% 50%;
27
}
28
@keyframes move {
29
  0% { transform: translate(10px,0px) rotate(30deg);}
30
  40% { transform: translate(10px,0px) rotate(30deg);}
31
  60% { transform: translate(-15px, 0px) rotate(-5deg);}
32
  100% { transform: translate(10px,0px) rotate(30deg);}
33
}
34
@-webkit-keyframes move {
35
  0% { -webkit-transform: translate(10px,0px) rotate(30deg);}
36
  40% { -webkit-transform: translate(10px,0px) rotate(30deg);}
37
  60% { -webkit-transform: translate(-15px, 0px) rotate(-5deg);}
38
  100% { -webkit-transform: translate(10px,0px) rotate(30deg);}
39
}
40
41
? ?
? ?
必须是有效的URL
+ 添加另一个资源

JS

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

文件管理 点击文件查看URL

图片

  1. 暂无文件

CSS

  1. 暂无文件

JavaScript

  1. 暂无文件

其他

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