Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
Animated SVG Weather Icons
css
body { background: #222; box-sizing: border-box; color: #fff; font-family: "Cabin", sans-serif; font-size: 16px; text-align: center; } .container { max-width: 720px; width: 95%; margin: 0 auto; } .container h1 { font-size: 2.5em; } footer { padding-bottom: 2em; } svg { width: 110px; } #smallcloud path { will-change: transform; -webkit-animation: bgCloud 6s linear infinite; animation: bgCloud 6s linear infinite; } #bigCloudRain path { -webkit-animation: cloud-color 8s ease infinite; animation: cloud-color 8s ease infinite; } #drop1 { -webkit-animation: droplet 1s linear infinite; animation: droplet 1s linear infinite; } #drop2 { -webkit-animation: droplet 1s linear infinite 0.4s; animation: droplet 1s linear infinite 0.4s; } #drop3 { -webkit-animation: droplet 1s linear infinite 0.8s; animation: droplet 1s linear infinite 0.8s; } #flake3 { -webkit-animation: snow-flakes 3s linear infinite; animation: snow-flakes 3s linear infinite; } #flake1 { -webkit-animation: snow-flakes 3s linear infinite 1.2s; animation: snow-flakes 3s linear infinite 1.2s; } #flake2 { -webkit-animation: snow-flakes 3s linear infinite 2s; animation: snow-flakes 3s linear infinite 2s; } #mistrays path { opacity: 1; } #mistrays #ray2 { stroke-dashoffset: 5; stroke-dasharray: 5; -webkit-animation: dashXs 9s linear forwards infinite; animation: dashXs 9s linear forwards infinite; } #mistrays #ray4, #ray5 { stroke-dashoffset: 20; stroke-dasharray: 20; -webkit-animation: dashM 9s linear forwards infinite; animation: dashM 9s linear forwards infinite; } #mistrays #ray6, #ray7 { stroke-dashoffset: 14; stroke-dasharray: 14; -webkit-animation: dashS 9s linear forwards infinite; animation: dashS 9s linear forwards infinite; } #mistrays #ray1, #ray3 { stroke-dashoffset: 27; stroke-dasharray: 27; -webkit-animation: dashL 9s linear forwards infinite; animation: dashL 9s linear forwards infinite; } /*#sunRays, #SunGlobe{ transform:translate(10px, -12px) }*/ #sunRays, #sunrays, #SunGlobe { transform-origin: 50% 50%; -webkit-animation: spin 20s linear infinite; animation: spin 20s linear infinite; } #totalSun { transform: translate(15px, -12px) scale(0.9); } #thunder { -webkit-animation: thunder-bolt 6s linear infinite; animation: thunder-bolt 6s linear infinite; } #bigClouds path { -webkit-animation: thunder-cloud 6s ease infinite; animation: thunder-cloud 6s ease infinite; } @-webkit-keyframes bgCloud { 0% { transform: translate(0px, 0px); opacity: 0; } 30% { transform: translate(9px, 0px); opacity: 1; } 70% { transform: translate(27px, 0px); opacity: 1; } 100% { transform: translate(45px, 0px); opacity: 0; } } @keyframes bgCloud { 0% { transform: translate(0px, 0px); opacity: 0; } 30% { transform: translate(9px, 0px); opacity: 1; } 70% { transform: translate(27px, 0px); opacity: 1; } 100% { transform: translate(45px, 0px); opacity: 0; } } @-webkit-keyframes droplet { 0% { transform: translate(0px, -35px); opacity: 0; } 30% { transform: translate(0px, -18px); opacity: 1; } 80% { transform: translate(0px, 8px); opacity: 1; } 100% { transform: translate(0px, 20px); opacity: 0; } } @keyframes droplet { 0% { transform: translate(0px, -35px); opacity: 0; } 30% { transform: translate(0px, -18px); opacity: 1; } 80% { transform: translate(0px, 8px); opacity: 1; } 100% { transform: translate(0px, 20px); opacity: 0; } } @-webkit-keyframes cloud-color { 0% { fill: #F4F4F4; } 50% { fill: #c4c4c4; } 100% { fill: #F4F4F4; } } @keyframes cloud-color { 0% { fill: #F4F4F4; } 50% { fill: #c4c4c4; } 100% { fill: #F4F4F4; } } @-webkit-keyframes snow-flakes { 0% { transform: translate(0px, -35px); opacity: 0; } 30% { transform: translate(-10px, -18px); opacity: 1; } 40% { transform: translate(0px, -8px); opacity: 1; } 60% { transform: translate(10px, 0px); opacity: 1; } 80% { transform: translate(0px, 8px); opacity: 1; } 100% { transform: translate(10px, 20px); opacity: 0; } } @keyframes snow-flakes { 0% { transform: translate(0px, -35px); opacity: 0; } 30% { transform: translate(-10px, -18px); opacity: 1; } 40% { transform: translate(0px, -8px); opacity: 1; } 60% { transform: translate(10px, 0px); opacity: 1; } 80% { transform: translate(0px, 8px); opacity: 1; } 100% { transform: translate(10px, 20px); opacity: 0; } } @-webkit-keyframes dashXs { 0% { opacity: 0; stroke-dashoffset: 5; } 50% { opacity: 1; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: -5; } } @keyframes dashXs { 0% { opacity: 0; stroke-dashoffset: 5; } 50% { opacity: 1; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: -5; } } @-webkit-keyframes dashS { 0% { opacity: 0; stroke-dashoffset: 14; } 50% { opacity: 1; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: -14; } } @keyframes dashS { 0% { opacity: 0; stroke-dashoffset: 14; } 50% { opacity: 1; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: -14; } } @-webkit-keyframes dashM { 0% { opacity: 0; stroke-dashoffset: -20; } 50% { opacity: 1; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: 20; } } @keyframes dashM { 0% { opacity: 0; stroke-dashoffset: -20; } 50% { opacity: 1; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: 20; } } @-webkit-keyframes dashL { 0% { opacity: 0; stroke-dashoffset: -27; } 50% { opacity: 1; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: 27; } } @keyframes dashL { 0% { opacity: 0; stroke-dashoffset: -27; } 50% { opacity: 1; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: 27; } } @-webkit-keyframes spin { 100% { transform: rotate(360deg); } } @keyframes spin { 100% { transform: rotate(360deg); } } @-webkit-keyframes thunder-cloud { 100%, 0% { fill: #666; } 20% { fill: #555; } 21.5% { fill: #999; } 25% { fill: #555; } 27.5% { fill: #999; } 30% { fill: #555; } 40% { fill: #999; } 90% { fill: #555; } } @keyframes thunder-cloud { 100%, 0% { fill: #666; } 20% { fill: #555; } 21.5% { fill: #999; } 25% { fill: #555; } 27.5% { fill: #999; } 30% { fill: #555; } 40% { fill: #999; } 90% { fill: #555; } } @-webkit-keyframes thunder-bolt { 100%, 0% { opacity: 0; } 23% { opacity: 0; } 25% { opacity: 1; } 30% { opacity: 1; } 35% { opacity: 0; } } @keyframes thunder-bolt { 100%, 0% { opacity: 0; } 23% { opacity: 0; } 25% { opacity: 1; } 30% { opacity: 1; } 35% { opacity: 0; } }
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号