Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
Loading - Chris Li
( Animation Practice )
css
body { font-family: 'Oswald', sans-serif; } .container { width: 100%; height: 100vh; background-color: #F4F4F4; background-image: linear-gradient(90deg, white 0%, #FAF3DE 100%); display: flex; align-items: center; justify-content: center; flex-direction: column; } .container h1 { margin-bottom: 40px; letter-spacing: 1px; } .container h1 span { font-style: italic; font-size: 16px; } .container .wave { width: 20px; position: relative; transform-style: preserve-3d; perspective: 1000px; animation: Spin 19s cubic-bezier(0.42, 0, 0.58, 1) infinite; } .container .wave .dot { width: 20px; height: 1px; background-color: #464141; display: inline-block; vertical-align: middle; margin: 16px auto; position: relative; transform: scale(0.6); } .container .wave .dot:before, .container .wave .dot:after { content: ""; display: inline-block; vertical-align: middle; width: 20px; height: 20px; border-radius: 50%; position: absolute; top: -10px; left: -1px; } .container .wave .dot:nth-child(1):before { animation: Before 1.9s cubic-bezier(0.42, 0, 0.58, 1) infinite; animation-fill-mode: forwards; animation-delay: -1.71s; background-color: #42dbc0; box-shadow: inset 2px 2px 5px #57dfc7 10; } .container .wave .dot:nth-child(1):after { animation: After 1.9s cubic-bezier(0.42, 0, 0.58, 1) infinite; animation-fill-mode: forwards; animation-delay: -1.71s; background-color: #6f58ee; box-shadow: inset 2px 2px 5px #9786f3; } .container .wave .dot:nth-child(2):before { animation: Before 1.9s cubic-bezier(0.42, 0, 0.58, 1) infinite; animation-fill-mode: forwards; animation-delay: -3.42s; background-color: #42dbc0; box-shadow: inset 2px 2px 5px #57dfc7 10; } .container .wave .dot:nth-child(2):after { animation: After 1.9s cubic-bezier(0.42, 0, 0.58, 1) infinite; animation-fill-mode: forwards; animation-delay: -3.42s; background-color: #6f58ee; box-shadow: inset 2px 2px 5px #9786f3; } .container .wave .dot:nth-child(3):before { animation: Before 1.9s cubic-bezier(0.42, 0, 0.58, 1) infinite; animation-fill-mode: forwards; animation-delay: -5.13s; background-color: #42dbc0; box-shadow: inset 2px 2px 5px #57dfc7 10; } .container .wave .dot:nth-child(3):after { animation: After 1.9s cubic-bezier(0.42, 0, 0.58, 1) infinite; animation-fill-mode: forwards; animation-delay: -5.13s; background-color: #6f58ee; box-shadow: inset 2px 2px 5px #9786f3; } .container .wave .dot:nth-child(4):before { animation: Before 1.9s cubic-bezier(0.42, 0, 0.58, 1) infinite; animation-fill-mode: forwards; animation-delay: -6.84s; background-color: #42dbc0; box-shadow: inset 2px 2px 5px #57dfc7 10; } .container .wave .dot:nth-child(4):after { animation: After 1.9s cubic-bezier(0.42, 0, 0.58, 1) infinite; animation-fill-mode: forwards; animation-delay: -6.84s; background-color: #6f58ee; box-shadow: inset 2px 2px 5px #9786f3; } .container .wave .dot:nth-child(5):before { animation: Before 1.9s cubic-bezier(0.42, 0, 0.58, 1) infinite; animation-fill-mode: forwards; animation-delay: -8.55s; background-color: #42dbc0; box-shadow: inset 2px 2px 5px #57dfc7 10; } .container .wave .dot:nth-child(5):after { animation: After 1.9s cubic-bezier(0.42, 0, 0.58, 1) infinite; animation-fill-mode: forwards; animation-delay: -8.55s; background-color: #6f58ee; box-shadow: inset 2px 2px 5px #9786f3; } .container .wave .dot:nth-child(6):before { animation: Before 1.9s cubic-bezier(0.42, 0, 0.58, 1) infinite; animation-fill-mode: forwards; animation-delay: -10.26s; background-color: #42dbc0; box-shadow: inset 2px 2px 5px #57dfc7 10; } .container .wave .dot:nth-child(6):after { animation: After 1.9s cubic-bezier(0.42, 0, 0.58, 1) infinite; animation-fill-mode: forwards; animation-delay: -10.26s; background-color: #6f58ee; box-shadow: inset 2px 2px 5px #9786f3; } .container .wave .dot:nth-child(7):before { animation: Before 1.9s cubic-bezier(0.42, 0, 0.58, 1) infinite; animation-fill-mode: forwards; animation-delay: -11.97s; background-color: #42dbc0; box-shadow: inset 2px 2px 5px #57dfc7 10; } .container .wave .dot:nth-child(7):after { animation: After 1.9s cubic-bezier(0.42, 0, 0.58, 1) infinite; animation-fill-mode: forwards; animation-delay: -11.97s; background-color: #6f58ee; box-shadow: inset 2px 2px 5px #9786f3; } .container .wave .dot:nth-child(8):before { animation: Before 1.9s cubic-bezier(0.42, 0, 0.58, 1) infinite; animation-fill-mode: forwards; animation-delay: -13.68s; background-color: #42dbc0; box-shadow: inset 2px 2px 5px #57dfc7 10; } .container .wave .dot:nth-child(8):after { animation: After 1.9s cubic-bezier(0.42, 0, 0.58, 1) infinite; animation-fill-mode: forwards; animation-delay: -13.68s; background-color: #6f58ee; box-shadow: inset 2px 2px 5px #9786f3; } .container .wave .dot:nth-child(9):before { animation: Before 1.9s cubic-bezier(0.42, 0, 0.58, 1) infinite; animation-fill-mode: forwards; animation-delay: -15.39s; background-color: #42dbc0; box-shadow: inset 2px 2px 5px #57dfc7 10; } .container .wave .dot:nth-child(9):after { animation: After 1.9s cubic-bezier(0.42, 0, 0.58, 1) infinite; animation-fill-mode: forwards; animation-delay: -15.39s; background-color: #6f58ee; box-shadow: inset 2px 2px 5px #9786f3; } .container .wave .dot:nth-child(10):before { animation: Before 1.9s cubic-bezier(0.42, 0, 0.58, 1) infinite; animation-fill-mode: forwards; animation-delay: -17.1s; background-color: #42dbc0; box-shadow: inset 2px 2px 5px #57dfc7 10; } .container .wave .dot:nth-child(10):after { animation: After 1.9s cubic-bezier(0.42, 0, 0.58, 1) infinite; animation-fill-mode: forwards; animation-delay: -17.1s; background-color: #6f58ee; box-shadow: inset 2px 2px 5px #9786f3; } @keyframes Before { 0% { left: -40px; z-index: 10; } 25% { transform: scale(1.4); z-index: 10; } 50% { left: 40px; z-index: 1; } 75% { background-color: #42c3c0; box-shadow: inset 2px 2px 5px #69cfcd; transform: scale(0.6); z-index: 1; } 100% { left: -40px; z-index: 1; } } @keyframes After { 0% { left: 40px; z-index: 1; } 25% { background-color: #7434f3; box-shadow: inset 2px 2px 5px #9564f6; transform: scale(0.6); z-index: 1; } 50% { left: -40px; z-index: 10; } 75% { transform: scale(1.4); z-index: 10; } 100% { left: 40px; z-index: 10; } } @keyframes Spin { 0% { transform: rotateZ(0deg); } 100% { transform: rotateZ(360deg); } }
JavaScript
粒子
时间
文字
hover
canvas
3d
游戏
音乐
火焰
水波
轮播图
鼠标跟随
动画
css
加载动画
导航
菜单
按钮
滑块
tab
弹出层
统计图
svg
×
Close
在线代码下载提示
开通在线代码永久免费下载,需支付20jQ币
开通后,在线代码模块中所有代码可终身免费下!
您已开通在线代码永久免费下载,关闭提示框后,点下载代码可直接下载!
您已经开通过在线代码永久免费下载
对不起,您的jQ币不足!可通过发布资源 或
直接充值获取jQ币
取消
开通下载
<!doctype html> <html> <head> <meta charset="utf-8"> <title>dna加载动画-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号