Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
close
menu
Dashboard
Mail
53
Inbox
Sent
Notifications
17
System Administration
Users
Lists
Calendar
Sarah Dekhard
settings
|
logout
Tab One
Tab Two
Tab Three
Tab Four
Tab Five
expand
chrome
bell2
firefox
IE
edge
safari
opera
android
appleinc
home2
cart
equalizer
mail_outline
enlarge2
th-large
css
html { font-family: 'Lato', sans-serif; } main { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; height: 100vh; } input.hamburger { display: none; } input.hamburger:checked ~ label > i { background-color: transparent; -webkit-transform: rotate(90deg); transform: rotate(90deg); } input.hamburger:checked ~ label > i:before { -webkit-transform: translate(-50%, -50%) rotate(315deg); transform: translate(-50%, -50%) rotate(315deg); } input.hamburger:checked ~ label > i:after { -webkit-transform: translate(-50%, -50%) rotate(-315deg); transform: translate(-50%, -50%) rotate(-315deg); } input.hamburger:checked ~ label close { color: #222; width: 100%; } input.hamburger:checked ~ label open { color: rgba(0, 0, 0, 0); width: 0; } label.hamburger { z-index: 9999; position: relative; display: block; height: 50px; width: 50px; } label.hamburger:hover { cursor: pointer; } label.hamburger text close, label.hamburger text open { text-transform: uppercase; font-size: .8em; align-text: center; position: absolute; -webkit-transform: translateY(50px); transform: translateY(50px); text-align: center; overflow: hidden; -webkit-transition: width .25s .35s, color .45s .35s; transition: width .25s .35s, color .45s .35s; } label.hamburger text close { color: rgba(0, 0, 0, 0); right: 0; width: 0; } label.hamburger text open { color: #222; width: 100%; } label.hamburger > i { position: absolute; width: 100%; height: 2px; top: 50%; background-color: #222; pointer-events: auto; -webkit-transition-duration: .35s; transition-duration: .35s; -webkit-transition-delay: .35s; transition-delay: .35s; } label.hamburger > i:before, label.hamburger > i:after { position: absolute; display: block; width: 100%; height: 2px; left: 50%; background-color: #222; content: ""; -webkit-transition: -webkit-transform 0.35s; transition: -webkit-transform 0.35s; transition: transform 0.35s; transition: transform 0.35s, -webkit-transform 0.35s; -webkit-transform-origin: 50% 50%; transform-origin: 50% 50%; } label.hamburger > i:before { -webkit-transform: translate(-50%, -14px); transform: translate(-50%, -14px); } label.hamburger > i:after { -webkit-transform: translate(-50%, 14px); transform: translate(-50%, 14px); } html { font-family: 'Roboto', sans-serif; } body { margin: 0; overflow-x: hidden; height: 100vh; width: 100vw; } ul { list-style: none; margin: 0; padding: 0; } .primnav li:hover, .primnav expand:hover { background-color: #66a9e0; background-color: rgba(0, 112, 204, 0.6); } .primnav { position: fixed; height: 58px; width: 100vw; font-size: .8em; text-transform: uppercase; background-color: #007ee6; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-transition: height 246ms .5s ease; transition: height 246ms .5s ease; padding-top: 58px; overflow-x: hidden; overflow-y: hidden; border-top: 1px solid rgba(255, 255, 255, 0.8); -webkit-box-sizing: border-box; box-sizing: border-box; z-index: 1; } @media (min-width: 650px) { .primnav { height: 100vh; width: 58px; -webkit-transition: width 246ms .5s ease; transition: width 246ms .5s ease; } } .primnav > ul { height: 100%; overflow-y: auto; overflow-x: hidden; } .primnav li { font-weight: 400; position: relative; } .primnav li .tag { background-color: #005aa3; background-color: rgba(0, 112, 204, 0.8); color: rgba(255, 255, 255, 0.8); color: #e6e6e6; color: rgba(255, 255, 255, 0.9); padding: 0 .5em; border-radius: 2em; margin-left: auto; margin-right: .75em; } .primnav li a { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; white-space: nowrap; color: white; color: rgba(255, 255, 255, 0.8); text-decoration: none; } .primnav .icon { height: 20px; -ms-flex-negative: 0; flex-shrink: 0; width: 20px; padding: 19px; margin-right: 5px; padding-bottom: 15px; color: #e6e6e6; color: rgba(255, 255, 255, 0.9); } .secnav { margin-left: 63px; border-left: 1px solid black; border-left-color: #0065b8; border-left-color: rgba(0, 112, 204, 0.9); overflow: hidden; } .secnav li { color: #e6e6e6; color: rgba(255, 255, 255, 0.9); max-height: 100px; -webkit-transition: max-height .1s; transition: max-height .1s; } @media (min-width: 650px) { .secnav li { max-height: 0px; -webkit-transition: max-height .5s .5s; transition: max-height .5s .5s; } } .secnav li a { text-transform: initial; display: block; color: inherit; padding: .75em 10px; } user { padding: 5px; padding-bottom: 3px; -ms-flex-negative: 0; flex-shrink: 0; position: fixed; font-weight: 400; right: 0; color: white; color: rgba(255, 255, 255, 0.9); z-index: 99999; } user > section { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: reverse; -ms-flex-direction: row-reverse; flex-direction: row-reverse; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } user > section > section { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; white-space: nowrap; } user img { height: 51px; width: 48px; -webkit-clip-path: circle(50% at 50% 50%); clip-path: circle(50% at 50% 50%); margin-left: 10px; min-height: 51px; min-width: 48px; -webkit-box-align: end; -ms-flex-align: end; align-items: flex-end; } user name { font-weight: 400; } user actions { padding: .1em 0; font-size: .8em; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; } user actions a { padding: 0 .5em; color: rgba(255, 255, 255, 0.8); text-decoration: none; } user actions a:last-child { padding-right: 0; } content { font-family: 'Pacifico', cursive; color: rgba(255, 255, 255, 0.9); font-size: 8vw; letter-spacing: 1px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; background-color: #0070cc; height: 100%; padding-top: 58px; -webkit-box-sizing: border-box; box-sizing: border-box; position: relative; } @media (min-width: 650px) { content { padding-left: 58px; padding-top: 0; } } .features { font-family: 'Lato', sans-serif; font-size: 1rem; text-transform: uppercase; } .features li { width: 100%; text-align: center; padding: .25em; } /** SCROLLBAR STYLE FOR IE */ body { scrollbar-base-color: #0070cc; scrollbar-3dlight-color: #fff; scrollbar-highlight-color: #0070cc; scrollbar-track-color: #0070cc; scrollbar-arrow-color: #0070cc; scrollbar-shadow-color: #0070cc; scrollbar-dark-shadow-color: #0070cc; -ms-overflow-style: -ms-autohiding-scrollbar; } .icon { display: inline-block; width: 5vw; height: 4vw; stroke-width: 0; stroke: currentColor; fill: currentColor; } /** hamburger */ input.hamburger { display: none; } input.hamburger:checked ~ nav.primnav { height: 100vh; } @media (min-width: 650px) { input.hamburger:checked ~ nav.primnav { width: 275px; } } @media (min-width: 650px) { input.hamburger:checked ~ nav.primnav .secnav > li { max-height: 100px; } input.hamburger:checked ~ nav.primnav .secnav > li:nth-child(1) { -webkit-transition: max-height 0.5s 0.67s ease-in; transition: max-height 0.5s 0.67s ease-in; } input.hamburger:checked ~ nav.primnav .secnav > li:nth-child(2) { -webkit-transition: max-height 0.5s 0.69s ease-in; transition: max-height 0.5s 0.69s ease-in; } input.hamburger:checked ~ nav.primnav .secnav > li:nth-child(3) { -webkit-transition: max-height 0.5s 0.71s ease-in; transition: max-height 0.5s 0.71s ease-in; } input.hamburger:checked ~ nav.primnav .secnav > li:nth-child(4) { -webkit-transition: max-height 0.5s 0.73s ease-in; transition: max-height 0.5s 0.73s ease-in; } input.hamburger:checked ~ nav.primnav .secnav > li:nth-child(5) { -webkit-transition: max-height 0.5s 0.75s ease-in; transition: max-height 0.5s 0.75s ease-in; } input.hamburger:checked ~ nav.primnav .secnav > li:nth-child(6) { -webkit-transition: max-height 0.5s 0.77s ease-in; transition: max-height 0.5s 0.77s ease-in; } input.hamburger:checked ~ nav.primnav .secnav > li:nth-child(7) { -webkit-transition: max-height 0.5s 0.79s ease-in; transition: max-height 0.5s 0.79s ease-in; } input.hamburger:checked ~ nav.primnav .secnav > li:nth-child(8) { -webkit-transition: max-height 0.5s 0.81s ease-in; transition: max-height 0.5s 0.81s ease-in; } input.hamburger:checked ~ nav.primnav .secnav > li:nth-child(9) { -webkit-transition: max-height 0.5s 0.83s ease-in; transition: max-height 0.5s 0.83s ease-in; } input.hamburger:checked ~ nav.primnav .secnav > li:nth-child(10) { -webkit-transition: max-height 0.5s 0.85s ease-in; transition: max-height 0.5s 0.85s ease-in; } } input.hamburger:checked ~ label > i { background-color: transparent; -webkit-transform: rotate(90deg); transform: rotate(90deg); } input.hamburger:checked ~ label > i:before { -webkit-transform: translate(-50%, -50%) rotate(315deg); transform: translate(-50%, -50%) rotate(315deg); } input.hamburger:checked ~ label > i:after { -webkit-transform: translate(-50%, -50%) rotate(-315deg); transform: translate(-50%, -50%) rotate(-315deg); } input.hamburger:checked ~ label close { color: rgba(255, 255, 255, 0.8); width: 100%; } input.hamburger:checked ~ label open { color: rgba(0, 0, 0, 0); width: 0; } label.hamburger { z-index: 9999; position: relative; display: block; height: 24px; width: 24px; } label.hamburger:hover { cursor: pointer; } label.hamburger text close, label.hamburger text open { text-transform: uppercase; align-text: center; position: absolute; -webkit-transform: translateY(24px); transform: translateY(24px); text-align: center; overflow: hidden; -webkit-transition: width .25s .35s, color .45s .35s; transition: width .25s .35s, color .45s .35s; font-size: 6px; } label.hamburger text close { color: rgba(255, 255, 255, 0.8); right: 0; width: 0; } label.hamburger text open { color: rgba(255, 255, 255, 0.8); width: 100%; } label.hamburger > i { position: absolute; width: 100%; height: 2px; top: 50%; background-color: rgba(255, 255, 255, 0.8); pointer-events: auto; -webkit-transition-duration: .35s; transition-duration: .35s; -webkit-transition-delay: .35s; transition-delay: .35s; } label.hamburger > i:before, label.hamburger > i:after { position: absolute; display: block; width: 100%; height: 2px; left: 50%; background-color: rgba(255, 255, 255, 0.8); content: ""; -webkit-transition: -webkit-transform 0.35s; transition: -webkit-transform 0.35s; transition: transform 0.35s; transition: transform 0.35s, -webkit-transform 0.35s; -webkit-transform-origin: 50% 50%; transform-origin: 50% 50%; } label.hamburger > i:before { -webkit-transform: translate(-50%, -7px); transform: translate(-50%, -7px); } label.hamburger > i:after { -webkit-transform: translate(-50%, 7px); transform: translate(-50%, 7px); } label.hamburger { position: fixed; top: 14px; left: 17px; } .tabs { font-family: 'Roboto', sans-serif; text-transform: uppercase; font-size: 1rem; position: fixed; top: 58px; left: 0; background-color: #007ee6; border-bottom: 1px solid #0062b3; width: 100vw; -webkit-box-sizing: border-box; box-sizing: border-box; } @media (min-width: 650px) { .tabs { padding-left: calc(58px + .5rem); top: calc(58px - 3em); background-color: #0070cc; border: 0; } } .tabs > ul { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-pack: distribute; justify-content: space-around; overflow-x: auto; -ms-flex-wrap: wrap; flex-wrap: wrap; } @media (min-width: 650px) { .tabs > ul { -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; } } .tabs .tab { font-weight: 300; font-size: .7em; padding: 1em; white-space: nowrap; -ms-flex-negative: 0; flex-shrink: 0; display: block; color: rgba(255, 255, 255, 0.8); text-decoration: none; } .tabs .tab:hover { background-color: #0062b3; cursor: pointer; }
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号