Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
css
body { width: 100vw; height: 100vh; overflow: hidden; background-color: #171723; } .canvas { position: absolute; top: calc(50% - 250px); left: calc(50% - 250px); width: 100%; height: 100%; max-width: 500px; max-height: 500px; } .group { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } @-webkit-keyframes dot-x-animation { 0%, 100%, 50% { -webkit-transform: translateX(0); transform: translateX(0); -webkit-animation-timing-function: cubic-bezier(0.39, 0.575, 0.565, 1); animation-timing-function: cubic-bezier(0.39, 0.575, 0.565, 1); } 20% { -webkit-transform: translateX(-2000%); transform: translateX(-2000%); -webkit-animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715); animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715); } 75% { -webkit-transform: translateX(2000%); transform: translateX(2000%); -webkit-animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715); animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715); } } @keyframes dot-x-animation { 0%, 100%, 50% { -webkit-transform: translateX(0); transform: translateX(0); -webkit-animation-timing-function: cubic-bezier(0.39, 0.575, 0.565, 1); animation-timing-function: cubic-bezier(0.39, 0.575, 0.565, 1); } 20% { -webkit-transform: translateX(-2000%); transform: translateX(-2000%); -webkit-animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715); animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715); } 75% { -webkit-transform: translateX(2000%); transform: translateX(2000%); -webkit-animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715); animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715); } } @-webkit-keyframes dot-y-animation { 0%, 100% { -webkit-transform: translateY(0) scale(2); transform: translateY(0) scale(2); -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; } 50% { -webkit-transform: translateY(-2200%) scale(1); transform: translateY(-2200%) scale(1); -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; } } @keyframes dot-y-animation { 0%, 100% { -webkit-transform: translateY(0) scale(2); transform: translateY(0) scale(2); -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; } 50% { -webkit-transform: translateY(-2200%) scale(1); transform: translateY(-2200%) scale(1); -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; } } .dot { position: absolute; top: calc(50% - 3px); left: calc(50% - 3px); width: 6px; height: 6px; } .dot div { width: 100%; height: 100%; -webkit-animation: dot-x-animation 2.5s infinite; animation: dot-x-animation 2.5s infinite; } .dot div::before { content: ''; display: block; width: 100%; height: 100%; border-radius: 50%; -webkit-animation: dot-y-animation 2.5s infinite; animation: dot-y-animation 2.5s infinite; } .dot--aqua div::before { background-color: aqua; } .dot--gold div, .dot--gold div::before { -webkit-animation-delay: 0.2s; animation-delay: 0.2s; } .dot--gold div::before { background-color: gold; } .dot--tomato div, .dot--tomato div::before { -webkit-animation-delay: 0.4s; animation-delay: 0.4s; } .dot--tomato div::before { background-color: tomato; } .dot:nth-child(1) { -webkit-transform: rotate(0grad); transform: rotate(0grad); } .dot:nth-child(2) { -webkit-transform: rotate(33.33grad); transform: rotate(33.33grad); } .dot:nth-child(3) { -webkit-transform: rotate(66.66grad); transform: rotate(66.66grad); } .dot:nth-child(4) { -webkit-transform: rotate(99.99grad); transform: rotate(99.99grad); } .dot:nth-child(5) { -webkit-transform: rotate(133.32grad); transform: rotate(133.32grad); } .dot:nth-child(6) { -webkit-transform: rotate(166.65grad); transform: rotate(166.65grad); } .dot:nth-child(7) { -webkit-transform: rotate(199.98grad); transform: rotate(199.98grad); } .dot:nth-child(8) { -webkit-transform: rotate(233.31grad); transform: rotate(233.31grad); } .dot:nth-child(9) { -webkit-transform: rotate(266.64grad); transform: rotate(266.64grad); } .dot:nth-child(10) { -webkit-transform: rotate(299.97grad); transform: rotate(299.97grad); } .dot:nth-child(11) { -webkit-transform: rotate(333.3grad); transform: rotate(333.3grad); } .dot:nth-child(12) { -webkit-transform: rotate(366.63grad); transform: rotate(366.63grad); } .dot:nth-child(13) { -webkit-transform: rotate(399.96grad); transform: rotate(399.96grad); } .dot:nth-child(14) { -webkit-transform: rotate(433.29grad); transform: rotate(433.29grad); } .dot:nth-child(15) { -webkit-transform: rotate(466.62grad); transform: rotate(466.62grad); } .dot:nth-child(16) { -webkit-transform: rotate(499.95grad); transform: rotate(499.95grad); } .dot:nth-child(17) { -webkit-transform: rotate(533.28grad); transform: rotate(533.28grad); } .dot:nth-child(18) { -webkit-transform: rotate(566.61grad); transform: rotate(566.61grad); } .dot:nth-child(19) { -webkit-transform: rotate(599.94grad); transform: rotate(599.94grad); } .dot:nth-child(20) { -webkit-transform: rotate(633.27grad); transform: rotate(633.27grad); }
JavaScript
粒子
时间
文字
hover
canvas
3d
游戏
音乐
火焰
水波
轮播图
鼠标跟随
动画
css
加载动画
导航
菜单
按钮
滑块
tab
弹出层
统计图
svg
×
Close
在线代码下载提示
开通在线代码永久免费下载,需支付20jQ币
开通后,在线代码模块中所有代码可终身免费下!
您已开通在线代码永久免费下载,关闭提示框后,点下载代码可直接下载!
您已经开通过在线代码永久免费下载
对不起,您的jQ币不足!可通过发布资源 或
直接充值获取jQ币
取消
开通下载
<!doctype html> <html> <head> <meta charset="utf-8"> <title>cssloop 002-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号