Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
css
body { background: #0023a5; height: 100vh; overflow: hidden; display: flex; justify-content: center; align-items: center; } #sky { margin-top: -60px; perspective: 400px; filter: drop-shadow(0px 150px 10px rgba(0, 0, 0, 0.2)); } @-moz-document url-prefix() { #sky { filter: none; } } #sky div { transform-style: preserve-3d; } #sky .bird { -webkit-animation: fly 10000ms linear infinite; animation: fly 10000ms linear infinite; } #sky .bird .wind { position: absolute; left: 50%; width: 4px; height: 200px; margin-left: -2px; border-radius: 999px; overflow: hidden; } #sky .bird .wind:nth-child(1) { transform: translate3d(4px, 5px, 86px) rotateY(90deg); } #sky .bird .wind:nth-child(1)::before { content: ""; position: absolute; width: 4px; height: 300px; background: rgba(100, 200, 214, 0.3); border-radius: 999px; transform: translateY(-300px); -webkit-animation: wind 2446ms 4672ms linear infinite; animation: wind 2446ms 4672ms linear infinite; } #sky .bird .wind:nth-child(2) { transform: translate3d(44px, 142px, -73px) rotateY(90deg); } #sky .bird .wind:nth-child(2)::before { content: ""; position: absolute; width: 4px; height: 300px; background: rgba(100, 200, 36, 0.3); border-radius: 999px; transform: translateY(-300px); -webkit-animation: wind 1313ms 4339ms linear infinite; animation: wind 1313ms 4339ms linear infinite; } #sky .bird .wind:nth-child(3) { transform: translate3d(143px, 67px, 11px) rotateY(90deg); } #sky .bird .wind:nth-child(3)::before { content: ""; position: absolute; width: 4px; height: 300px; background: rgba(100, 200, 144, 0.3); border-radius: 999px; transform: translateY(-300px); -webkit-animation: wind 2793ms 1228ms linear infinite; animation: wind 2793ms 1228ms linear infinite; } #sky .bird .wind:nth-child(4) { transform: translate3d(-146px, 124px, -2px) rotateY(90deg); } #sky .bird .wind:nth-child(4)::before { content: ""; position: absolute; width: 4px; height: 300px; background: rgba(100, 200, 57, 0.3); border-radius: 999px; transform: translateY(-300px); -webkit-animation: wind 1536ms 4268ms linear infinite; animation: wind 1536ms 4268ms linear infinite; } #sky .bird .wind:nth-child(5) { transform: translate3d(23px, -66px, -24px) rotateY(90deg); } #sky .bird .wind:nth-child(5)::before { content: ""; position: absolute; width: 4px; height: 300px; background: rgba(100, 200, 92, 0.3); border-radius: 999px; transform: translateY(-300px); -webkit-animation: wind 1130ms 3238ms linear infinite; animation: wind 1130ms 3238ms linear infinite; } #sky .bird .wind:nth-child(6) { transform: translate3d(-2px, 65px, -85px) rotateY(90deg); } #sky .bird .wind:nth-child(6)::before { content: ""; position: absolute; width: 4px; height: 300px; background: rgba(100, 200, 124, 0.3); border-radius: 999px; transform: translateY(-300px); -webkit-animation: wind 2949ms 2102ms linear infinite; animation: wind 2949ms 2102ms linear infinite; } #sky .bird .wind:nth-child(7) { transform: translate3d(-80px, -20px, -23px) rotateY(90deg); } #sky .bird .wind:nth-child(7)::before { content: ""; position: absolute; width: 4px; height: 300px; background: rgba(100, 200, 244, 0.3); border-radius: 999px; transform: translateY(-300px); -webkit-animation: wind 1531ms 4934ms linear infinite; animation: wind 1531ms 4934ms linear infinite; } #sky .bird .wind:nth-child(8) { transform: translate3d(-33px, -75px, 86px) rotateY(90deg); } #sky .bird .wind:nth-child(8)::before { content: ""; position: absolute; width: 4px; height: 300px; background: rgba(100, 200, 182, 0.3); border-radius: 999px; transform: translateY(-300px); -webkit-animation: wind 2926ms 3799ms linear infinite; animation: wind 2926ms 3799ms linear infinite; } #sky .bird .wind:nth-child(9) { transform: translate3d(93px, 8px, 66px) rotateY(90deg); } #sky .bird .wind:nth-child(9)::before { content: ""; position: absolute; width: 4px; height: 300px; background: rgba(100, 200, 19, 0.3); border-radius: 999px; transform: translateY(-300px); -webkit-animation: wind 1724ms 4411ms linear infinite; animation: wind 1724ms 4411ms linear infinite; } #sky .bird .wind:nth-child(10) { transform: translate3d(-107px, 52px, -18px) rotateY(90deg); } #sky .bird .wind:nth-child(10)::before { content: ""; position: absolute; width: 4px; height: 300px; background: rgba(100, 200, 151, 0.3); border-radius: 999px; transform: translateY(-300px); -webkit-animation: wind 1820ms 1637ms linear infinite; animation: wind 1820ms 1637ms linear infinite; } #sky .bird .wind:nth-child(11) { transform: translate3d(-80px, 130px, 91px) rotateY(90deg); } #sky .bird .wind:nth-child(11)::before { content: ""; position: absolute; width: 4px; height: 300px; background: rgba(100, 200, 223, 0.3); border-radius: 999px; transform: translateY(-300px); -webkit-animation: wind 2500ms 1005ms linear infinite; animation: wind 2500ms 1005ms linear infinite; } #sky .bird_body { position: relative; width: 30px; height: 40px; background: #c58ae7; } #sky .bird_head { position: absolute; top: -30px; border-right: 15px solid transparent; border-bottom: 30px solid #8dc3d4; border-left: 15px solid transparent; transform-origin: 50% 100%; transform: rotateX(-20deg); } #sky .bird_wing_left { position: absolute; left: -30px; height: 30px; border-right: 30px solid #bd94eb; border-bottom: 10px solid transparent; transform-origin: 100% 0; -webkit-animation: wingLeft 1000ms cubic-bezier(0.36, 0.1, 0.16, 1) infinite alternate; animation: wingLeft 1000ms cubic-bezier(0.36, 0.1, 0.16, 1) infinite alternate; } #sky .bird_wing_left_top { position: absolute; left: -30px; border-right: 30px solid #6594d1; border-bottom: 30px solid transparent; transform-origin: 100% 0; -webkit-animation: wingLeft 1000ms cubic-bezier(0.545, 0.08, 0.52, 0.975) infinite alternate; animation: wingLeft 1000ms cubic-bezier(0.545, 0.08, 0.52, 0.975) infinite alternate; } #sky .bird_wing_right { position: absolute; left: 30px; height: 30px; border-left: 30px solid #beace1; border-bottom: 10px solid transparent; transform-origin: 0 0; -webkit-animation: wingRight 1000ms cubic-bezier(0.36, 0.1, 0.16, 1) infinite alternate; animation: wingRight 1000ms cubic-bezier(0.36, 0.1, 0.16, 1) infinite alternate; } #sky .bird_wing_right_top { position: absolute; border-left: 30px solid #a0adf1; border-bottom: 30px solid transparent; transform-origin: 0 0; -webkit-animation: wingRight 1000ms cubic-bezier(0.545, 0.08, 0.52, 0.975) infinite alternate; animation: wingRight 1000ms cubic-bezier(0.545, 0.08, 0.52, 0.975) infinite alternate; } #sky .bird_tail_left { position: absolute; top: 40px; border-right: 30px solid transparent; border-top: 40px solid #7d7cfd; transform-origin: 50% 0; transform: rotateX(-20deg); } #sky .bird_tail_right { position: absolute; top: 40px; border-left: 30px solid transparent; border-top: 40px solid #7d84ca; transform-origin: 50% 0; transform: rotateX(-20deg); } @-webkit-keyframes fly { 0% { transform: rotateX(-120deg) rotateZ(0deg) rotateX(10deg); } 100% { transform: rotateX(-120deg) rotateZ(360deg) rotateX(10deg); } } @keyframes fly { 0% { transform: rotateX(-120deg) rotateZ(0deg) rotateX(10deg); } 100% { transform: rotateX(-120deg) rotateZ(360deg) rotateX(10deg); } } @-webkit-keyframes wingLeft { 0% { transform: rotateY(-40deg); } 100% { transform: rotateY(40deg); } } @keyframes wingLeft { 0% { transform: rotateY(-40deg); } 100% { transform: rotateY(40deg); } } @-webkit-keyframes wingRight { 0% { transform: rotateY(40deg); } 100% { transform: rotateY(-40deg); } } @keyframes wingRight { 0% { transform: rotateY(40deg); } 100% { transform: rotateY(-40deg); } } @-webkit-keyframes wind { 0% { transform: translateY(-300px); } 100% { transform: translateY(200px); } } @keyframes wind { 0% { transform: translateY(-300px); } 100% { transform: translateY(200px); } }
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号