Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
L
O
A
D
I
N
G
L
O
A
D
I
N
G
L
O
A
D
I
N
G
L
O
A
D
I
N
G
L
O
A
D
I
N
G
css
/* basic style */ .cp-preloader{ position: absolute; top: 50%; left: 50%; z-index: 999; -webkit-transform: translate3d(-50%, -50%, 0); transform: translate3d(-50%, -50%, 0); } .cp-preloader__letter{ display: inline-block; position: relative; overflow: hidden; color: rgba(0, 0, 0, .3); } .cp-preloader__letter:before{ content: attr(data-preloader); position: absolute; top: 0; left: 0; -webkit-animation-duration: 3s; animation-duration: 3s; -webkit-animation-iteration-count: infinite; animation-iteration-count: infinite; -webkit-animation-fill-mode: backwards; animation-fill-mode: backwards; } .cp-preloader__letter:nth-child(2):before{ -webkit-animation-delay: 0.3s; animation-delay: 0.3s; } .cp-preloader__letter:nth-child(3):before{ -webkit-animation-delay: 0.45s; animation-delay: 0.45s; } .cp-preloader__letter:nth-child(4):before{ -webkit-animation-delay: 0.6s; animation-delay: 0.6s; } .cp-preloader__letter:nth-child(5):before{ -webkit-animation-delay: 0.75s; animation-delay: 0.75s; } .cp-preloader__letter:nth-child(6):before{ -webkit-animation-delay: 0.9s; animation-delay: 0.9s; } .cp-preloader__letter:nth-child(7):before{ -webkit-animation-delay: 1.05s; animation-delay: 1.05s; } /* type 1 */ .cp-preloader_type1 .cp-preloader__letter:before{ -webkit-animation-name: cp-preloader1; animation-name: cp-preloader1; } @-webkit-keyframes cp-preloader1{ 0%, 100%{ -webkit-transform: rotateY(-90deg); transform: rotateY(-90deg); opacity: 0; } 20%, 50%{ -webkit-transform: rotateY(0); transform: rotateY(0); opacity: 1; } 65%{ -webkit-transform: rotateY(0); transform: rotateY(0); opacity: .3; } 80%{ opacity: 0; } } @keyframes cp-preloader1{ 0%, 100%{ -webkit-transform: rotateY(-90deg); transform: rotateY(-90deg); opacity: 0; } 20%, 50%{ -webkit-transform: rotateY(0); transform: rotateY(0); opacity: 1; } 65%{ -webkit-transform: rotateY(0); transform: rotateY(0); opacity: .3; } 80%{ opacity: 0; } } /* type 2 */ .cp-preloader_type2 .cp-preloader__letter:before{ -webkit-animation-name: cp-preloader2; animation-name: cp-preloader2; } @-webkit-keyframes cp-preloader2{ 0%, 75%, 100%{ -webkit-transform: rotateY(-90deg); transform: rotateY(-90deg); opacity: 0; } 20%, 58%{ -webkit-transform: rotateY(0); transform: rotateY(0); opacity: 1; } } @keyframes cp-preloader2{ 0%, 75%, 100%{ -webkit-transform: rotateY(-90deg); transform: rotateY(-90deg); opacity: 0; } 20%, 58%{ -webkit-transform: rotateY(0); transform: rotateY(0); opacity: 1; } } /* type 3 */ .cp-preloader_type3 .cp-preloader__letter:before{ -webkit-transform-origin: 0 50%; transform-origin: 0 50%; -webkit-animation-name: cp-preloader3; animation-name: cp-preloader3; } @-webkit-keyframes cp-preloader3{ 0%, 100%{ -webkit-transform: rotateY(-90deg); transform: rotateY(-90deg); opacity: 0; } 20%, 50%{ -webkit-transform: rotateY(0); transform: rotateY(0); opacity: 1; } 65%{ -webkit-transform: rotateY(0); transform: rotateY(0); opacity: .3; } 80%{ opacity: 0; } } @keyframes cp-preloader3{ 0%, 100%{ -webkit-transform: rotateY(-90deg); transform: rotateY(-90deg); opacity: 0; } 20%, 50%{ -webkit-transform: rotateY(0); transform: rotateY(0); opacity: 1; } 65%{ -webkit-transform: rotateY(0); transform: rotateY(0); opacity: .3; } 80%{ opacity: 0; } } /* type 4 */ .cp-preloader_type4 .cp-preloader__letter:before{ -webkit-animation-name: cp-preloader4; animation-name: cp-preloader4; } @-webkit-keyframes cp-preloader4{ 0%, 100%{ -webkit-transform: rotateY(-90deg) scale(1); transform: rotateY(-90deg) scale(1); opacity: 0; } 20%, 50%{ -webkit-transform: rotateY(0) scale(1); transform: rotateY(0) scale(1); opacity: 1; } 75%{ -webkit-transform: rotateY(0) scale(1.2); transform: rotateY(0) scale(1.2); opacity: 0; } } @keyframes cp-preloader4{ 0%, 100%{ -webkit-transform: rotateY(-90deg) scale(1); transform: rotateY(-90deg) scale(1); opacity: 0; } 20%, 50%{ -webkit-transform: rotateY(0) scale(1); transform: rotateY(0) scale(1); opacity: 1; } 75%{ -webkit-transform: rotateY(0) scale(1.2); transform: rotateY(0) scale(1.2); opacity: 0; } } /* type 5 */ .cp-preloader_type5 .cp-preloader__letter:before{ -webkit-animation-name: cp-preloader5; animation-name: cp-preloader5; } @-webkit-keyframes cp-preloader5{ 0%, 100%{ -webkit-transform: rotateY(-90deg) scale(1); transform: rotateY(-90deg) scale(1); opacity: 0; } 20%, 50%{ -webkit-transform: rotateY(0) scale(1); transform: rotateY(0) scale(1); opacity: 1; } 65%{ -webkit-transform: rotateY(0) scale(0); transform: rotateY(0) scale(0); opacity: 0; } } @keyframes cp-preloader5{ 0%, 100%{ -webkit-transform: rotateY(-90deg) scale(1); transform: rotateY(-90deg) scale(1); opacity: 0; } 20%, 50%{ -webkit-transform: rotateY(0) scale(1); transform: rotateY(0) scale(1); opacity: 1; } 65%{ -webkit-transform: rotateY(0) scale(0); transform: rotateY(0) scale(0); opacity: 0; } } /* ===== DEMO PRELOADERS ===== */ .cp-preloader__letter{ font-size: 6rem; letter-spacing: 1rem; } .cp-preloader__letter:before{ color: #fff; } /* ===== DEMO ===== */ @media (max-width: 767px){ html{ font-size: 20%; } } @media (min-width: 768px){ html{ font-size: 62.5%; } } body{ font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Open Sans, Ubuntu, Fira Sans, Helvetica Neue, sans-serif; margin: 0; -webkit-overflow-scrolling: touch; overflow-y: scroll; } .demo{ width: 100%; height: 100vh; position: relative; } .demo:nth-of-type(4n+1){ background-color: #009688; } .demo:nth-of-type(4n+2){ background-color: #7b1fa2; } .demo:nth-of-type(4n+3){ background-color: #512da8; } .demo:nth-of-type(4n+4){ background-color: #2196f3; }
JavaScript
粒子
时间
文字
hover
canvas
3d
游戏
音乐
火焰
水波
轮播图
鼠标跟随
动画
css
加载动画
导航
菜单
按钮
滑块
tab
弹出层
统计图
svg
×
Close
在线代码下载提示
开通在线代码永久免费下载,需支付20jQ币
开通后,在线代码模块中所有代码可终身免费下!
您已开通在线代码永久免费下载,关闭提示框后,点下载代码可直接下载!
您已经开通过在线代码永久免费下载
对不起,您的jQ币不足!可通过发布资源 或
直接充值获取jQ币
取消
开通下载
<!doctype html> <html> <head> <meta charset="utf-8"> <title>CSS Loading加载动画-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号