JSDM

HTML

 
1
<div class="box">
2
  <i class="b1"></i>
3
  <i class="b2"></i>
4
  <i class="b3"></i>
5
  <i class="b4"></i>
6
</div>

CSS

x
 
1
* {
2
  margin: 0;
3
  padding: 0;
4
  box-sizing: border-box;
5
}
6
7
.box {
8
  position: relative;
9
  margin: 50px;
10
  border: 1px solid #666;
11
  width: 300px;
12
  height: 180px;
13
  overflow: hidden;
14
}
15
16
.box i {
17
  position: absolute;
18
  width: 300px;
19
  height: 300px;
20
  border-radius: 50%;
21
  border: 10px solid;
22
  border-right: transparent 10px solid !important;
23
  border-bottom: transparent 10px solid !important;
24
}
25
26
.box i:before {
27
  content: '';
28
  position: absolute;
29
  border-radius: 50%;
30
  width: 10px;
31
  height: 10px;
32
  background: #fce428;
33
  top: 238px;
34
  left: 33px;
35
}
36
37
.box .b2:before {
38
  top: 202px;
39
  left: 26px;
40
  background: #1eba8a;
41
}
42
43
.box .b3:before {
44
  top: 168px;
45
  left: 20px;
46
  background: #ea21aa;
47
}
48
49
.box .b4:before {
50
  top: 134px;
51
  left: 14px;
52
  background: #65e2f8;
53
54
}
55
56
.box .b1 {
57
  top: -155px;
58
  left: 0;
59
  animation: b1 0.7s forwards;
60
  border-color: #fce428;
61
}
62
63
.box .b2 {
64
  top: -135px;
65
  left: 20px;
66
  width: 260px;
67
  height: 260px;
68
  animation: b2 0.76s forwards;
69
  border-color: #1eba8a;
70
}
71
72
.box .b3 {
73
  top: -115px;
74
  left: 40px;
75
  width: 220px;
76
  height: 220px;
77
  animation: b3 0.78s forwards;
78
  border-color: #ea21aa;
79
}
80
81
82
.box .b4 {
83
  top: -95px;
84
  left: 60px;
85
  width: 180px;
86
  height: 180px;
87
  animation: b4 0.8s forwards;
88
  border-color: #65e2f8;
89
}
90
91
@keyframes b1 {
92
  from {
93
    transform: rotate(406deg);
94
  }
95
96
  to {
97
    transform: rotate(245deg);
98
  }
99
}
100
101
@keyframes b2 {
102
  from {
103
    transform: rotate(406deg);
104
  }
105
106
  to {
107
    transform: rotate(300deg);
108
  }
109
}
110
111
@keyframes b3 {
112
  from {
113
    transform: rotate(406deg);
114
  }
115
116
  to {
117
    transform: rotate(340deg);
118
  }
119
}
120
121
@keyframes b4 {
122
  from {
123
    transform: rotate(406deg);
124
  }
125
126
  to {
127
    transform: rotate(370deg);
128
  }
129
}
? ?
? ?
必须是有效的URL
+ 添加另一个资源

JS

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

文件管理 点击文件查看URL

图片

  1. 暂无文件

CSS

  1. 暂无文件

JavaScript

  1. 暂无文件

其他

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