Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
css
* { border: 0; box-sizing: border-box; margin: 0; padding: 0; } body { background: #2c4763; display: flex; font-size: 16px; height: 100vh; line-height: 1.5; } .cat { margin: auto; position: relative; width: 16em; height: 16em; } .cat__segment { position: absolute; top: 50%; left: 50%; width: 3em; height: 2em; transform: translate(-50%, -50%); } .cat__segment:before { animation: loop 2s cubic-bezier(0.6, 0, 0.4, 1) infinite running; background: linear-gradient(90deg, white 20%, #e6e6e6 20% 80%, white 80%); border-radius: 0.25em; content: ""; display: block; will-change: transform; width: 100%; height: 100%; } .cat__segment:first-of-type { width: 4em; height: 4em; z-index: 1; } .cat__segment:first-of-type:before { background: radial-gradient(0.25em 0.25em at 1.25em 1.6em, white 48%, rgba(255, 255, 255, 0) 50%), radial-gradient(0.75em 0.75em at 1.25em 1.75em, #1a1a1a 48%, rgba(26, 26, 26, 0) 50%), radial-gradient(0.25em 0.25em at 2.75em 1.6em, white 48%, rgba(255, 255, 255, 0) 50%), radial-gradient(0.75em 0.75em at 2.75em 1.75em, #1a1a1a 48%, rgba(26, 26, 26, 0) 50%), radial-gradient(0.9em 0.8em at 1.5em 2.65em, white 48%, rgba(255, 255, 255, 0) 50%), radial-gradient(0.9em 0.8em at 2.5em 2.65em, white 48%, rgba(255, 255, 255, 0) 50%), radial-gradient(1em 0.8em at 1.6em 2.75em, #cccccc 48%, rgba(204, 204, 204, 0) 50%), radial-gradient(1em 0.8em at 2.4em 2.75em, #cccccc 48%, rgba(204, 204, 204, 0) 50%), radial-gradient(0.75em 0.75em at 50% 2.5em, #e69999 48%, rgba(230, 153, 153, 0) 50%), radial-gradient(4em 3em at 50% 2em, white 48%, rgba(255, 255, 255, 0) 50%), radial-gradient(4em 3em at 50% 2.2em, #cccccc 48%, rgba(204, 204, 204, 0) 50%), radial-gradient(1em 3em at 0.75em 1.5em, #e69999 39%, white 40% 49%, rgba(255, 255, 255, 0) 50%), radial-gradient(1em 3em at 3.25em 1.5em, #e69999 39%, white 40% 49%, rgba(255, 255, 255, 0) 50%), radial-gradient(1em 2em at 0.5em 2.8em, white 48%, rgba(255, 255, 255, 0) 50%), radial-gradient(1em 2em at 0.5em 3em, #cccccc 48%, rgba(204, 204, 204, 0) 50%), radial-gradient(1em 2em at 3.5em 2.8em, white 48%, rgba(255, 255, 255, 0) 50%), radial-gradient(1em 2em at 3.5em 3em, #cccccc 48%, rgba(204, 204, 204, 0) 50%); background-repeat: no-repeat; } .cat__segment:last-of-type { width: 3em; height: 4em; } .cat__segment:last-of-type:before { background: linear-gradient(90deg, white 20%, #e6e6e6 20% 80%, white 80%) 0 1.5em/3em 0.5em, radial-gradient(3em 2em at top center, #e6e6e6 30%, white 31% 48%, rgba(255, 255, 255, 0) 50%) 0 2em/3em 2em, radial-gradient(1em 4em at 0.5em 0, white 48%, rgba(255, 255, 255, 0) 50%) 0 2em/3em 2em, radial-gradient(1em 4em at 2.5em 0, white 48%, rgba(255, 255, 255, 0) 50%) 0 2em/3em 2em; background-repeat: no-repeat; } .cat__segment:nth-of-type(1) { transform: translate(-50%, -50%) rotate(-20deg); } .cat__segment:nth-of-type(1):before { animation-delay: 0s; transform: translateX(6em); } .cat__segment:nth-of-type(2) { transform: translate(-50%, -50%) rotate(-18.6666666667deg); } .cat__segment:nth-of-type(2):before { animation-delay: 0.02s; transform: translateX(6em); } .cat__segment:nth-of-type(3) { transform: translate(-50%, -50%) rotate(-17.3333333333deg); } .cat__segment:nth-of-type(3):before { animation-delay: 0.04s; transform: translateX(6em); } .cat__segment:nth-of-type(4) { transform: translate(-50%, -50%) rotate(-16deg); } .cat__segment:nth-of-type(4):before { animation-delay: 0.06s; transform: translateX(6em); } .cat__segment:nth-of-type(5) { transform: translate(-50%, -50%) rotate(-14.6666666667deg); } .cat__segment:nth-of-type(5):before { animation-delay: 0.08s; transform: translateX(6em); } .cat__segment:nth-of-type(6) { transform: translate(-50%, -50%) rotate(-13.3333333333deg); } .cat__segment:nth-of-type(6):before { animation-delay: 0.1s; transform: translateX(6em); } .cat__segment:nth-of-type(7) { transform: translate(-50%, -50%) rotate(-12deg); } .cat__segment:nth-of-type(7):before { animation-delay: 0.12s; transform: translateX(6em); } .cat__segment:nth-of-type(8) { transform: translate(-50%, -50%) rotate(-10.6666666667deg); } .cat__segment:nth-of-type(8):before { animation-delay: 0.14s; transform: translateX(6em); } .cat__segment:nth-of-type(9) { transform: translate(-50%, -50%) rotate(-9.3333333333deg); } .cat__segment:nth-of-type(9):before { animation-delay: 0.16s; transform: translateX(6em); } .cat__segment:nth-of-type(10) { transform: translate(-50%, -50%) rotate(-8deg); } .cat__segment:nth-of-type(10):before { animation-delay: 0.18s; transform: translateX(6em); } .cat__segment:nth-of-type(11) { transform: translate(-50%, -50%) rotate(-6.6666666667deg); } .cat__segment:nth-of-type(11):before { animation-delay: 0.2s; transform: translateX(6em); } .cat__segment:nth-of-type(12) { transform: translate(-50%, -50%) rotate(-5.3333333333deg); } .cat__segment:nth-of-type(12):before { animation-delay: 0.22s; transform: translateX(6em); } .cat__segment:nth-of-type(13) { transform: translate(-50%, -50%) rotate(-4deg); } .cat__segment:nth-of-type(13):before { animation-delay: 0.24s; transform: translateX(6em); } .cat__segment:nth-of-type(14) { transform: translate(-50%, -50%) rotate(-2.6666666667deg); } .cat__segment:nth-of-type(14):before { animation-delay: 0.26s; transform: translateX(6em); } .cat__segment:nth-of-type(15) { transform: translate(-50%, -50%) rotate(-1.3333333333deg); } .cat__segment:nth-of-type(15):before { animation-delay: 0.28s; transform: translateX(6em); } .cat__segment:nth-of-type(16) { transform: translate(-50%, -50%) rotate(0deg); } .cat__segment:nth-of-type(16):before { animation-delay: 0.3s; transform: translateX(6em); } .cat__segment:nth-of-type(17) { transform: translate(-50%, -50%) rotate(1.3333333333deg); } .cat__segment:nth-of-type(17):before { animation-delay: 0.32s; transform: translateX(6em); } .cat__segment:nth-of-type(18) { transform: translate(-50%, -50%) rotate(2.6666666667deg); } .cat__segment:nth-of-type(18):before { animation-delay: 0.34s; transform: translateX(6em); } .cat__segment:nth-of-type(19) { transform: translate(-50%, -50%) rotate(4deg); } .cat__segment:nth-of-type(19):before { animation-delay: 0.36s; transform: translateX(6em); } .cat__segment:nth-of-type(20) { transform: translate(-50%, -50%) rotate(5.3333333333deg); } .cat__segment:nth-of-type(20):before { animation-delay: 0.38s; transform: translateX(6em); } .cat__segment:nth-of-type(21) { transform: translate(-50%, -50%) rotate(6.6666666667deg); } .cat__segment:nth-of-type(21):before { animation-delay: 0.4s; transform: translateX(6em); } .cat__segment:nth-of-type(22) { transform: translate(-50%, -50%) rotate(8deg); } .cat__segment:nth-of-type(22):before { animation-delay: 0.42s; transform: translateX(6em); } .cat__segment:nth-of-type(23) { transform: translate(-50%, -50%) rotate(9.3333333333deg); } .cat__segment:nth-of-type(23):before { animation-delay: 0.44s; transform: translateX(6em); } .cat__segment:nth-of-type(24) { transform: translate(-50%, -50%) rotate(10.6666666667deg); } .cat__segment:nth-of-type(24):before { animation-delay: 0.46s; transform: translateX(6em); } .cat__segment:nth-of-type(25) { transform: translate(-50%, -50%) rotate(12deg); } .cat__segment:nth-of-type(25):before { animation-delay: 0.48s; transform: translateX(6em); } .cat__segment:nth-of-type(26) { transform: translate(-50%, -50%) rotate(13.3333333333deg); } .cat__segment:nth-of-type(26):before { animation-delay: 0.5s; transform: translateX(6em); } .cat__segment:nth-of-type(27) { transform: translate(-50%, -50%) rotate(14.6666666667deg); } .cat__segment:nth-of-type(27):before { animation-delay: 0.52s; transform: translateX(6em); } .cat__segment:nth-of-type(28) { transform: translate(-50%, -50%) rotate(16deg); } .cat__segment:nth-of-type(28):before { animation-delay: 0.54s; transform: translateX(6em); } .cat__segment:nth-of-type(29) { transform: translate(-50%, -50%) rotate(17.3333333333deg); } .cat__segment:nth-of-type(29):before { animation-delay: 0.56s; transform: translateX(6em); } .cat__segment:nth-of-type(30) { transform: translate(-50%, -50%) rotate(18.6666666667deg); } .cat__segment:nth-of-type(30):before { animation-delay: 0.58s; transform: translateX(6em); } @keyframes loop { from { transform: rotate(0) translateX(6em); } to { transform: rotate(-1turn) translateX(6em); } }
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号