Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
css
body { height: 100vh; width: 100vw; overflow: hidden; background: radial-gradient(circle at center, #222, #000); } body #wrap { width: 100vw; height: 100vh; position: absolute; display: flex; justify-content: center; align-items: center; transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.575); transition-delay: 1.85s; pointer-events: none; -webkit-filter: hue-rotate(70deg); filter: hue-rotate(70deg); } body #wrap:nth-of-type(2) { z-index: -1; } body #wrap:nth-of-type(2):before { content: 'click me'; text-transform: uppercase; position: absolute; color: rgba(255, 255, 255, 0.75); z-index: 999; font-family: Futura; letter-spacing: 2px; font-size: 8px; left: 0; width: 100%; top: calc(50% + 40px); text-align: center; transition: opacity 0.4s ease-in-out, letter-spacing 0.3s ease-in-out, -webkit-transform 0.4s ease-in-out; transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out, letter-spacing 0.3s ease-in-out; transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out, letter-spacing 0.3s ease-in-out, -webkit-transform 0.4s ease-in-out; transition-delay: 2.5s, 2.5s, 0s; opacity: 1; } body #wrap:nth-of-type(2) svg path { transition-delay: 0s, 0s; stroke: #fff; } body #wrap:nth-of-type(2) svg:nth-of-type(2) path { transition-delay: 0.75s, 0.75s; } body #wrap:nth-of-type(2) svg:nth-of-type(3) path { transition-delay: 1.5s, 1.5s; } body input { position: absolute; width: 100px; height: 100px; z-index: 999; opacity: 0; cursor: pointer; left: 50%; top: 50%; -webkit-transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%); } body input:hover ~ #wrap:before { transition-delay: 2.5s, 2.5s, 0s; letter-spacing: 5px; } body input:checked ~ #wrap { -webkit-transform: scaleX(0.9); transform: scaleX(0.9); } body input:checked ~ #wrap:before { opacity: 0; -webkit-transform: translateY(25vh); transform: translateY(25vh); transition-delay: 0s, 0s, 0s; } body input:checked ~ #wrap:nth-of-type(2) svg path { stroke: #fff; } body input:checked ~ #wrap svg { transition-delay: 0s; } body input:checked ~ #wrap svg:first-of-type { -webkit-transform: translateY(0px); transform: translateY(0px); } body input:checked ~ #wrap svg:first-of-type path { transition-delay: 0.5s, 0.5s; } body input:checked ~ #wrap svg:nth-of-type(2) { -webkit-transform: translateY(0px) scaleY(-1); transform: translateY(0px) scaleY(-1); } body input:checked ~ #wrap svg:nth-of-type(2) path { transition-delay: 0.5s, 0.5s; } body input:checked ~ #wrap svg:nth-of-type(3) path { stroke-dasharray: 10000px; stroke-dashoffset: 10000px; transition-delay: 1s, 1s; } body input:checked ~ #wrap svg path { stroke-dasharray: 5000px; stroke-dashoffset: -4150px; stroke: yellow; } svg { position: absolute; width: 200px; transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.575); transition-delay: 2s; margin-left: -9px; } svg:first-of-type { -webkit-transform: translateY(5px); transform: translateY(5px); } svg:nth-of-type(2) { -webkit-transform: translateY(-6px) scaleY(-1); transform: translateY(-6px) scaleY(-1); } svg:nth-of-type(2) path { transition: stroke-dasharray 1.2s ease-in-out, stroke-dashoffset 1.2s ease-in-out, stroke 1.2s ease-in-out; transition-delay: 0.6s, 0.6s, 0.6s; } svg:nth-of-type(3) { -webkit-transform: translateY(25px); transform: translateY(25px); } svg:nth-of-type(3) path { transition: stroke-dasharray .25s ease-in-out, stroke-dashoffset 0.25s ease-in-out, stroke 0.25s ease-in-out; transition-delay: 1.8s, 1.8s, 1.8s; } svg path { stroke: blue; stroke-width: 40px; fill: none; stroke-linecap: round; stroke-dasharray: 4400px; stroke-dashoffset: 4200px; transition: stroke-dasharray 1.5s ease-in-out, stroke-dashoffset 1.5s ease-in-out, stroke 1.5s ease-in-out; }
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号