<table class="text">
<tr class="li1"><td class="ln"><pre class="de1">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30 { arr1.splice(middle,item); }); return arr1; 2.纯css写一个自转的圆形; @keyframes rotate{ 0%{ -webkit-transform:rotate(0deg);} 100%{-webkit-transform:rotate(360deg);} } .wrapper{ animation:rotate 2s linear infinite; } .wrapper{ width:150px; height:150px; background:linear-gradient(135deg,rgba(111,219,68,1) 0%,1) 50%,rgba(3,153,8,1) 100%); border-radius:50%; } 原文链接:https://www.f2er.com/js/415813.html