Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
css
body { background: #121212; } p { color: #666; font-size: 12px; text-align: center; } .stage { position: absolute; top: 50%; left: 50%; width: 600px; height: 96px; margin-left: -300px; margin-top: -30px; } svg { width: 48px; height: 48px; margin: 24px 0 0 40px; fill: #fff; } /* Thunder Bolt Animation */ .thunder-cloud .bolt { -webkit-animation: flash 2s infinite; animation: flash 2s infinite; } @-webkit-keyframes flash { 0% { -webkit-transform: translateY(-25px) translateX(25px) scaleY(0.95); transform: translateY(-25px) translateX(25px) scaleY(0.95); opacity: 0; } 5%, 25% { opacity: 1; } 15%, 20% { opacity: 0; } 50% { -webkit-transform: translateY(8px) translateX(-10px); transform: translateY(8px) translateX(-10px); opacity: 1; } 80% { -webkit-transform: translateY(8px) translateX(-10px); transform: translateY(8px) translateX(-10px); opacity: 0; } 100% { -webkit-transform: translateY(-25px) translateX(25px) scaleY(0.95); transform: translateY(-25px) translateX(25px) scaleY(0.95); opacity: 0; } } @keyframes flash { 0% { -webkit-transform: translateY(-25px) translateX(25px) scaleY(0.95); transform: translateY(-25px) translateX(25px) scaleY(0.95); opacity: 0; } 5%, 25% { opacity: 1; } 15%, 20% { opacity: 0; } 50% { -webkit-transform: translateY(8px) translateX(-10px); transform: translateY(8px) translateX(-10px); opacity: 1; } 80% { -webkit-transform: translateY(8px) translateX(-10px); transform: translateY(8px) translateX(-10px); opacity: 0; } 100% { -webkit-transform: translateY(-25px) translateX(25px) scaleY(0.95); transform: translateY(-25px) translateX(25px) scaleY(0.95); opacity: 0; } } /* Raindrops Animation */ .rain-cloud .raindrop-one, .rain-cloud .raindrop-two, .rain-cloud .raindrop-three { opacity: 0; -webkit-animation-timing-function: cubic-bezier(1, 0, 1, 1); animation-timing-function: cubic-bezier(1, 0, 1, 1); } .rain-cloud .raindrop-one { -webkit-animation: falling-drop-one 2s infinite; animation: falling-drop-one 2s infinite; } .rain-cloud .raindrop-two { -webkit-animation: falling-drop-two 1.90s infinite; animation: falling-drop-two 1.90s infinite; -webkit-animation-delay: 0.8s; animation-delay: 0.8s; } .rain-cloud .raindrop-three { -webkit-animation: falling-drop-three 1.80s infinite; animation: falling-drop-three 1.80s infinite; -webkit-animation-delay: 0.5s; animation-delay: 0.5s; } @-webkit-keyframes falling-drop-one { 0% { -webkit-transform: translateY(-35px); transform: translateY(-35px); opacity: 0; } 10% { -webkit-transform: translateY(-15px); transform: translateY(-15px); opacity: 1; } 30% { opacity: 1; } 60% { -webkit-transform: translateY(100px); transform: translateY(100px); opacity: 0; } 100% { -webkit-transform: translateY(-35px); transform: translateY(-35px); opacity: 0; } } @keyframes falling-drop-one { 0% { -webkit-transform: translateY(-35px); transform: translateY(-35px); opacity: 0; } 10% { -webkit-transform: translateY(-15px); transform: translateY(-15px); opacity: 1; } 30% { opacity: 1; } 60% { -webkit-transform: translateY(100px); transform: translateY(100px); opacity: 0; } 100% { -webkit-transform: translateY(-35px); transform: translateY(-35px); opacity: 0; } } @-webkit-keyframes falling-drop-two { 0% { -webkit-transform: translateY(-105px); transform: translateY(-105px); opacity: 0; } 10% { -webkit-transform: translateY(-85px); transform: translateY(-85px); opacity: 1; } 30% { opacity: 1; } 60% { -webkit-transform: translateY(5px); transform: translateY(5px); opacity: 0; } 100% { -webkit-transform: translateY(-105px); transform: translateY(-105px); opacity: 0; } } @keyframes falling-drop-two { 0% { -webkit-transform: translateY(-105px); transform: translateY(-105px); opacity: 0; } 10% { -webkit-transform: translateY(-85px); transform: translateY(-85px); opacity: 1; } 30% { opacity: 1; } 60% { -webkit-transform: translateY(5px); transform: translateY(5px); opacity: 0; } 100% { -webkit-transform: translateY(-105px); transform: translateY(-105px); opacity: 0; } } @-webkit-keyframes falling-drop-three { 0% { -webkit-transform: translateY(-105px); transform: translateY(-105px); opacity: 0; } 10% { -webkit-transform: translateY(-85px); transform: translateY(-85px); opacity: 1; } 30% { opacity: 1; } 60% { -webkit-transform: translateY(35px); transform: translateY(35px); opacity: 0; } 100% { -webkit-transform: translateY(-105px); transform: translateY(-105px); opacity: 0; } } @keyframes falling-drop-three { 0% { -webkit-transform: translateY(-105px); transform: translateY(-105px); opacity: 0; } 10% { -webkit-transform: translateY(-85px); transform: translateY(-85px); opacity: 1; } 30% { opacity: 1; } 60% { -webkit-transform: translateY(35px); transform: translateY(35px); opacity: 0; } 100% { -webkit-transform: translateY(-105px); transform: translateY(-105px); opacity: 0; } } /* Snowflake Animations */ .snow-cloud .snowflake-one, .snow-cloud .snowflake-two, .snow-cloud .snowflake-three { opacity: 0; -webkit-transform-origin: center center; transform-origin: center center; -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; } .snow-cloud .snowflake-one { -webkit-animation: falling-snow-one 4s infinite; animation: falling-snow-one 4s infinite; } .snow-cloud .snowflake-two { -webkit-animation: falling-snow-two 3.8s infinite; animation: falling-snow-two 3.8s infinite; -webkit-animation-delay: 2.5s; animation-delay: 2.5s; } .snow-cloud .snowflake-three { -webkit-animation: falling-snow-three 3.9s infinite; animation: falling-snow-three 3.9s infinite; -webkit-animation-delay: 1.5s; animation-delay: 1.5s; } @-webkit-keyframes falling-snow-one { 0% { -webkit-transform: translateY(-65px) rotate(0); transform: translateY(-65px) rotate(0); opacity: 0; } 20% { -webkit-transform: translateY(-10px) translateX(30px) rotate(-30deg); transform: translateY(-10px) translateX(30px) rotate(-30deg); opacity: 1; } 40% { -webkit-transform: translateY(45px) translateX(-30px) rotate(30deg); transform: translateY(45px) translateX(-30px) rotate(30deg); } 50% { opacity: 1; } 60% { -webkit-transform: translateY(100px) translateX(30px) rotate(-30deg); transform: translateY(100px) translateX(30px) rotate(-30deg); opacity: 0; } 100% { -webkit-transform: translateY(-65px); transform: translateY(-65px); opacity: 0; } } @keyframes falling-snow-one { 0% { -webkit-transform: translateY(-65px) rotate(0); transform: translateY(-65px) rotate(0); opacity: 0; } 20% { -webkit-transform: translateY(-10px) translateX(30px) rotate(-30deg); transform: translateY(-10px) translateX(30px) rotate(-30deg); opacity: 1; } 40% { -webkit-transform: translateY(45px) translateX(-30px) rotate(30deg); transform: translateY(45px) translateX(-30px) rotate(30deg); } 50% { opacity: 1; } 60% { -webkit-transform: translateY(100px) translateX(30px) rotate(-30deg); transform: translateY(100px) translateX(30px) rotate(-30deg); opacity: 0; } 100% { -webkit-transform: translateY(-65px); transform: translateY(-65px); opacity: 0; } } @-webkit-keyframes falling-snow-two { 0% { -webkit-transform: translateY(-75px) rotate(0); transform: translateY(-75px) rotate(0); opacity: 0; } 20% { -webkit-transform: translateY(-45px) translateX(40px) rotate(-30deg); transform: translateY(-45px) translateX(40px) rotate(-30deg); opacity: 1; } 40% { -webkit-transform: translateY(5px) translateX(-40px) rotate(30deg); transform: translateY(5px) translateX(-40px) rotate(30deg); } 50% { opacity: 1; } 60% { -webkit-transform: translateY(30px) translateX(20px) rotate(-30deg); transform: translateY(30px) translateX(20px) rotate(-30deg); opacity: 0; } 100% { -webkit-transform: translateY(-75px); transform: translateY(-75px); opacity: 0; } } @keyframes falling-snow-two { 0% { -webkit-transform: translateY(-75px) rotate(0); transform: translateY(-75px) rotate(0); opacity: 0; } 20% { -webkit-transform: translateY(-45px) translateX(40px) rotate(-30deg); transform: translateY(-45px) translateX(40px) rotate(-30deg); opacity: 1; } 40% { -webkit-transform: translateY(5px) translateX(-40px) rotate(30deg); transform: translateY(5px) translateX(-40px) rotate(30deg); } 50% { opacity: 1; } 60% { -webkit-transform: translateY(30px) translateX(20px) rotate(-30deg); transform: translateY(30px) translateX(20px) rotate(-30deg); opacity: 0; } 100% { -webkit-transform: translateY(-75px); transform: translateY(-75px); opacity: 0; } } @-webkit-keyframes falling-snow-three { 0% { -webkit-transform: translateY(-85px) rotate(0); transform: translateY(-85px) rotate(0); opacity: 0; } 20% { -webkit-transform: translateY(-10px) translateX(-30px) rotate(30deg); transform: translateY(-10px) translateX(-30px) rotate(30deg); opacity: 1; } 40% { -webkit-transform: translateY(25px) translateX(30px) rotate(-30deg); transform: translateY(25px) translateX(30px) rotate(-30deg); } 50% { opacity: 1; } 60% { -webkit-transform: translateY(60px) translateX(-30px) rotate(30deg); transform: translateY(60px) translateX(-30px) rotate(30deg); opacity: 0; } 100% { -webkit-transform: translateY(-85px); transform: translateY(-85px); opacity: 0; } } @keyframes falling-snow-three { 0% { -webkit-transform: translateY(-85px) rotate(0); transform: translateY(-85px) rotate(0); opacity: 0; } 20% { -webkit-transform: translateY(-10px) translateX(-30px) rotate(30deg); transform: translateY(-10px) translateX(-30px) rotate(30deg); opacity: 1; } 40% { -webkit-transform: translateY(25px) translateX(30px) rotate(-30deg); transform: translateY(25px) translateX(30px) rotate(-30deg); } 50% { opacity: 1; } 60% { -webkit-transform: translateY(60px) translateX(-30px) rotate(30deg); transform: translateY(60px) translateX(-30px) rotate(30deg); opacity: 0; } 100% { -webkit-transform: translateY(-85px); transform: translateY(-85px); opacity: 0; } } /* Sunny Cloud Animations */ .sun-cloud .sun-half { -webkit-animation: sun-grow 4s infinite cubic-bezier(0.2, 0.85, 0.4, 1.5); animation: sun-grow 4s infinite cubic-bezier(0.2, 0.85, 0.4, 1.5); -webkit-transform-origin: bottom center; transform-origin: bottom center; } .sun-cloud .ray-one { -webkit-animation: ray-show-one 4s infinite linear; animation: ray-show-one 4s infinite linear; -webkit-transform-origin: center right; transform-origin: center right; } .sun-cloud .ray-two { -webkit-animation: ray-show-two 4s infinite linear; animation: ray-show-two 4s infinite linear; -webkit-transform-origin: bottom right; transform-origin: bottom right; } .sun-cloud .ray-three { -webkit-animation: ray-show-three 4s infinite linear; animation: ray-show-three 4s infinite linear; -webkit-transform-origin: bottom center; transform-origin: bottom center; } .sun-cloud .ray-four { -webkit-animation: ray-show-four 4s infinite linear; animation: ray-show-four 4s infinite linear; -webkit-transform-origin: bottom left; transform-origin: bottom left; } .sun-cloud .ray-five { -webkit-animation: ray-show-five 4s infinite linear; animation: ray-show-five 4s infinite linear; -webkit-transform-origin: center left; transform-origin: center left; } @-webkit-keyframes sun-grow { 0%, 90%, 100% { -webkit-transform: scale(0.5); transform: scale(0.5); opacity: 0; } 15%, 80% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } } @keyframes sun-grow { 0%, 90%, 100% { -webkit-transform: scale(0.5); transform: scale(0.5); opacity: 0; } 15%, 80% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } } @-webkit-keyframes ray-show-one { 0%, 15%, 80%, 100% { -webkit-transform: scale(0.5); transform: scale(0.5); opacity: 0; } 20%, 70% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } } @keyframes ray-show-one { 0%, 15%, 80%, 100% { -webkit-transform: scale(0.5); transform: scale(0.5); opacity: 0; } 20%, 70% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } } @-webkit-keyframes ray-show-two { 0%, 20%, 80%, 100% { -webkit-transform: scale(0.5); transform: scale(0.5); opacity: 0; } 25%, 70% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } } @keyframes ray-show-two { 0%, 20%, 80%, 100% { -webkit-transform: scale(0.5); transform: scale(0.5); opacity: 0; } 25%, 70% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } } @-webkit-keyframes ray-show-three { 0%, 25%, 80%, 100% { -webkit-transform: scale(0.5); transform: scale(0.5); opacity: 0; } 30%, 70% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } } @keyframes ray-show-three { 0%, 25%, 80%, 100% { -webkit-transform: scale(0.5); transform: scale(0.5); opacity: 0; } 30%, 70% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } } @-webkit-keyframes ray-show-four { 0%, 30%, 80%, 100% { -webkit-transform: scale(0.5); transform: scale(0.5); opacity: 0; } 35%, 70% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } } @keyframes ray-show-four { 0%, 30%, 80%, 100% { -webkit-transform: scale(0.5); transform: scale(0.5); opacity: 0; } 35%, 70% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } } @-webkit-keyframes ray-show-five { 0%, 35%, 80%, 100% { -webkit-transform: scale(0.5); transform: scale(0.5); opacity: 0; } 40%, 70% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } } @keyframes ray-show-five { 0%, 35%, 80%, 100% { -webkit-transform: scale(0.5); transform: scale(0.5); opacity: 0; } 40%, 70% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } } @-webkit-keyframes ray-show-six { 0%, 40%, 80%, 100% { -webkit-transform: scale(0.5); transform: scale(0.5); opacity: 0; } 45%, 70% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } } @keyframes ray-show-six { 0%, 40%, 80%, 100% { -webkit-transform: scale(0.5); transform: scale(0.5); opacity: 0; } 45%, 70% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } } @-webkit-keyframes ray-show-seven { 0%, 45%, 80%, 100% { -webkit-transform: scale(0.5); transform: scale(0.5); opacity: 0; } 50%, 70% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } } @keyframes ray-show-seven { 0%, 45%, 80%, 100% { -webkit-transform: scale(0.5); transform: scale(0.5); opacity: 0; } 50%, 70% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } } @-webkit-keyframes ray-show-eight { 0%, 50%, 80%, 100% { -webkit-transform: scale(0.5); transform: scale(0.5); opacity: 0; } 55%, 70% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } } @keyframes ray-show-eight { 0%, 50%, 80%, 100% { -webkit-transform: scale(0.5); transform: scale(0.5); opacity: 0; } 55%, 70% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } } /* Sunshine Animation */ /* If only using this animation be sure to grab the sun-grow and ray-show-x keyframes set above */ .sunshine .sun-full { -webkit-animation: sun-grow 4s infinite cubic-bezier(0.2, 0.85, 0.4, 1.5); animation: sun-grow 4s infinite cubic-bezier(0.2, 0.85, 0.4, 1.5); -webkit-transform-origin: center center; transform-origin: center center; } .sunshine .sun-ray-one { -webkit-animation: ray-show-one 4s infinite ease-in; animation: ray-show-one 4s infinite ease-in; -webkit-transform-origin: center right; transform-origin: center right; } .sunshine .sun-ray-two { -webkit-animation: ray-show-two 4s infinite ease-in; animation: ray-show-two 4s infinite ease-in; -webkit-transform-origin: bottom right; transform-origin: bottom right; } .sunshine .sun-ray-three { -webkit-animation: ray-show-three 4s infinite ease-in; animation: ray-show-three 4s infinite ease-in; -webkit-transform-origin: bottom center; transform-origin: bottom center; } .sunshine .sun-ray-four { -webkit-animation: ray-show-four 4s infinite ease-in; animation: ray-show-four 4s infinite ease-in; -webkit-transform-origin: bottom left; transform-origin: bottom left; } .sunshine .sun-ray-five { -webkit-animation: ray-show-five 4s infinite ease-in; animation: ray-show-five 4s infinite ease-in; -webkit-transform-origin: center left; transform-origin: center left; } .sunshine .sun-ray-six { -webkit-animation: ray-show-six 4s infinite ease-in; animation: ray-show-six 4s infinite ease-in; -webkit-transform-origin: top left; transform-origin: top left; } .sunshine .sun-ray-seven { -webkit-animation: ray-show-seven 4s infinite ease-in; animation: ray-show-seven 4s infinite ease-in; -webkit-transform-origin: top center; transform-origin: top center; } .sunshine .sun-ray-eight { -webkit-animation: ray-show-eight 4s infinite ease-in; animation: ray-show-eight 4s infinite ease-in; -webkit-transform-origin: top right; transform-origin: top right; } /* Windy Cloud Animation */ .windy-cloud .cloud-wrap { -webkit-animation: bob 2s infinite cubic-bezier(0,0,.5,1.5); animation: bob 2s infinite cubic-bezier(0,0,.5,1.5); } .windy-cloud .cloud { -webkit-animation: cloud-push 4s infinite; animation: cloud-push 4s infinite; -webkit-transform-origin: left center; transform-origin: left center; } .windy-cloud .wind-one { -webkit-animation: wind-slide-one 4s infinite; animation: wind-slide-one 4s infinite; } .windy-cloud .wind-two { -webkit-animation: wind-slide-two 4s infinite; animation: wind-slide-two 4s infinite; } .windy-cloud .wind-three { -webkit-animation: wind-slide-three 4s infinite; animation: wind-slide-three 4s infinite; } @-webkit-keyframes bob { 0%, 100% { -webkit-transform: translateY(10px); transform: translateY(10px); } 50% { -webkit-transform: translateY(-10px); transform: translateY(-10px); } } @keyframes bob { 0%, 100% { -webkit-transform: translateY(10px); transform: translateY(10px); } 50% { -webkit-transform: translateY(-10px); transform: translateY(-10px); } } @-webkit-keyframes cloud-push { 0%, 80%, 100% { -webkit-transform: translateX(-120px) scale(1.2); transform: translateX(-120px) scale(1.2); } 10%, 60% { -webkit-transform: translateX(0) scale(1); transform: translateX(0) scale(1); } } @keyframes cloud-push { 0%, 80%, 100% { -webkit-transform: translateX(-120px) scale(1.2); transform: translateX(-120px) scale(1.2); } 10%, 60% { -webkit-transform: translateX(0) scale(1); transform: translateX(0) scale(1); } } @-webkit-keyframes wind-slide-one { 0%, 70%, 100% { -webkit-transform: scaleX(0); transform: scaleX(0); opacity: 0; } 10%, 60% { -webkit-transform: scaleX(1); transform: scaleX(1); opacity: 1; } } @keyframes wind-slide-one { 0%, 70%, 100% { -webkit-transform: scaleX(0); transform: scaleX(0); opacity: 0; } 10%, 60% { -webkit-transform: scaleX(1); transform: scaleX(1); opacity: 1; } } @-webkit-keyframes wind-slide-two { 0%, 70%, 100% { -webkit-transform: scaleX(0); transform: scaleX(0); opacity: 0; } 10%, 60% { -webkit-transform: scaleX(1); transform: scaleX(1); opacity: 1; } } @keyframes wind-slide-two { 0%, 70%, 100% { -webkit-transform: scaleX(0); transform: scaleX(0); opacity: 0; } 10%, 60% { -webkit-transform: scaleX(1); transform: scaleX(1); opacity: 1; } } @-webkit-keyframes wind-slide-three { 0%, 70%, 100% { -webkit-transform: scaleX(0); transform: scaleX(0); opacity: 0; } 10%, 60% { -webkit-transform: scaleX(1); transform: scaleX(1); opacity: 1; } } @keyframes wind-slide-three { 0%, 70%, 100% { -webkit-transform: scaleX(0); transform: scaleX(0); opacity: 0; } 10%, 60% { -webkit-transform: scaleX(1); transform: scaleX(1); opacity: 1; } }
JavaScript
粒子
时间
文字
hover
canvas
3d
游戏
音乐
火焰
水波
轮播图
鼠标跟随
动画
css
加载动画
导航
菜单
按钮
滑块
tab
弹出层
统计图
svg
×
Close
在线代码下载提示
开通在线代码永久免费下载,需支付20jQ币
开通后,在线代码模块中所有代码可终身免费下!
您已开通在线代码永久免费下载,关闭提示框后,点下载代码可直接下载!
您已经开通过在线代码永久免费下载
对不起,您的jQ币不足!可通过发布资源 或
直接充值获取jQ币
取消
开通下载
<!doctype html> <html> <head> <meta charset="utf-8"> <title>动画SVG天气图标-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号