div+css实现粒子线条扭曲动画效果代码
代码语言:html
所属分类:动画
代码描述:div+css实现粒子线条扭曲动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> html, body, .wrap { height: 100%; } body { background: black; overflow: hidden; } .wrap { transform-style: preserve-3d; perspective: 400px; animation: hue 4s infinite linear alternate; } .c { height: 3px; width: 3px; position: absolute; top: 50%; transform: rotateX(0) translate3d(0, 0, 0); } .c:nth-child(1) { animation: anim1 10s infinite linear alternate -9.95s; background: rgba(255, 0, 0, 0.8); left: 0.5%; } @keyframes anim1 { 100% { transform: rotateX(50deg) translate3d(0, 0, 0px); } } .c:nth-child(2) { animation: anim2 10s infinite linear alternate -9.9s; background: rgba(255, 6, 0, 0.8); left: 1%; } @keyframes anim2 { 100% { transform: rotateX(100deg) translate3d(0, 0, 5px); } } .c:nth-child(3) { animation: anim3 10s infinite linear alternate -9.85s; background: rgba(255, 13, 0, 0.8); left: 1.5%; } @keyframes anim3 { 100% { transform: rotateX(150deg) translate3d(0, 0, 10px); } } .c:nth-child(4) { animation: anim4 10s infinite linear alternate -9.8s; background: rgba(255, 19, 0, 0.8); left: 2%; } @keyframes anim4 { 100% { transform: rotateX(200deg) translate3d(0, 0, 15px); } } .c:nth-child(5) { animation: anim5 10s infinite linear alternate -9.75s; background: rgba(255, 26, 0, 0.8); left: 2.5%; } @keyframes anim5 { 100% { transform: rotateX(250deg) translate3d(0, 0, 20px); } } .c:nth-child(6) { animation: anim6 10s infinite linear alternate -9.7s; background: rgba(255, 32, 0, 0.8); left: 3%; } @keyframes anim6 { 100% { transform: rotateX(300deg) translate3d(0, 0, 25px); } } .c:nth-child(7) { animation: anim7 10s infinite linear alternate -9.65s; background: rgba(255, 38, 0, 0.8); left: 3.5%; } @keyframes anim7 { 100% { transform: rotateX(350deg) translate3d(0, 0, 30px); } } .c:nth-child(8) { animation: anim8 10s infinite linear alternate -9.6s; background: rgba(255, 45, 0, 0.8); left: 4%; } @keyframes anim8 { 100% { transform: rotateX(400deg) translate3d(0, 0, 35px); } } .c:nth-child(9) { animation: anim9 10s infinite linear alternate -9.55s; background: rgba(255, 51, 0, 0.8); left: 4.5%; } @keyframes anim9 { 100% { transform: rotateX(450deg) translate3d(0, 0, 40px); } } .c:nth-child(10) { animation: anim10 10s infinite linear alternate -9.5s; background: rgba(255, 57, 0, 0.8); left: 5%; } @keyframes anim10 { 100% { transform: rotateX(500deg) translate3d(0, 0, 45px); } } .c:nth-child(11) { animation: anim11 10s infinite linear alternate -9.45s; background: rgba(255, 64, 0, 0.8); left: 5.5%; } @keyframes anim11 { 100% { transform: rotateX(550deg) translate3d(0, 0, 50px); } } .c:nth-child(12) { animation: anim12 10s infinite linear alternate -9.4s; background: rgba(255, 70, 0, 0.8); left: 6%; } @keyframes anim12 { 100% { transform: rotateX(600deg) translate3d(0, 0, 55px); } } .c:nth-child(13) { animation: anim13 10s infinite linear alternate -9.35s; background: rgba(255, 77, 0, 0.8); left: 6.5%; } @keyframes anim13 { 100% { transform: rotateX(650deg) translate3d(0, 0, 60px); } } .c:nth-child(14) { animation: anim14 10s infinite linear alternate -9.3s; background: rgba(255, 83, 0, 0.8); left: 7%; } @keyframes anim14 { 100% { transform: rotateX(700deg) translate3d(0, 0, 65px); } } .c:nth-child(15) { animation: anim15 10s infinite linear alternate -9.25s; background: rgba(255, 89, 0, 0.8); left: 7.5%; } @keyframes anim15 { 100% { transform: rotateX(750deg) translate3d(0, 0, 70px); } } .c:nth-child(16) { animation: anim16 10s infinite linear alternate -9.2s; background: rgba(255, 96, 0, 0.8); left: 8%; } @keyframes anim16 { 100% { transform: rotateX(800deg) translate3d(0, 0, 75px); } } .c:nth-child(17) { animation: anim17 10s infinite linear alternate -9.15s; background: rgba(255, 102, 0, 0.8); left: 8.5%; } @keyframes anim17 { 100% { transform: rotateX(850deg) translate3d(0, 0, 80px); } } .c:nth-child(18) { animation: anim18 10s infinite linear alternate -9.1s; background: rgba(255, 108, 0, 0.8); left: 9%; } @keyframes anim18 { 100% { transform: rotateX(900deg) translate3d(0, 0, 85px); } } .c:nth-child(19) { animation: anim19 10s infinite linear alternate -9.05s; background: rgba(255, 115, 0, 0.8); left: 9.5%; } @keyframes anim19 { 100% { transform: rotateX(950deg) translate3d(0, 0, 90px); } } .c:nth-child(20) { animation: anim20 10s infinite linear alternate -9s; background: rgba(255, 121, 0, 0.8); left: 10%; } @keyframes anim20 { 100% { transform: rotateX(1000deg) translate3d(0, 0, 95px); } } .c:nth-child(21) { animation: anim21 10s infinite linear alternate -8.95s; background: rgba(255, 128, 0, 0.8); left: 10.5%; } @keyframes anim21 { 100% { transform: rotateX(1050deg) translate3d(0, 0, 100px); } } .c:nth-child(22) { animation: anim22 10s infinite linear alternate -8.9s; background: rgba(255, 134, 0, 0.8); left: 11%; } @keyframes anim22 { 100% { transform: rotateX(1100deg) translate3d(0, 0, 95px); } } .c:nth-child(23) { animation: anim23 10s infinite linear alternate -8.85s; background: rgba(255, 140, 0, 0.8); left: 11.5%; } @keyframes anim23 { 100% { transform: rotateX(1150deg) translate3d(0, 0, 90px); } } .c:nth-child(24) { animation: anim24 10s infinite linear alternate -8.8s; background: rgba(255, 147, 0, 0.8); left: 12%; } @keyframes anim24 { 100% { transform: rotateX(1200deg) translate3d(0, 0, 85px); } } .c:nth-child(25) { animation: anim25 10s infinite linear alternate -8.75s; background: rgba(255, 153, 0, 0.8); left: 12.5%; } @keyframes anim25 { 100% { transform: rotateX(1250deg) translate3d(0, 0, 80px); } } .c:nth-child(26) { animation: anim26 10s infinite linear alternate -8.7s; background: rgba(255, 159, 0, 0.8); left: 13%; } @keyframes anim26 { 100% { transform: rotateX(1300deg) translate3d(0, 0, 75px); } } .c:nth-child(27) { animation: anim27 10s infinite linear alternate -8.65s; background: rgba(255, 166, 0, 0.8); left: 13.5%; } @keyframes anim27 { 100% { transform: rotateX(1350deg) translate3d(0, 0, 70px); } } .c:nth-child(28) { animation: anim28 10s infinite linear alternate -8.6s; background: rgba(255, 172, 0, 0.8); left: 14%; } @keyframes anim28 { 100% { transform: rotateX(1400deg) translate3d(0, 0, 65px); } } .c:nth-child(29) { animation: anim29 10s infinite linear alternate -8.55s; background: rgba(255, 179, 0, 0.8); left: 14.5%; } @keyframes anim29 { 100% { transform: rotateX(1450deg) translate3d(0, 0, 60px); } } .c:nth-child(30) { animation: anim30 10s infinite linear alternate -8.5s; background: rgba(255, 185, 0, 0.8); left: 15%; } @keyframes anim30 { 100% { transform: rotateX(1500deg) translate3d(0, 0, 55px); } } .c:nth-child(31) { animation: anim31 10s infinite linear alternate -8.45s; background: rgba(255, 191, 0, 0.8); left: 15.5%; } @keyframes anim31 { 100% { transform: rotateX(1550deg) translate3d(0, 0, 50px); } } .c:nth-child(32) { animation: anim32 10s infinite linear alternate -8.4s; background: rgba(255, 198, 0, 0.8); left: 16%; } @keyframes anim32 { 100% { transform: rotateX(1600deg) translate3d(0, 0, 45px); } } .c:nth-child(33) { animation: anim33 10s infinite linear alternate -8.35s; background: rgba(255, 204, 0, 0.8); left: 16.5%; } @keyframes anim33 { 100% { transform: rotateX(1650deg) translate3d(0, 0, 40px); } } .c:nth-child(34) { animation: anim34 10s infinite linear alternate -8.3s; background: rgba(255, 210, 0, 0.8); left: 17%; } @keyframes anim34 { 100% { transform: rotateX(1700deg) translate3d(0, 0, 35px); } } .c:nth-child(35) { animation: anim35 10s infinite linear alternate -8.25s; background: rgba(255, 217, 0, 0.8); left: 17.5%; } @keyframes anim35 { 100% { transform: rotateX(1750deg) translate3d(0, 0, 30px); } } .c:nth-child(36) { animation: anim36 10s infinite linear alternate -8.2s; background: rgba(255, 223, 0, 0.8); left: 18%; } @keyframes anim36 { 100% { transform: rotateX(1800deg) translate3d(0, 0, 25px); } } .c:nth-child(37) { animation: anim37 10s infinite linear alternate -8.15s; background: rgba(255, 230, 0, 0.8); left: 18.5%; } @keyframes anim37 { 100% { transform: rotateX(1850deg) translate3d(0, 0, 20px); } } .c:nth-child(38) { animation: anim38 10s infinite linear alternate -8.1s; background: rgba(255, 236, 0, 0.8); left: 19%; } @keyframes anim38 { 100% { transform: rotateX(1900deg) translate3d(0, 0, 15px); } } .c:nth-child(39) { animation: anim39 10s infinite linear alternate -8.05s; background: rgba(255, 242, 0, 0.8); left: 19.5%; } @keyframes anim39 { 100% { transform: rotateX(1950deg) translate3d(0, 0, 10px); } } .c:nth-child(40) { animation: anim40 10s infinite linear alternate -8s; background: rgba(255, 249, 0, 0.8); left: 20%; } @keyframes anim40 { 100% { transform: rotateX(2000deg) translate3d(0, 0, 5px); } } .c:nth-child(41) { animation: anim41 10s infinite linear alternate -7.95s; background: rgba(255, 255, 0, 0.8); left: 20.5%; } @keyframes anim41 { 100% { transform: rotateX(2050deg) translate3d(0, 0, 0px); } } .c:nth-child(42) { animation: anim42 10s infinite linear alternate -7.9s; background: rgba(249, 255, 0, 0.8); left: 21%; } @keyframes anim42 { 100% { transform: rotateX(2100deg) translate3d(0, 0, 5px); } } .c:nth-child(43) { animation: anim43 10s infinite linear alternate -7.85s; background: rgba(242, 255, 0, 0.8); left: 21.5%; } @keyframes anim43 { 100% { transform: rotateX(2150deg) translate3d(0, 0, 10px); } } .c:nth-child(44) { animation: anim44 10s infinite linear alternate -7.8s; background: rgba(236, 255, 0, 0.8); left: 22%; } @keyframes anim44 { 100% { transform: rotateX(2200deg) translate3d(0, 0, 15px); } } .c:nth-child(45) { animation: anim45 10s infinite linear alternate -7.75s; background: rgba(230, 255, 0, 0.8); left: 22.5%; } @keyframes anim45 { 100% { transform: rotateX(2250deg) translate3d(0, 0, 20px); } } .c:nth-child(46) { animation: anim46 10s infinite linear alternate -7.7s; background: rgba(223, 255, 0, 0.8); left: 23%; } @keyframes anim46 { 100% { transform: rotateX(2300deg) translate3d(0, 0, 25px); } } .c:nth-child(47) { animation: anim47 10s infinite linear alternate -7.65s; background: rgba(217, 255, 0, 0.8); left: 23.5%; } @keyframes anim47 { 100% { transform: rotateX(2350deg) translate3d(0, 0, 30px); } } .c:nth-child(48) { animation: anim48 10s infinite linear alternate -7.6s; background: rgba(210, 255, 0, 0.8); left: 24%; } @keyframes anim48 { 100% { transform: rotateX(2400deg) translate3d(0, 0, 35px); } } .c:nth-child(49) { animation: anim49 10s infinite linear alternate -7.55s; background: rgba(204, 255, 0, 0.8); left: 24.5%; } @keyframes anim49 { 100% { transform: rotateX(2450deg) translate3d(0, 0, 40px); } } .c:nth-child(50) { animation: anim50 10s infinite linear alternate -7.5s; background: rgba(198, 255, 0, 0.8); left: 25%; } @keyframes anim50 { 100% { transform: rotateX(2500deg) translate3d(0, 0, 45px); } } .c:nth-child(51) { animation: anim51 10s infinite linear alternate -7.45s; background: rgba(191, 255, 0, 0.8); left: 25.5%; } @keyframes anim51 { 100% { transform: rotateX(2550deg) translate3d(0, 0, 50px); } } .c:nth-child(52) { animation: anim52 10s infinite linear alternate -7.4s; background: rgba(185, 255, 0, 0.8); left: 26%; } @keyframes anim52 { 100% { transform: rotateX(2600deg) translate3d(0, 0, 55px); } } .c:nth-child(53) { animation: anim53 10s infinite linear alternate -7.35s; background: rgba(179, 255, 0, 0.8); left: 26.5%; } @keyframes anim53 { 100% { transform: rotateX(2650deg) translate3d(0, 0, 60px); } } .c:nth-child(54) { animation: anim54 10s infinite linear alternate -7.3s; background: rgba(172, 255, 0, 0.8); left: 27%; } @keyframes anim54 { 100% { transform: rotateX(2700deg) translate3d(0, 0, 65px); } } .c:nth-child(55) { animation: anim55 10s infinite linear alternate -7.25s; background: rgba(166, 255, 0, 0.8); left: 27.5%; } @keyframes anim55 { 100% { transform: rotateX(2750deg) translate3d(0, 0, 70px); } } .c:nth-child(56) { animation: anim56 10s infinite linear alternate -7.2s; background: rgba(159, 255, 0, 0.8); left: 28%; } @keyframes anim56 { 100% { transform: rotateX(2800deg) translate3d(0, 0, 75px); } } .c:nth-child(57) { animation: anim57 10s infinite linear alternate -7.15s; background: rgba(153, 255, 0, 0.8); left: 28.5%; } @keyframes anim57 { 100% { transform: rotateX(2850deg) translate3d(0, 0, 80px); } } .c:nth-child(58) { animation: anim58 10s infinite linear alternate -7.1s; background: rgba(147, 255, 0, 0.8); left: 29%; } @keyframes anim58 { 100% { transform: rotateX(2900deg) translate3d(0, 0, 85px); } } .c:nth-child(59) { animation: anim59 10s infinite linear alternate -7.05s; background: rgba(140, 255, 0, 0.8); left: 29.5%; } @keyframes anim59 { 100% { transform: rotateX(2950deg) translate3d(0, 0, 90px); } } .c:nth-child(60) { animation: anim60 10s infinite linear alternate -7s; background: rgba(134, 255, 0, 0.8); left: 30%; } @keyframes anim60 { 100% { transform: rotateX(3000deg) translate3d(0, 0, 95px); } } .c:nth-child(61) { animation: anim61 10s infinite linear alternate -6.95s; background: rgba(128, 255, 0, 0.8); left: 30.5%; } @keyframes anim61 { 100% { transform: rotateX(3050deg) translate3d(0, 0, 100px); } } .c:nth-child(62) { animation: anim62 10s infinite linear alternate -6.9s; background: rgba(121, 255, 0, 0.8); left: 31%; } @keyframes anim62 { 100% { transform: rotateX(3100deg) translate3d(0, 0, 95px); } } .c:nth-child(63) { animation: anim63 10s infinite linear alternate -6.85s; background: rgba(115, 255, 0, 0.8); left: 31.5%; } @keyframes anim63 { 100% { transform: rotateX(3150deg) translate3d(0, 0, 90px); } } .c:nth-child(64) { animation: anim64 10s infinite linear alternate -6.8s; background: rgba(108, 255, 0, 0.8); left: 32%; } @keyframes anim64 { 100% { transform: rotateX(3200deg) translate3d(0, 0, 85px); } } .c:nth-child(65) { animation: anim65 10s infinite linear alternate -6.75s; background: rgba(102, 255, 0, 0.8); left: 32.5%; } @keyframes anim65 { 100% { transform: rotateX(3250deg) translate3d(0, 0, 80px); } } .c:nth-child(66) { animation: anim66 10s infinite linear alternate -6.7s; background: rgba(96, 255, 0, 0.8); left: 33%; } @keyframes anim66 { 100% { transform: rotateX(3300deg) translate3d(0, 0, 75px); } } .c:nth-child(67) { animation: anim67 10s infinite linear alternate -6.65s; background: rgba(89, 255, 0, 0.8); left: 33.5%; } @keyframes anim67 { 100% { transform: rotateX(3350deg) translate3d(0, 0, 70px); } } .c:nth-child(68) { animation: anim68 10s infinite linear alternate -6.6s; background: rgba(83, 255, 0, 0.8); left: 34%; } @keyframes anim68 { 100% { transform: rotateX(3400deg) translate3d(0, 0, 65px); } } .c:nth-child(69) { animation: anim69 10s infinite linear alternate -6.55s; background: rgba(77, 255, 0, 0.8); left: 34.5%; } @keyframes anim69 { 100% { transform: rotateX(3450deg) translate3d(0, 0, 60px); } } .c:nth-child(70) { animation: anim70 10s infinite linear alternate -6.5s; background: rgba(70, 255, 0, 0.8); left: 35%; } @keyframes anim70 { 100% { transform: rotateX(3500deg) translate3d(0, 0, 55px); } } .c:nth-child(71) { animation: anim71 10s infinite linear alternate -6.45s; background: rgba(64, 255, 0, 0.8); left: 35.5%; } @keyframes anim71 { 100% { transform: rotateX(3550deg) translate3d(0, 0, 50px); } } .c:nth-child(72) { animation: anim72 10s infinite linear alternate -6.4s; background: rgba(57, 255, 0, 0.8); left: 36%; } @keyframes anim72 { 100% { transform: rotateX(3600deg) translate3d(0, 0, 45px); } } .c:nth-child(73) { animation: anim73 10s infinite linear alternate -6.35s; background: rgba(51, 255, 0, 0.8); left: 36.5%; } @keyframes anim73 { 100% { transform: rotateX(3650deg) translate3d(0, 0, 40px); } } .c:nth-child(74) { animation: anim74 10s infinite linear alternate -6.3s; background: rgba(45, 255, 0, 0.8); left: 37%; } @keyframes anim74 { 100% { transform: rotateX(3700deg) translate3d(0, 0, 35px); } } .c:nth-child(75) { animation: anim75 10s infinite linear alternate -6.25s; background: rgba(38, 255, 0, 0.8); left: 37.5%; } @keyframes anim75 { 100% { transform: rotateX(3750deg) translate3d(0, 0, 30px); } } .c:nth-child(76) { animation: anim76 10s infinite linear alternate -6.2s; background: rgba(32, 255, 0, 0.8); left: 38%; } @keyframes anim76 { 100% { transform: rotateX(3800deg) translate3d(0, 0, 25px); } } .c:nth-child(77) { animation: anim77 10s infinite linear alternate -6.15s; background: rgba(26, 255, 0, 0.8); left: 38.5%; } @keyframes anim77 { 100% { transform: rotateX(3850deg) translate3d(0, 0, 20px); } } .c:nth-child(78) { animation: anim78 10s infinite linear alternate -6.1s; background: rgba(19, 255, 0, 0.8); left: 39%; } @keyframes anim78 { 100% { transform: rotateX(3900deg) translate3d(0, 0, 15px); } } .c:nth-child(79) { animation: anim79 10s infinite linear alternate -6.05s; background: rgba(13, 255, 0, 0.8); left: 39.5%; } @keyframes anim79 { 100% { transform: rotateX(3950deg) translate3d(0, 0, 10px); } } .c:nth-child(80) { animation: anim80 10s infinite linear alternate -6s; background: rgba(6, 255, 0, 0.8); left: 40%; } @keyframes anim80 { 100% { transform: rotateX(4000deg) translate3d(0, 0, 5px); } } .c:nth-child(81) { animation: anim81 10s infinite linear alternate -5.95s; background: rgba(0, 255, 0, 0.8); left: 40.5%; } @keyframes anim81 { 100% { transform: rotateX(4050deg) translate3d(0, 0, 0px); } } .c:nth-child(82) { animation: anim82 10s infinite linear alternate -5.9s; background: rgba(0, 255, 6, 0.8); left: 41%; } @keyframes anim82 { 100% { transform: rotateX(4100deg) translate3d(0, 0, 5px); } } .c:nth-child(83) { animation: anim83 10s infinite linear alternate -5.85s; background: rgba(0, 255, 13, 0.8); left: 41.5%; } @keyframes anim83 { 100% { transform: rotateX(4150deg) translate3d(0, 0, 10px); } } .c:nth-child(84) { animation: anim84 10s infinite linear alternate -5.8s; background: rgba(0, 255, 19, 0.8); left: 42%; } @keyframes anim84 { 100% { transform: rotateX(4200deg) translate3d(0, 0, 15px); } } .c:nth-child(85) { animation: anim85 10s infinite linear alternate -5.75s; background: rgba(0, 255, 26, 0.8); left: 42.5%; } @keyframes anim85 { 100% { transform: rotateX(4250deg) translate3d(0, 0, 20px); } } .c:nth-child(86) { animation: anim86 10s infinite linear alternate -5.7s; background: rgba(0, 255, 32, 0.8); left: 43%; } @keyframes anim86 { 100% { transform: rotateX(4300deg) translate3d(0, 0, 25px); } } .c:nth-child(87) { animation: anim87 10s infinite linear alternate -5.65s; background: rgba(0, 255, 38, 0.8); left: 43.5%; } @keyframes anim87 { 100% { transform: rotateX(4350deg) translate3d(0, 0, 30px); } } .c:nth-child(88) { animation: anim88 10s infinite linear alternate -5.6s; background: rgba(0, 255, 45, 0.8); left: 44%; } @keyframes anim88 { 100% { transform: rotateX(4400deg) translate3d(0, 0, 35px); } } .c:nth-child(89) { animation: anim89 10s infinite linear alternate -5.55s; background: rgba(0, 255, 51, 0.8); left: 44.5%; } @keyframes anim89 { 100% { transform: rotateX(4450deg) translate3d(0, 0, 40px); } } .c:nth-child(90) { animation: anim90 10s infinite linear alternate -5.5s; background: rgba(0, 255, 57, 0.8); left: 45%; } @keyframes anim90 { 100% { transform: rotateX(4500deg) translate3d(0, 0, 45px); } } .c:nth-child(91) { animation: anim91 10s infinite linear alternate -5.45s; background: rgba(0, 255, 64, 0.8); left: 45.5%; } @keyframes anim91 { 100% { transform: rotateX(4550deg) translate3d(0, 0, 50px); } } .c:nth-child(92) { animation: anim92 10s infinite linear alternate -5.4s; background: rgba(0, 255, 70, 0.8); left: 46%; } @keyframes anim92 { 100% { transform: rotateX(4600deg) translate3d(0, 0, 55px); } } .c:nth-child(93) { animation: anim93 10s infinite linear alternate -5.35s; background: rgba(0, 255, 77, 0.8); left: 46.5%; } @keyframes anim93 { 100% { transform: rotateX(4650deg) translate3d(0, 0, 60px); } } .c:nth-child(94) { animation: anim94 10s infinite linear alternate -5.3s; background: rgba(0, 255, 83, 0.8); left: 47%; } @keyframes anim94 { 100% { transform: rotateX(4700deg) translate3d(0, 0, 65px); } } .c:nth-child(95) { animation: anim95 10s infinite linear alternate -5.25s; background: rgba(0, 255, 89, 0.8); left: 47.5%; } @keyframes anim95 { 100% { transform: rotateX(4750deg) translate3d(0, 0, 70px); } } .c:nth-child(96) { animation: anim96 10s infinite linear alternate -5.2s; background: rgba(0, 255, 96, 0.8); left: 48%; } @keyframes anim96 { 100% { transform: rotateX(4800deg) translate3d(0, 0, 75px); } } .c:nth-child(97) { animation: anim97 10s infinite linear alternate -5.15s; background: rgba(0, 255, 102, 0.8); left: 48.5%; } @keyframes anim97 { 100% { transform: rotateX(4850deg) translate3d(0, 0, 80px); } } .c:nth-child(98) { animation: anim98 10s infinite linear alternate -5.1s; background: rgba(0, 255, 108, 0.8); left: 49%; } @keyframes anim98 { 100% { transform: rotateX(4900deg) translate3d(0, 0, 85px); } } .c:nth-child(99) { animation: anim99 10s infinite linear alternate -5.05s; background: rgba(0, 255, 115, 0.8); left: 49.5%; } @keyframes anim99 { 100% { transform: rotateX(4950deg) translate3d(0, 0, 90px); } } .c:nth-child(100) { animation: anim100 10s infinite linear alternate -5s; background: rgba(0, 255, 121, 0.8); left: 50%; } @keyframes anim100 { 100% { transform: rotateX(5000deg) translate3d(0, 0, 95px); } } .c:nth-child(101) { animation: anim101 10s infinite linear alternate -4.95s; background: rgba(0, 255, 128, 0.8); left: 50.5%; } @keyframes anim101 { 100% { transform: rotateX(5050deg) translate3d(0, 0, 100px); } } .c:nth-child(102) { animation: anim102 10s infinite linear alternate -4.9s; background: rgba(0, 255, 134, 0.8); left: 51%; } @keyframes anim102 { 100% { transform: rotateX(5100deg) translate3d(0, 0, 95px); } } .c:nth-child(103) { animation: anim103 10s infinite linear alternate -4.85s; background: rgba(0, 255, 140, 0.8); left: 51.5%; } @keyframes anim103 { 100% { transform: rotateX(5150deg) translate3d(0, 0, 90px); } } .c:nth-child(104) { animation: anim104 10s infinite linear alternate -4.8s; background: rgba(0, 255, 147, 0.8); left: 52%; } @keyframes anim104 { 100% { transform: rotateX(5200deg) translate3d(0, 0, 85px); } } .c:nth-child(105) { animation: anim105 10s infinite linear alternate -4.75s; background: rgba(0, 255, 153, 0.8); left: 52.5%; } @keyframes anim105 { 100% { transform: rotateX(5250deg) translate3d(0, 0, 80px); } } .c:nth-child(106) { animation: anim106 10s infinite linear alternate -4.7s; background: rgba(0, 255, 159, 0.8); left: 53%; } @keyframes anim106 { 100% { transform: rotateX(5300deg) translate3d(0, 0, 75px); } } .c:nth-child(107) { animation: anim107 10s infinite linear alternate -4.65s; background: rgba(0, 255, 166, 0.8); left: 53.5%; } @keyframes anim107 { 100% { transform: rotateX(5350deg) translate3d(0, 0, 70px); } } .c:nth-child(108) { animation: anim108 10s infinite linear alternate -4.6s; background: rgba(0, 255, 172, 0.8); left: 54%; } @keyframes anim108 { 100% { transform: rotateX(5400deg) translate3d(0, 0, 65px); } } .c:nth-child(109) { animation: anim109 10s infinite linear alternate -4.55s; background: rgba(0, 255, 179, 0.8); left: 54.5%; } @keyframes anim109 { 100% { transform: rotateX(5450deg) translate3d(0, 0, 60px); } } .c:nth-child(110) { animation: anim110 10s infinite linear alternate -4.5s; background: rgba(0, 255, 185, 0.8); left: 55%; } @keyframes anim110 { 100% { transform: rotateX(5500deg) translate3d(0, 0, 55px); } } .c:nth-child(111) { animation: anim111 10s infinite linear alternate -4.45s; background: rgba(0, 255, 191, 0.8); left: 55.5%; } @keyframes anim111 { 100% { transform: rotateX(5550deg) translate3d(0, 0, 50px); } } .c:nth-child(112) { animation: anim112 10s infinite linear alternate -4.4s; background: rgba(0, 255, 198, 0.8); left: 56%; } @keyframes anim112 { 100% { transform: rotateX(5600deg) translate3d(0, 0, 45px); } } .c:nth-child(113) { animation: anim113 10s infinite linear alternate -4.35s; background: rgba(0, 255, 204, 0.8); left: 56.5%; } @keyframes anim113 { 100% { transform: rotateX(5650deg) translate3d(0, 0, 40px); } } .c:nth-child(114) { animation: anim114 10s infinite linear alternate -4.3s; background: rgba(0, 255, 210, 0.8); left: 57%; } @keyframes anim114 { 100% { transform: rotateX(5700deg) translate3d(0, 0, 35px); } } .c:nth-child(115) { animation: anim115 10s infinite linear alternate -4.25s; background: rgba(0, 255, 217, 0.8); left: 57.5%; } @keyframes anim115 { 100% { transform: rotateX(5750deg) translate3d(0, 0, 30px); } } .c:nth-child(116) { animation: anim116 10s infinite linear alternate -4.2s; background: rgba(0, 255, 223, 0.8); left: 58%; } @keyframes anim116 { 100% { transform: rotateX(5800deg) translate3d(0, 0, 25px); } } .c:nth-child(117) { animation: anim117 10s infinite linear alternate -4.15s; background: rgba(0, 255, 230, 0.8); left: 58.5%; } @keyframes anim117 { 100% { transform: rotateX(5850deg) translate3d(0, 0, 20px); } } .c:nth-child(118) { animation: anim118 10s infinite linear alternate -4.1s; background: rgba(0, 255, 236, 0.8); left: 59%; } @keyframes anim118 { 100% { transform: rotateX(5900deg) translate3d(0, 0, 15px); } } .c:nth-child(119) { animation: anim119 10s infinite linear alternate -4.05s; background: rgba(0, 255, 242, 0.8); left: 59.5%; } @keyframes anim119 { 100% { transform: rotateX(5950deg) translate3d(0, 0, 10px); } } .c:nth-child(120) { animation: anim120 10s infinite linear alternate -4s; background: rgba(0, 255, 249, 0.8); left: 60%; } @keyframes anim120 { 100% { transform: rotateX(6000deg) translate3d(0, 0, 5px); } } .c:nth-child(121) { animation: anim121 10s infinite linear alternate -3.95s; background: rgba(0, 255, 255, 0.8); left: 60.5%; } @keyframes anim121 { 100% { transform: rotate.........完整代码请登录后点击上方下载按钮下载查看
网友评论0