Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
Google CSS Loaders
css
html, body { margin: 0; height: 100%; background-color: #03002E; } body { font-family: "Open Sans"; } * { box-sizing: border-box; } h1 { text-align: center; color: white; font-size: 60px; font-weight: 300; margin-bottom: 30px; } .content { max-width: 600px; margin: auto; padding: 5px; height: 100%; display: flex; justify-content: center; flex-wrap: wrap; align-content: flex-start; } .content .column { width: calc(33.33% - 10px); height: 170px; background-color: #040038; margin: 5px; border: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: center; align-items: center; } .container { width: 30px; height: 30px; position: relative; } .container.animation-1 { -webkit-transform: rotate(45deg); transform: rotate(45deg); } .container.animation-2, .container.animation-4 { -webkit-transform: rotate(10deg); transform: rotate(10deg); } .container.animation-2 .shape, .container.animation-4 .shape { border-radius: 5px; } .container.animation-2, .container.animation-3, .container.animation-4 { -webkit-animation: rotation 1s infinite; animation: rotation 1s infinite; } .container.animation-3 .shape1 { border-top-left-radius: 10px; } .container.animation-3 .shape2 { border-top-right-radius: 10px; } .container.animation-3 .shape3 { border-bottom-left-radius: 10px; } .container.animation-3 .shape4 { border-bottom-right-radius: 10px; } .container.animation-4, .container.animation-5 { -webkit-transform: rotate(45deg); transform: rotate(45deg); } .container.animation-5 .shape { width: 15px; height: 15px; } .container.animation-6 { -webkit-animation: rotation 1s infinite; animation: rotation 1s infinite; } .container.animation-6 .shape { width: 12px; height: 12px; border-radius: 2px; } .container .shape { position: absolute; width: 10px; height: 10px; border-radius: 1px; } .container .shape.shape1 { left: 0; background-color: #5C6BC0; } .container .shape.shape2 { right: 0; background-color: #8BC34A; } .container .shape.shape3 { bottom: 0; background-color: #FFB74D; } .container .shape.shape4 { bottom: 0; right: 0; background-color: #F44336; } @-webkit-keyframes rotation { from { -webkit-transform: rotate(0deg); transform: rotate(0deg); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes rotation { from { -webkit-transform: rotate(0deg); transform: rotate(0deg); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } .animation-1 .shape1 { -webkit-animation: animation1shape1 0.5s ease 0s infinite alternate; animation: animation1shape1 0.5s ease 0s infinite alternate; } @-webkit-keyframes animation1shape1 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(16px, 16px); transform: translate(16px, 16px); } } @keyframes animation1shape1 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(16px, 16px); transform: translate(16px, 16px); } } .animation-1 .shape2 { -webkit-animation: animation1shape2 0.5s ease 0s infinite alternate; animation: animation1shape2 0.5s ease 0s infinite alternate; } @-webkit-keyframes animation1shape2 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(-16px, 16px); transform: translate(-16px, 16px); } } @keyframes animation1shape2 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(-16px, 16px); transform: translate(-16px, 16px); } } .animation-1 .shape3 { -webkit-animation: animation1shape3 0.5s ease 0s infinite alternate; animation: animation1shape3 0.5s ease 0s infinite alternate; } @-webkit-keyframes animation1shape3 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(16px, -16px); transform: translate(16px, -16px); } } @keyframes animation1shape3 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(16px, -16px); transform: translate(16px, -16px); } } .animation-1 .shape4 { -webkit-animation: animation1shape4 0.5s ease 0s infinite alternate; animation: animation1shape4 0.5s ease 0s infinite alternate; } @-webkit-keyframes animation1shape4 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(-16px, -16px); transform: translate(-16px, -16px); } } @keyframes animation1shape4 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(-16px, -16px); transform: translate(-16px, -16px); } } .animation-2 .shape1 { -webkit-animation: animation2shape1 0.5s ease 0s infinite alternate; animation: animation2shape1 0.5s ease 0s infinite alternate; } @-webkit-keyframes animation2shape1 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(20px, 20px); transform: translate(20px, 20px); } } @keyframes animation2shape1 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(20px, 20px); transform: translate(20px, 20px); } } .animation-2 .shape2 { -webkit-animation: animation2shape2 0.5s ease 0s infinite alternate; animation: animation2shape2 0.5s ease 0s infinite alternate; } @-webkit-keyframes animation2shape2 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(-20px, 20px); transform: translate(-20px, 20px); } } @keyframes animation2shape2 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(-20px, 20px); transform: translate(-20px, 20px); } } .animation-2 .shape3 { -webkit-animation: animation2shape3 0.5s ease 0s infinite alternate; animation: animation2shape3 0.5s ease 0s infinite alternate; } @-webkit-keyframes animation2shape3 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(20px, -20px); transform: translate(20px, -20px); } } @keyframes animation2shape3 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(20px, -20px); transform: translate(20px, -20px); } } .animation-2 .shape4 { -webkit-animation: animation2shape4 0.5s ease 0s infinite alternate; animation: animation2shape4 0.5s ease 0s infinite alternate; } @-webkit-keyframes animation2shape4 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(-20px, -20px); transform: translate(-20px, -20px); } } @keyframes animation2shape4 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(-20px, -20px); transform: translate(-20px, -20px); } } .animation-3 .shape1 { -webkit-animation: animation3shape1 0.5s ease 0s infinite alternate; animation: animation3shape1 0.5s ease 0s infinite alternate; } @-webkit-keyframes animation3shape1 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(5px, 5px); transform: translate(5px, 5px); } } @keyframes animation3shape1 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(5px, 5px); transform: translate(5px, 5px); } } .animation-3 .shape2 { -webkit-animation: animation3shape2 0.5s ease 0s infinite alternate; animation: animation3shape2 0.5s ease 0s infinite alternate; } @-webkit-keyframes animation3shape2 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(-5px, 5px); transform: translate(-5px, 5px); } } @keyframes animation3shape2 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(-5px, 5px); transform: translate(-5px, 5px); } } .animation-3 .shape3 { -webkit-animation: animation3shape3 0.5s ease 0s infinite alternate; animation: animation3shape3 0.5s ease 0s infinite alternate; } @-webkit-keyframes animation3shape3 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(5px, -5px); transform: translate(5px, -5px); } } @keyframes animation3shape3 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(5px, -5px); transform: translate(5px, -5px); } } .animation-3 .shape4 { -webkit-animation: animation3shape4 0.5s ease 0s infinite alternate; animation: animation3shape4 0.5s ease 0s infinite alternate; } @-webkit-keyframes animation3shape4 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(-5px, -5px); transform: translate(-5px, -5px); } } @keyframes animation3shape4 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(-5px, -5px); transform: translate(-5px, -5px); } } .animation-4 .shape1 { -webkit-animation: animation4shape1 0.3s ease 0s infinite alternate; animation: animation4shape1 0.3s ease 0s infinite alternate; } @-webkit-keyframes animation4shape1 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(5px, 5px); transform: translate(5px, 5px); } } @keyframes animation4shape1 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(5px, 5px); transform: translate(5px, 5px); } } .animation-4 .shape2 { -webkit-animation: animation4shape2 0.3s ease 0.3s infinite alternate; animation: animation4shape2 0.3s ease 0.3s infinite alternate; } @-webkit-keyframes animation4shape2 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(-5px, 5px); transform: translate(-5px, 5px); } } @keyframes animation4shape2 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(-5px, 5px); transform: translate(-5px, 5px); } } .animation-4 .shape3 { -webkit-animation: animation4shape3 0.3s ease 0.3s infinite alternate; animation: animation4shape3 0.3s ease 0.3s infinite alternate; } @-webkit-keyframes animation4shape3 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(5px, -5px); transform: translate(5px, -5px); } } @keyframes animation4shape3 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(5px, -5px); transform: translate(5px, -5px); } } .animation-4 .shape4 { -webkit-animation: animation4shape4 0.3s ease 0s infinite alternate; animation: animation4shape4 0.3s ease 0s infinite alternate; } @-webkit-keyframes animation4shape4 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(-5px, -5px); transform: translate(-5px, -5px); } } @keyframes animation4shape4 { from { -webkit-transform: translate(0, 0); transform: translate(0, 0); } to { -webkit-transform: translate(-5px, -5px); transform: translate(-5px, -5px); } } .animation-5 .shape1 { animation: animation5shape1 2s ease 0s infinite reverse; } @-webkit-keyframes animation5shape1 { 0% { -webkit-transform: translate(0, 0); transform: translate(0, 0); } 25% { -webkit-transform: translate(0, 15px); transform: translate(0, 15px); } 50% { -webkit-transform: translate(15px, 15px); transform: translate(15px, 15px); } 75% { -webkit-transform: translate(15px, 0); transform: translate(15px, 0); } } @keyframes animation5shape1 { 0% { -webkit-transform: translate(0, 0); transform: translate(0, 0); } 25% { -webkit-transform: translate(0, 15px); transform: translate(0, 15px); } 50% { -webkit-transform: translate(15px, 15px); transform: translate(15px, 15px); } 75% { -webkit-transform: translate(15px, 0); transform: translate(15px, 0); } } .animation-5 .shape2 { animation: animation5shape2 2s ease 0s infinite reverse; } @-webkit-keyframes animation5shape2 { 0% { -webkit-transform: translate(0, 0); transform: translate(0, 0); } 25% { -webkit-transform: translate(-15px, 0); transform: translate(-15px, 0); } 50% { -webkit-transform: translate(-15px, 15px); transform: translate(-15px, 15px); } 75% { -webkit-transform: translate(0, 15px); transform: translate(0, 15px); } } @keyframes animation5shape2 { 0% { -webkit-transform: translate(0, 0); transform: translate(0, 0); } 25% { -webkit-transform: translate(-15px, 0); transform: translate(-15px, 0); } 50% { -webkit-transform: translate(-15px, 15px); transform: translate(-15px, 15px); } 75% { -webkit-transform: translate(0, 15px); transform: translate(0, 15px); } } .animation-5 .shape3 { animation: animation5shape3 2s ease 0s infinite reverse; } @-webkit-keyframes animation5shape3 { 0% { -webkit-transform: translate(0, 0); transform: translate(0, 0); } 25% { -webkit-transform: translate(15px, 0); transform: translate(15px, 0); } 50% { -webkit-transform: translate(15px, -15px); transform: translate(15px, -15px); } 75% { -webkit-transform: translate(0, -15px); transform: translate(0, -15px); } } @keyframes animation5shape3 { 0% { -webkit-transform: translate(0, 0); transform: translate(0, 0); } 25% { -webkit-transform: translate(15px, 0); transform: translate(15px, 0); } 50% { -webkit-transform: translate(15px, -15px); transform: translate(15px, -15px); } 75% { -webkit-transform: translate(0, -15px); transform: translate(0, -15px); } } .animation-5 .shape4 { animation: animation5shape4 2s ease 0s infinite reverse; } @-webkit-keyframes animation5shape4 { 0% { -webkit-transform: translate(0, 0); transform: translate(0, 0); } 25% { -webkit-transform: translate(0, -15px); transform: translate(0, -15px); } 50% { -webkit-transform: translate(-15px, -15px); transform: translate(-15px, -15px); } 75% { -webkit-transform: translate(-15px, 0); transform: translate(-15px, 0); } } @keyframes animation5shape4 { 0% { -webkit-transform: translate(0, 0); transform: translate(0, 0); } 25% { -webkit-transform: translate(0, -15px); transform: translate(0, -15px); } 50% { -webkit-transform: translate(-15px, -15px); transform: translate(-15px, -15px); } 75% { -webkit-transform: translate(-15px, 0); transform: translate(-15px, 0); } } .animation-6 .shape1 { -webkit-animation: animation6shape1 2s linear 0s infinite normal; animation: animation6shape1 2s linear 0s infinite normal; } @-webkit-keyframes animation6shape1 { 0% { -webkit-transform: translate(0, 0); transform: translate(0, 0); } 25% { -webkit-transform: translate(0, 18px); transform: translate(0, 18px); } 50% { -webkit-transform: translate(18px, 18px); transform: translate(18px, 18px); } 75% { -webkit-transform: translate(18px, 0); transform: translate(18px, 0); } } @keyframes animation6shape1 { 0% { -webkit-transform: translate(0, 0); transform: translate(0, 0); } 25% { -webkit-transform: translate(0, 18px); transform: translate(0, 18px); } 50% { -webkit-transform: translate(18px, 18px); transform: translate(18px, 18px); } 75% { -webkit-transform: translate(18px, 0); transform: translate(18px, 0); } } .animation-6 .shape2 { -webkit-animation: animation6shape2 2s linear 0s infinite normal; animation: animation6shape2 2s linear 0s infinite normal; } @-webkit-keyframes animation6shape2 { 0% { -webkit-transform: translate(0, 0); transform: translate(0, 0); } 25% { -webkit-transform: translate(-18px, 0); transform: translate(-18px, 0); } 50% { -webkit-transform: translate(-18px, 18px); transform: translate(-18px, 18px); } 75% { -webkit-transform: translate(0, 18px); transform: translate(0, 18px); } } @keyframes animation6shape2 { 0% { -webkit-transform: translate(0, 0); transform: translate(0, 0); } 25% { -webkit-transform: translate(-18px, 0); transform: translate(-18px, 0); } 50% { -webkit-transform: translate(-18px, 18px); transform: translate(-18px, 18px); } 75% { -webkit-transform: translate(0, 18px); transform: translate(0, 18px); } } .animation-6 .shape3 { -webkit-animation: animation6shape3 2s linear 0s infinite normal; animation: animation6shape3 2s linear 0s infinite normal; } @-webkit-keyframes animation6shape3 { 0% { -webkit-transform: translate(0, 0); transform: translate(0, 0); } 25% { -webkit-transform: translate(18px, 0); transform: translate(18px, 0); } 50% { -webkit-transform: translate(18px, -18px); transform: translate(18px, -18px); } 75% { -webkit-transform: translate(0, -18px); transform: translate(0, -18px); } } @keyframes animation6shape3 { 0% { -webkit-transform: translate(0, 0); transform: translate(0, 0); } 25% { -webkit-transform: translate(18px, 0); transform: translate(18px, 0); } 50% { -webkit-transform: translate(18px, -18px); transform: translate(18px, -18px); } 75% { -webkit-transform: translate(0, -18px); transform: translate(0, -18px); } } .animation-6 .shape4 { -webkit-animation: animation6shape4 2s linear 0s infinite normal; animation: animation6shape4 2s linear 0s infinite normal; } @-webkit-keyframes animation6shape4 { 0% { -webkit-transform: translate(0, 0); transform: translate(0, 0); } 25% { -webkit-transform: translate(0, -18px); transform: translate(0, -18px); } 50% { -webkit-transform: translate(-18px, -18px); transform: translate(-18px, -18px); } 75% { -webkit-transform: translate(-18px, 0); transform: translate(-18px, 0); } } @keyframes animation6shape4 { 0% { -webkit-transform: translate(0, 0); transform: translate(0, 0); } 25% { -webkit-transform: translate(0, -18px); transform: translate(0, -18px); } 50% { -webkit-transform: translate(-18px, -18px); transform: translate(-18px, -18px); } 75% { -webkit-transform: translate(-18px, 0); transform: translate(-18px, 0); } } @media screen and (max-width: 600px) { .content { align-content: flex-start; } .content .column { width: calc(50% - 30px); } } @media screen and (max-width: 400px) { .content { align-content: flex-start; } .content .column { width: calc(100% - 30px); } } footer { margin-top: 50px; padding-bottom: 50px; } footer p { text-align: center; margin: 0; line-height: 20px; font-size: 13px; color: white; font-weight: 400; } footer p a { color: #FFB74D; }
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号