Mobile Navigation Bar
How do I make an mobile navigation bar?
What is a mobile navigation bar? How do you make a mobile navigation bar? This script and codes were developed by Alex Loomer on 08 September 2022, Thursday.
Mobile Navigation Bar - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Mobile Navigation Bar</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <nav id="mobile-nav-bar"> <ul> <a href="#"><li><img src="https://github.com/atloomer/alexloomer-redesign/blob/gh-pages/img/home-icon.png?raw=true" alt="home icon" />Home</li></a> <a href="#"><li><img src="https://github.com/atloomer/alexloomer-redesign/blob/gh-pages/img/about-icon.png?raw=true" alt="about icon" />About</li></a> <a href="#"><li><img src="https://github.com/atloomer/alexloomer-redesign/blob/gh-pages/img/work-icon.png?raw=true" alt="work icon" />Work</li></a> <a href="#"><li><img src="https://github.com/atloomer/alexloomer-redesign/blob/gh-pages/img/resume-icon.png?raw=true" alt="resume icon" />Resume</li></a> <a href="#"><li><img id="contact-icon-resize" src="https://github.com/atloomer/alexloomer-redesign/blob/gh-pages/img/contact-icon.png?raw=true" alt="contact icon" />Contact</li></a> </ul>
</nav>
</body>
</html>
Mobile Navigation Bar - Script Codes CSS Codes
body { background: rgba(0, 0, 0, 0.8);
}
#mobile-nav-bar { width: 100%; display: -webkit-box; display: -ms-flexbox; display: flex; height: 60px; background: #1e1e1e; font-size: .5em; position: fixed; bottom: 0; z-index: 999;
}
#mobile-nav-bar ul { display: -webkit-box; display: -ms-flexbox; display: flex; width: 100%; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; margin: 0; padding: 0; -webkit-box-align: center; -ms-flex-align: center; align-items: center;
}
#mobile-nav-bar a { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; list-style-type: none; padding: 0; color: #edeeef; opacity: .6; text-transform: uppercase; border-top: .5px solid #000; border-bottom: .5px solid #000; height: 60px; text-align: center; -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; width: 20%; text-decoration: none; -webkit-transition: all .2s ease-out; transition: all .2s ease-out;
}
#mobile-nav-bar a:nth-child(1){ border-right: .5px solid #000;
}
#mobile-nav-bar a:nth-child(2) { border-right: .5px solid #000;
}
#mobile-nav-bar a:nth-child(3){ border-right: .5px solid #000;
}
#mobile-nav-bar a:nth-child(4) { border-right: .5px solid #000;
}
li img#contact-icon-resize { height: 2em;
}
#mobile-nav-bar li { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; margin-bottom: 10px;
}
#mobile-nav-bar img { height: 2.2em; -ms-flex-item-align: center; -ms-grid-row-align: center; align-self: center; padding-bottom: 5px;
}
#mobile-nav-bar a:hover { background: rgba(0, 0, 0, 0.5);
}
Developer | Alex Loomer |
Username | atloomer |
Uploaded | September 08, 2022 |
Rating | 3 |
Size | 2,145 Kb |
Views | 32,384 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
CSS Lightbulb | 2,736 Kb |
Animate.css | 1,745 Kb |
Pitch Page Using Flexbox | 2,915 Kb |
Sierra Loomer Photo Home Page Mock | 2,958 Kb |
CSS Button Animations | 3,122 Kb |
EWU Catalog Index | 7,292 Kb |
Background Change on Link Hover | 3,067 Kb |
Fluid Layout with float | 1,774 Kb |
Responsive Navigation With Flexbox | 2,781 Kb |
Portfolio | 6,398 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Magnus 3 | ARocketfish | 7,944 Kb |
Three js | Paulq | 2,353 Kb |
My three.js practice | Esambino | 3,203 Kb |
Sass random color animation | Jotavejv | 4,827 Kb |
Slider | Mohammed-fawzy | 2,634 Kb |
JQuery exercise | Brian-baum | 3,780 Kb |
IE11 Test | Boostnewmedia | 4,998 Kb |
UI Challenge - Budget Selector | AgentRR007 | 3,547 Kb |
Geildanke typography | Fischaela | 3,249 Kb |
This in constructor context | _shree33 | 1,718 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!