Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
css
* { margin: 0; padding: 0; } :root { --body: #ff533e; --mouth: #000000; --feather: #939393; --beak-top: #e9581a; --beak-down: #aa4c21; --leg: #00adef; } body { background: #e3edf7; font-family: sans-serif; height: 100vh; width: 100vw; display: flex; align-items: center; justify-content: center; } .container { width: 400px; height: 400px; position: relative; } .body, .mouth, .feather, .tail, .beak, .mouth::before, .mouth::after, .leg, .leg::after, .leg::before { position: absolute; } .body, .mouth, .feather, .beak, .mouth::before, .mouth::after { border-radius: 50%; } .body { top: 26px; left: 50px; height: 180px; width: 200px; transform: rotate(-17deg); background: linear-gradient(to bottom, transparent 0%, transparent 20%, var(--body) 20%); z-index: 2; } .mouth { background: var(--mouth); top: 20px; left: -175px; width: 100px; height: 100px; transform: rotate(-17deg); z-index: 5; animation: animate-mouth 1.5s forwards; animation-delay: 2s; } @keyframes animate-mouth { 100% { left: 175px; } } .mouth::before { content: ""; width: 30px; height: 30px; background: white; position: absolute; top: 20px; left: 40px; } .mouth::after { content: ""; width: 10px; height: 10px; background: black; position: absolute; top: 30px; left: 55px; animation: animate-eye 1s infinite; animation-delay: 4s; } @keyframes animate-eye { 50% { height: 5px; } } .feather { z-index: 4; left: 44px; top: -206px; width: 150px; height: 150px; background: linear-gradient(to bottom, transparent 0%, transparent 50%, var(--feather) 50%); transform: rotate(-17deg); animation: animate-feather 1.5s forwards; animation-delay: 2s; } @keyframes animate-feather { 100% { top: -6px; } } .tail { width: 150px; height: 60px; background-color: var(--mouth); clip-path: polygon(0% 0%, 100% 0%, 100% 100%); top: 92px; left: 324px; transform: rotate(-17deg); z-index: 3; animation: animate-tail 1.5s forwards; animation-delay: 2s; } @keyframes animate-tail { 100% { left: -24px; } } .beak { height: 100px; width: 100px; background: linear-gradient(to bottom, var(--beak-top) 0%, var(--beak-top) 15%, transparent 15% ); left: 224px; top: 240px; z-index: -1; transform: rotate(-17deg); animation: animate-beak 1.5s forwards; animation-delay: 2s; } @keyframes animate-beak { 100% { top: 40px; } } .leg { background: var(--leg); height: 50px; width: 10px; border-radius: 10px; top: 515px; left: 125px; transform: rotate(-15deg); z-index: 1; animation: animate-leg 1.5s forwards; animation-delay: 2s; } @keyframes animate-leg { 100% { top: 215px; } } .leg::before { bottom: -8px; content: ""; width: 40px; height: 9px; background: var(--leg); border-radius: 10px; transform: rotate(15deg); z-index: -1; } .leg::after { top: -8px; content: ""; width: 30px; height: 9px; background: var(--leg); border-radius: 10px; transform: rotate(-15deg); z-index: -1; }
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号