Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
css
*, *::before, *::after { padding: 0; margin: 0 auto; box-sizing: border-box; } body { background-color: #0f0; color: #fff; min-height: 100vh; display: flex; justify-content: center; align-items: center; font-size: 40px; overflow: hidden; } .back { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #113; } .millipede { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #000; filter: blur(0.125em) contrast(10); mix-blend-mode: exclusion; } .link { position: absolute; width: 3em; height: 3em; border-radius: 50%; background-color: #fff; perspective: 20em; transform-style: preserve-3d; -webkit-animation: linkLeft 20s var(--ad) infinite linear, linktop 5s calc(var(--ad) - 2.5s) infinite ease-in-out alternate, linkAngle 5s var(--ad) infinite ease-in-out alternate; animation: linkLeft 20s var(--ad) infinite linear, linktop 5s calc(var(--ad) - 2.5s) infinite ease-in-out alternate, linkAngle 5s var(--ad) infinite ease-in-out alternate; } .link:nth-child(1) { --ad: 0s; } .link:nth-child(2) { --ad: -0.7692307692s; } .link:nth-child(3) { --ad: -1.5384615385s; } .link:nth-child(4) { --ad: -2.3076923077s; } .link:nth-child(5) { --ad: -3.0769230769s; } .link:nth-child(6) { --ad: -3.8461538462s; } .link:nth-child(7) { --ad: -4.6153846154s; } .link:nth-child(8) { --ad: -5.3846153846s; } .link:nth-child(9) { --ad: -6.1538461538s; } .link:nth-child(10) { --ad: -6.9230769231s; } .link:nth-child(11) { --ad: -7.6923076923s; } .link:nth-child(12) { --ad: -8.4615384615s; } .link:nth-child(13) { --ad: -9.2307692308s; } .link:nth-child(14) { --ad: -10s; } .link:nth-child(15) { --ad: -10.7692307692s; } .link:nth-child(16) { --ad: -11.5384615385s; } .link:nth-child(17) { --ad: -12.3076923077s; } .link:nth-child(18) { --ad: -13.0769230769s; } .link:nth-child(19) { --ad: -13.8461538462s; } .link:nth-child(20) { --ad: -14.6153846154s; } .link:nth-child(21) { --ad: -15.3846153846s; } .link:nth-child(22) { --ad: -16.1538461538s; } .link:nth-child(23) { --ad: -16.9230769231s; } .link:nth-child(24) { --ad: -17.6923076923s; } .link:nth-child(25) { --ad: -18.4615384615s; } .link:nth-child(26) { --ad: -19.2307692308s; } @-webkit-keyframes linkLeft { from { left: calc(50% + 30em); } to { left: calc(50% - 30em); } } @keyframes linkLeft { from { left: calc(50% + 30em); } to { left: calc(50% - 30em); } } @-webkit-keyframes linktop { from { top: calc(50% + 3em); } to { top: calc(50% - 3em); } } @keyframes linktop { from { top: calc(50% + 3em); } to { top: calc(50% - 3em); } } @-webkit-keyframes linkAngle { from { transform: translate(-50%, -50%) rotate(-45deg); } to { transform: translate(-50%, -50%) rotate(-135deg); } } @keyframes linkAngle { from { transform: translate(-50%, -50%) rotate(-45deg); } to { transform: translate(-50%, -50%) rotate(-135deg); } } .link::before, .link::after { content: ""; position: absolute; top: 50%; width: 0.75em; height: 0.5em; border-radius: 50%; background-color: #f00; } .link::before { right: -0.4em; -webkit-animation: leg 2s calc(var(--ad) / 2.5) infinite linear; animation: leg 2s calc(var(--ad) / 2.5) infinite linear; } .link::after { left: -0.4em; -webkit-animation: leg 2s calc((var(--ad) / 2.5) - -1s) infinite linear; animation: leg 2s calc((var(--ad) / 2.5) - -1s) infinite linear; } @-webkit-keyframes leg { from { transform: translateY(-50%) rotateX(0deg) translateZ(1em) rotateX(360deg); } to { transform: translateY(-50%) rotateX(360deg) translateZ(1em) rotateX(0deg); } } @keyframes leg { from { transform: translateY(-50%) rotateX(0deg) translateZ(1em) rotateX(360deg); } to { transform: translateY(-50%) rotateX(360deg) translateZ(1em) rotateX(0deg); } }
JavaScript
粒子
时间
文字
hover
canvas
3d
游戏
音乐
火焰
水波
轮播图
鼠标跟随
动画
css
加载动画
导航
菜单
按钮
滑块
tab
弹出层
统计图
svg
×
Close
在线代码下载提示
开通在线代码永久免费下载,需支付20jQ币
开通后,在线代码模块中所有代码可终身免费下!
您已开通在线代码永久免费下载,关闭提示框后,点下载代码可直接下载!
您已经开通过在线代码永久免费下载
对不起,您的jQ币不足!可通过发布资源 或
直接充值获取jQ币
取消
开通下载
<!doctype html> <html> <head> <meta charset="utf-8"> <title>css千足动物动画-jq22.com</title> <script src="https://www.jq22.com/jquery/jquery-1.10.2.js"></script> <style>
</style> </head> <body>
<script>
</script>
</body> </html>
2012-2021 jQuery插件库版权所有
jquery插件
|
jq22工具库
|
网页技术
|
广告合作
|
在线反馈
|
版权声明
沪ICP备13043785号-1
浙公网安备 33041102000314号