Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"mac nav"
Bootstrap 3.0.0 Snippet by
evarevirus
3.0.0
Preview
HTML
View Full Screen
Fork
Fork this
566
 
0 Fav
Post to Facebook
Tweet this
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html><html class=''> <head><script src='//production-assets.codepen.io/assets/editor/live/console_runner-079c09a0e3b9ff743e39ee2d5637b9216b3545af0de366d4b9aad9dc87e26bfd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/events_runner-73716630c22bbc8cff4bd0f07b135f00a0bdc5d14629260c3ec49e5606f98fdd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/css_live_reload_init-2c0dc5167d60a5af3ee189d570b1835129687ea2a61bee3513dee3a50c115a77.js'></script><meta charset='UTF-8'><meta name="robots" content="noindex"><link rel="shortcut icon" type="image/x-icon" href="//production-assets.codepen.io/assets/favicon/favicon-8ea04875e70c4b0bb41da869e81236e54394d63638a1ef12fa558a4a835f1164.ico" /><link rel="mask-icon" type="" href="//production-assets.codepen.io/assets/favicon/logo-pin-f2d2b6d2c61838f7e76325261b7195c27224080bc099486ddd6dccb469b8e8e6.svg" color="#111" /><link rel="canonical" href="https://codepen.io/PageOnline/pen/JhoFb?limit=all&page=5&q=mac" /> <script src='https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js'></script> <style class="cp-pen-styles">html, body { height: 100% } body { margin: 0 auto; background: url("http://cdn.wccftech.com/wp-content/uploads/2015/06/os-x-10.11-wallpaper.jpg"); overflow: hidden; background-size: cover; background-position: center; } nav { position: absolute; bottom: 0; left: 50%; height: 53px; width: 420px; box-sizing: border-box; padding: 4px; background: #53706D; transform: translateX(-50%); border-radius: 5px 5px 0 0; } nav hr { display: inline-block; width: 1px; background: #274846; height: 85%; vertical-align: top; margin-top: 3px; border: none; margin-left: 5px; margin-right: 5px; } nav .icon { position: relative; display: inline-block; width: 40px; height: 40px; border: none; transition: 0.5s; } nav img { width: 40px; height: 40px; transition: 0.5s; } label { position: absolute; margin-top: -50px; color: #050505; font-family: Helvetica, calibri, sans-serif; font-weight: 100; font-size: 14px; background: #F6F6F6; padding: 5px 15px; border-radius: 5px; box-shadow: 0 0 5px rgba(0, 0, 0, 0.6); left: 50%; transform: translateX(-50%); opacity: 0; z-index: 100; display: none; } label::before, label::after { content: ""; position: absolute; left: 50%; width: 15px; height: 15px; border-radius: 1px; background: #F6F6F6; z-index: -1; } label::before { bottom: -5px; transform: translateX(-50%) rotateZ(45deg); box-shadow: 0 0 5px rgba(0, 0, 0, 0.6); } label::after { transform: translateX(-50%); bottom: 0; width: 40px; height: 20px; } nav .icon:hover > label { display: block; opacity: 0.75; } nav .icon:focus { outline: none; -webkit-animation: translate-animation 2.5s linear; -moz-animation: translate-animation 2.5s linear; animation: translate-animation 2.5s linear; } nav .icon:focus .dot { transform: translate(0, 0); -webkit-animation: translate-animation-reverse 2.5s linear; -moz-animation: translate-animation-reverse 2.5s linear; animation: translate-animation-reverse 2.5s linear; } nav .icon:focus .dot::before { content: ""; position: fixed; border-radius: 50%; width: 4px; height: 4px; bottom: -2px; left: 50%; transform: translateX(-50%); background: black; } @keyframes translate-animation { 0% { transform: translate(0, 0); } 20% { transform: translate(0, -15px); } 40% { transform: translate(0, 0); } 60% { transform: translate(0, -15px); } 80% { transform: translate(0, 0); } } @keyframes translate-animation-reverse { 0% { transform: translate(0, 0); } 20% { transform: translate(0, 15px); } 40% { transform: translate(0, 0); } 60% { transform: translate(0, 15px); } 80% { transform: translate(0, 0); } } @supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))) { nav { background: none; -webkit-backdrop-filter: saturate(50%) blur(20px) brightness(200%); backdrop-filter: saturate(50%) blur(20px) brightness(200%) } }</style></head><body> <nav> <div class="icon" tabindex="0"> <label>Finder</label> <img src="http://icons.iconarchive.com/icons/johanchalibert/mac-osx-yosemite/64/finder-icon.png"/> <div class="dot"></div> </div> <div class="icon" tabindex="0"> <label>LaunchPad</label> <img src="http://icons.iconarchive.com/icons/johanchalibert/mac-osx-yosemite/64/launchpad-icon.png"/> <div class="dot"></div> </div> <div class="icon" tabindex="0"> <label>Safari</label> <img src="http://icons.iconarchive.com/icons/johanchalibert/mac-osx-yosemite/64/safari-icon.png"/> <div class="dot"></div> </div> <div class="icon" tabindex="0"> <label>System Preferences</label> <img src="http://icons.iconarchive.com/icons/johanchalibert/mac-osx-yosemite/64/system-preferences-icon.png"/> <div class="dot"></div> </div> <div class="icon" tabindex="0"> <label>Mail</label> <img src="http://icons.iconarchive.com/icons/johanchalibert/mac-osx-yosemite/64/mail-icon.png"/> <div class="dot"></div> </div> <div class="icon" tabindex="0"> <label>Calendar</label> <img src="http://icons.iconarchive.com/icons/johanchalibert/mac-osx-yosemite/64/calendar-icon.png"/> <div class="dot"></div> </div> <div class="icon" tabindex="0"> <label>iBooks</label> <img src="http://icons.iconarchive.com/icons/johanchalibert/mac-osx-yosemite/64/ibooks-icon.png"/> <div class="dot"></div> </div> <div class="icon" tabindex="0"> <label>AppStore</label> <img src="http://icons.iconarchive.com/icons/johanchalibert/mac-osx-yosemite/64/appstore-icon.png"/> <div class="dot"></div> </div> <hr/> <div class="icon" tabindex="0"> <label>Trash</label> <img src="http://www.macupdate.com/images/icons256/51758.png"/> <div class="dot"></div> </div> </nav> </body></html>
Related:
See More
Free Template
Vue Now UI Kit
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76