Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
Reset
Loading
Explode
Implode
css
/* Mixins =============================================*/ body { background: #0e294e; } #hud { height: 100%; max-height: 350px; max-width: 350px; z-index: 1; left: 50%; position: fixed; top: 50%; width: 100%; -webkit-transition: all 1s ease-in-out; -sand-transition: all 1s ease-in-out; -moz-transition: all 1s ease-in-out; -ms-transition: all 1s ease-in-out; -o-transition: all 1s ease-in-out; transition: all 1s ease-in-out; -webkit-transform: translate(-50%, -50%); -sand-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } #hud.active { -webkit-transform: translate(-50%, -50%); -sand-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } #hud.loading { -webkit-transition: all 0.5s ease-in-out; -sand-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; -ms-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out; -webkit-transform: translate(-50%, -50%) scale(0.5); -sand-transform: translate(-50%, -50%) scale(0.5); -moz-transform: translate(-50%, -50%) scale(0.5); -ms-transform: translate(-50%, -50%) scale(0.5); -o-transform: translate(-50%, -50%) scale(0.5); transform: translate(-50%, -50%) scale(0.5); } #hud.loading svg { -webkit-transform-origin: 50% 50%; -sand-transform-origin: 50% 50%; -moz-transform-origin: 50% 50%; -ms-transform-origin: 50% 50%; -o-transform-origin: 50% 50%; transform-origin: 50% 50%; -webkit-animation: hud_spin_counter_clockwise 3s infinite linear; -sand-animation: hud_spin_counter_clockwise 3s infinite linear; -moz-animation: hud_spin_counter_clockwise 3s infinite linear; -ms-animation: hud_spin_counter_clockwise 3s infinite linear; -o-animation: hud_spin_counter_clockwise 3s infinite linear; animation: hud_spin_counter_clockwise 3s infinite linear; } #hud.loading svg .hatching { opacity: 0; -webkit-animation: none; -sand-animation: none; -moz-animation: none; -ms-animation: none; -o-animation: none; animation: none; } #hud.loading svg .outer-ring { -webkit-animation: none; -sand-animation: none; -moz-animation: none; -ms-animation: none; -o-animation: none; animation: none; } #hud.loading svg .inner-ring, #hud.loading svg .trace { stroke-width: 6 !important; } #hud.loading svg .inner-ring { -webkit-animation: hud_spin_clockwise 1s infinite linear; -sand-animation: hud_spin_clockwise 1s infinite linear; -moz-animation: hud_spin_clockwise 1s infinite linear; -ms-animation: hud_spin_clockwise 1s infinite linear; -o-animation: hud_spin_clockwise 1s infinite linear; animation: hud_spin_clockwise 1s infinite linear; } #hud.exploded { opacity: 0; -webkit-transition: all 0.5s ease-in-out; -sand-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; -ms-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out; -webkit-transform: translate(-50%, -50%) scale(2.5); -sand-transform: translate(-50%, -50%) scale(2.5); -moz-transform: translate(-50%, -50%) scale(2.5); -ms-transform: translate(-50%, -50%) scale(2.5); -o-transform: translate(-50%, -50%) scale(2.5); transform: translate(-50%, -50%) scale(2.5); } #hud.exploded svg { -webkit-transform-origin: 50% 50%; -sand-transform-origin: 50% 50%; -moz-transform-origin: 50% 50%; -ms-transform-origin: 50% 50%; -o-transform-origin: 50% 50%; transform-origin: 50% 50%; } #hud.hidden:before { opacity: 0; } #hud.hidden svg .hatching, #hud.hidden svg .glow-img, #hud.hidden svg .glow-img-inner, #hud.hidden svg .outer-ring-blue, #hud.hidden svg .outer-ring-red, #hud.hidden svg .inner-ring { -webkit-animation: none; -sand-animation: none; -moz-animation: none; -ms-animation: none; -o-animation: none; animation: none; } #hud:before { content: ' '; top: 50%; left: 50%; height: 1px; position: absolute; width: 1px; -webkit-transition: all 0.5s ease-in-out; -sand-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; -ms-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out; -webkit-box-shadow: 0 0 1000px 200px rgba(70, 131, 176, 0.3); -sand-box-shadow: 0 0 1000px 200px rgba(70, 131, 176, 0.3); -moz-box-shadow: 0 0 1000px 200px rgba(70, 131, 176, 0.3); -ms-box-shadow: 0 0 1000px 200px rgba(70, 131, 176, 0.3); -o-box-shadow: 0 0 1000px 200px rgba(70, 131, 176, 0.3); box-shadow: 0 0 1000px 200px rgba(70, 131, 176, 0.3); } #hud svg { opacity: 1; overflow: visible; -webkit-transform-origin: 50% 50%; -sand-transform-origin: 50% 50%; -moz-transform-origin: 50% 50%; -ms-transform-origin: 50% 50%; -o-transform-origin: 50% 50%; transform-origin: 50% 50%; -webkit-transition: all 0.5s ease-in-out; -sand-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; -ms-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out; } #hud svg .hatching { opacity: 0.4; fill: #FFFFF9; enable-background: new; -webkit-transform-origin: 50% 50%; -sand-transform-origin: 50% 50%; -moz-transform-origin: 50% 50%; -ms-transform-origin: 50% 50%; -o-transform-origin: 50% 50%; transform-origin: 50% 50%; -webkit-transform: translate(1px, 0); -sand-transform: translate(1px, 0); -moz-transform: translate(1px, 0); -ms-transform: translate(1px, 0); -o-transform: translate(1px, 0); transform: translate(1px, 0); -webkit-animation: hud_pulsate 2s infinite ease-in-out; -sand-animation: hud_pulsate 2s infinite ease-in-out; -moz-animation: hud_pulsate 2s infinite ease-in-out; -ms-animation: hud_pulsate 2s infinite ease-in-out; -o-animation: hud_pulsate 2s infinite ease-in-out; animation: hud_pulsate 2s infinite ease-in-out; } #hud svg .glow-img { -webkit-transform-origin: 50% 50%; -sand-transform-origin: 50% 50%; -moz-transform-origin: 50% 50%; -ms-transform-origin: 50% 50%; -o-transform-origin: 50% 50%; transform-origin: 50% 50%; -webkit-transform: scale(1.07); -sand-transform: scale(1.07); -moz-transform: scale(1.07); -ms-transform: scale(1.07); -o-transform: scale(1.07); transform: scale(1.07); } #hud svg .glow-img-inner { -webkit-transform: scale(0.94); -sand-transform: scale(0.94); -moz-transform: scale(0.94); -ms-transform: scale(0.94); -o-transform: scale(0.94); transform: scale(0.94); } #hud svg .outer-ring-blue { -webkit-transform-origin: 50% 50%; -sand-transform-origin: 50% 50%; -moz-transform-origin: 50% 50%; -ms-transform-origin: 50% 50%; -o-transform-origin: 50% 50%; transform-origin: 50% 50%; -webkit-transform: translate(1px, 0); -sand-transform: translate(1px, 0); -moz-transform: translate(1px, 0); -ms-transform: translate(1px, 0); -o-transform: translate(1px, 0); transform: translate(1px, 0); -webkit-animation: hud_spin_clockwise 20s infinite linear; -sand-animation: hud_spin_clockwise 20s infinite linear; -moz-animation: hud_spin_clockwise 20s infinite linear; -ms-animation: hud_spin_clockwise 20s infinite linear; -o-animation: hud_spin_clockwise 20s infinite linear; animation: hud_spin_clockwise 20s infinite linear; } #hud svg .outer-ring-blue .trace { opacity: 0.5; fill: none; stroke: #FFFFFF; stroke-width: 1.5; enable-background: new; } #hud svg .outer-ring-blue .glow { fill: none; stroke: #11A6FD; stroke-width: 9.5; -webkit-animation: hud_fade 2s infinite linear; -sand-animation: hud_fade 2s infinite linear; -moz-animation: hud_fade 2s infinite linear; -ms-animation: hud_fade 2s infinite linear; -o-animation: hud_fade 2s infinite linear; animation: hud_fade 2s infinite linear; } #hud svg .outer-ring-red { -webkit-transform-origin: 50% 50%; -sand-transform-origin: 50% 50%; -moz-transform-origin: 50% 50%; -ms-transform-origin: 50% 50%; -o-transform-origin: 50% 50%; transform-origin: 50% 50%; -webkit-transform: translate(1px, 0); -sand-transform: translate(1px, 0); -moz-transform: translate(1px, 0); -ms-transform: translate(1px, 0); -o-transform: translate(1px, 0); transform: translate(1px, 0); -webkit-animation: hud_spin_counter_clockwise 10s infinite linear; -sand-animation: hud_spin_counter_clockwise 10s infinite linear; -moz-animation: hud_spin_counter_clockwise 10s infinite linear; -ms-animation: hud_spin_counter_clockwise 10s infinite linear; -o-animation: hud_spin_counter_clockwise 10s infinite linear; animation: hud_spin_counter_clockwise 10s infinite linear; -webkit-animation-delay: -1s; -sand-animation-delay: -1s; -moz-animation-delay: -1s; -ms-animation-delay: -1s; -o-animation-delay: -1s; animation-delay: -1s; } #hud svg .outer-ring-red .trace { opacity: 0.5; fill: none; stroke: #FFFFFF; stroke-width: 1.5; enable-background: new; } #hud svg .outer-ring-red .glow { fill: none; stroke: #E23528; stroke-width: 9.5; -webkit-transform: translate(1px, 0); -sand-transform: translate(1px, 0); -moz-transform: translate(1px, 0); -ms-transform: translate(1px, 0); -o-transform: translate(1px, 0); transform: translate(1px, 0); -webkit-animation: hud_flicker 2s infinite linear; -sand-animation: hud_flicker 2s infinite linear; -moz-animation: hud_flicker 2s infinite linear; -ms-animation: hud_flicker 2s infinite linear; -o-animation: hud_flicker 2s infinite linear; animation: hud_flicker 2s infinite linear; -webkit-animation-delay: -1s; -sand-animation-delay: -1s; -moz-animation-delay: -1s; -ms-animation-delay: -1s; -o-animation-delay: -1s; animation-delay: -1s; } #hud svg .inner-ring { opacity: 0.5; fill: none; stroke: #fff; enable-background: new; -webkit-transform-origin: 50% 50%; -sand-transform-origin: 50% 50%; -moz-transform-origin: 50% 50%; -ms-transform-origin: 50% 50%; -o-transform-origin: 50% 50%; transform-origin: 50% 50%; -webkit-transform: translate(1px, 0); -sand-transform: translate(1px, 0); -moz-transform: translate(1px, 0); -ms-transform: translate(1px, 0); -o-transform: translate(1px, 0); transform: translate(1px, 0); -webkit-animation: hud_wind_release 4s infinite ease-out; -sand-animation: hud_wind_release 4s infinite ease-out; -moz-animation: hud_wind_release 4s infinite ease-out; -ms-animation: hud_wind_release 4s infinite ease-out; -o-animation: hud_wind_release 4s infinite ease-out; animation: hud_wind_release 4s infinite ease-out; } #hud.disabled, #hud.hidden { display: block; z-index: -1; } #hud.disabled svg, #hud.hidden svg { opacity: 0; -webkit-transform: scale(0) rotate(-180deg); -sand-transform: scale(0) rotate(-180deg); -moz-transform: scale(0) rotate(-180deg); -ms-transform: scale(0) rotate(-180deg); -o-transform: scale(0) rotate(-180deg); transform: scale(0) rotate(-180deg); } #hud.spin-in svg { opacity: 0; -webkit-transform: scale(0) rotate(-180deg); -sand-transform: scale(0) rotate(-180deg); -moz-transform: scale(0) rotate(-180deg); -ms-transform: scale(0) rotate(-180deg); -o-transform: scale(0) rotate(-180deg); transform: scale(0) rotate(-180deg); } #hud.spin-out svg { opacity: 0; -webkit-transform: scale(3) rotate(-180deg); -sand-transform: scale(3) rotate(-180deg); -moz-transform: scale(3) rotate(-180deg); -ms-transform: scale(3) rotate(-180deg); -o-transform: scale(3) rotate(-180deg); transform: scale(3) rotate(-180deg); } .st0 { opacity: 0.4; fill: #FFFFF9; enable-background: new; } .st1 { fill: none; } .st2 { opacity: 0.5; fill: none; stroke: #FFFFFF; stroke-width: 1.5; enable-background: new; } .st3 { fill: none; stroke: #11A6FD; stroke-width: 9.5; } .st4 { fill: none; stroke: #E23528; stroke-width: 9.5; } .st5 { opacity: 0.5; fill: none; stroke: #FFFFFF; enable-background: new; } @-webkit-keyframes hud_flicker { 10% { opacity: 1; } 50% { opacity: 0.5; } 90% { opacity: 1; } 100% { opacity: 0.7; } } @-moz-keyframes hud_flicker { 10% { opacity: 1; } 50% { opacity: 0.5; } 90% { opacity: 1; } 100% { opacity: 0.7; } } @-ms-keyframes hud_flicker { 10% { opacity: 1; } 50% { opacity: 0.5; } 90% { opacity: 1; } 100% { opacity: 0.7; } } @keyframes hud_flicker { 10% { opacity: 1; } 50% { opacity: 0.5; } 90% { opacity: 1; } 100% { opacity: 0.7; } } @-webkit-keyframes hud_fade { 50% { opacity: 0.5; } } @-moz-keyframes hud_fade { 50% { opacity: 0.5; } } @-ms-keyframes hud_fade { 50% { opacity: 0.5; } } @keyframes hud_fade { 50% { opacity: 0.5; } } @-webkit-keyframes hud_pulsate { 50% { -webkit-transform: scale(0.95); -sand-transform: scale(0.95); -moz-transform: scale(0.95); -ms-transform: scale(0.95); -o-transform: scale(0.95); transform: scale(0.95); } } @-moz-keyframes hud_pulsate { 50% { -webkit-transform: scale(0.95); -sand-transform: scale(0.95); -moz-transform: scale(0.95); -ms-transform: scale(0.95); -o-transform: scale(0.95); transform: scale(0.95); } } @-ms-keyframes hud_pulsate { 50% { -webkit-transform: scale(0.95); -sand-transform: scale(0.95); -moz-transform: scale(0.95); -ms-transform: scale(0.95); -o-transform: scale(0.95); transform: scale(0.95); } } @keyframes hud_pulsate { 50% { -webkit-transform: scale(0.95); -sand-transform: scale(0.95); -moz-transform: scale(0.95); -ms-transform: scale(0.95); -o-transform: scale(0.95); transform: scale(0.95); } } @-webkit-keyframes hud_spin_clockwise { 0% { -webkit-transform: rotate(0deg); -sand-transform: rotate(0deg); -moz-transform: rotate(0deg); -ms-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); } 100% { bottom: 0; -webkit-transform: rotate(-360deg); -sand-transform: rotate(-360deg); -moz-transform: rotate(-360deg); -ms-transform: rotate(-360deg); -o-transform: rotate(-360deg); transform: rotate(-360deg); } } @-moz-keyframes hud_spin_clockwise { 0% { -webkit-transform: rotate(0deg); -sand-transform: rotate(0deg); -moz-transform: rotate(0deg); -ms-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); } 100% { bottom: 0; -webkit-transform: rotate(-360deg); -sand-transform: rotate(-360deg); -moz-transform: rotate(-360deg); -ms-transform: rotate(-360deg); -o-transform: rotate(-360deg); transform: rotate(-360deg); } } @-ms-keyframes hud_spin_clockwise { 0% { -webkit-transform: rotate(0deg); -sand-transform: rotate(0deg); -moz-transform: rotate(0deg); -ms-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); } 100% { bottom: 0; -webkit-transform: rotate(-360deg); -sand-transform: rotate(-360deg); -moz-transform: rotate(-360deg); -ms-transform: rotate(-360deg); -o-transform: rotate(-360deg); transform: rotate(-360deg); } } @keyframes hud_spin_clockwise { 0% { -webkit-transform: rotate(0deg); -sand-transform: rotate(0deg); -moz-transform: rotate(0deg); -ms-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); } 100% { bottom: 0; -webkit-transform: rotate(-360deg); -sand-transform: rotate(-360deg); -moz-transform: rotate(-360deg); -ms-transform: rotate(-360deg); -o-transform: rotate(-360deg); transform: rotate(-360deg); } } @-webkit-keyframes hud_spin_counter_clockwise { 0% { -webkit-transform: rotate(0deg); -sand-transform: rotate(0deg); -moz-transform: rotate(0deg); -ms-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); } 100% { bottom: 0; -webkit-transform: rotate(360deg); -sand-transform: rotate(360deg); -moz-transform: rotate(360deg); -ms-transform: rotate(360deg); -o-transform: rotate(360deg); transform: rotate(360deg); } } @-moz-keyframes hud_spin_counter_clockwise { 0% { -webkit-transform: rotate(0deg); -sand-transform: rotate(0deg); -moz-transform: rotate(0deg); -ms-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); } 100% { bottom: 0; -webkit-transform: rotate(360deg); -sand-transform: rotate(360deg); -moz-transform: rotate(360deg); -ms-transform: rotate(360deg); -o-transform: rotate(360deg); transform: rotate(360deg); } } @-ms-keyframes hud_spin_counter_clockwise { 0% { -webkit-transform: rotate(0deg); -sand-transform: rotate(0deg); -moz-transform: rotate(0deg); -ms-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); } 100% { bottom: 0; -webkit-transform: rotate(360deg); -sand-transform: rotate(360deg); -moz-transform: rotate(360deg); -ms-transform: rotate(360deg); -o-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes hud_spin_counter_clockwise { 0% { -webkit-transform: rotate(0deg); -sand-transform: rotate(0deg); -moz-transform: rotate(0deg); -ms-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); } 100% { bottom: 0; -webkit-transform: rotate(360deg); -sand-transform: rotate(360deg); -moz-transform: rotate(360deg); -ms-transform: rotate(360deg); -o-transform: rotate(360deg); transform: rotate(360deg); } } @-webkit-keyframes hud_wind_release { 90% { -webkit-transform: scale(0.8) rotate(210deg); -sand-transform: scale(0.8) rotate(210deg); -moz-transform: scale(0.8) rotate(210deg); -ms-transform: scale(0.8) rotate(210deg); -o-transform: scale(0.8) rotate(210deg); transform: scale(0.8) rotate(210deg); } } @-moz-keyframes hud_wind_release { 90% { -webkit-transform: scale(0.8) rotate(210deg); -sand-transform: scale(0.8) rotate(210deg); -moz-transform: scale(0.8) rotate(210deg); -ms-transform: scale(0.8) rotate(210deg); -o-transform: scale(0.8) rotate(210deg); transform: scale(0.8) rotate(210deg); } } @-ms-keyframes hud_wind_release { 90% { -webkit-transform: scale(0.8) rotate(210deg); -sand-transform: scale(0.8) rotate(210deg); -moz-transform: scale(0.8) rotate(210deg); -ms-transform: scale(0.8) rotate(210deg); -o-transform: scale(0.8) rotate(210deg); transform: scale(0.8) rotate(210deg); } } @keyframes hud_wind_release { 90% { -webkit-transform: scale(0.8) rotate(210deg); -sand-transform: scale(0.8) rotate(210deg); -moz-transform: scale(0.8) rotate(210deg); -ms-transform: scale(0.8) rotate(210deg); -o-transform: scale(0.8) rotate(210deg); transform: scale(0.8) rotate(210deg); } } .movement { bottom: 30px; position: fixed; left: 100px; } .movement li { display: inline-block; } .buttons a { background: #fff; border-radius: 3px; color: #000; font: normal 14px "Verdana", sans-serif; padding: 5px 8px; text-decoration: none; text-transform: uppercase; } .buttons a:hover { background: #6aa9ff; }
JavaScript
$('.movement a').on('click', function() { var type = $(this).data('type'); $('#hud').removeClass().addClass(type); return false; });
粒子
时间
文字
hover
canvas
3d
游戏
音乐
火焰
水波
轮播图
鼠标跟随
动画
css
加载动画
导航
菜单
按钮
滑块
tab
弹出层
统计图
svg
×
Close
在线代码下载提示
开通在线代码永久免费下载,需支付20jQ币
开通后,在线代码模块中所有代码可终身免费下!
您已开通在线代码永久免费下载,关闭提示框后,点下载代码可直接下载!
您已经开通过在线代码永久免费下载
对不起,您的jQ币不足!可通过发布资源 或
直接充值获取jQ币
取消
开通下载
<!doctype html> <html> <head> <meta charset="utf-8"> <title>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号