Nav Back There
How do I make an nav back there?
Navigation hidden behind the content.. What is a nav back there? How do you make a nav back there? This script and codes were developed by Tcmulder on 05 August 2022, Friday.
Nav Back There - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Nav Back There</title> <script src="http://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <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> <head> <nav class="main-nav-list"> <ul> <li> <a href="javascript:void(0);"> Home </a> </li> <li> <a href="javascript:void(0);"> About </a> </li> <li> <a href="javascript:void(0);"> Portfolio </a> </li> <li> <a href="javascript:void(0);"> Team </a> </li> <li> <a href="javascript:void(0);"> Contact </a> </li> </ul> </nav>
</head>
<section class="page"> <nav class="hamberger"> <a href="javascript:void(0);" id="main-nav">Activate Navigation</a> </nav> <article class="page-inner"> <h1>Page Title</h1> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce accumsan, diam eu suscipit feugiat, nibh risus semper urna, vel venenatis nisl erat eget odio. </p> <p> Aliquam sed cursus libero. Maecenas ut vulputate neque. Phasellus volutpat mollis massa, nec commodo orci mollis sit amet. Vivamus eu varius nisi. Nam eu dui venenatis, faucibus libero eu, luctus lectus. Quisque accumsan tincidunt nulla ac rutrum. Pellentesque et ante id velit dictum vulputate sodales eu lacus. </p> <h2>Random Heading</h2> <h3><em>Subtitle</em></h3> <p> Nunc a sagittis metus. Suspendisse eu mattis lacus, et convallis felis. Nam enim odio, viverra sit amet tortor non, luctus suscipit enim. Nunc commodo ullamcorper ligula id blandit. Aliquam semper porttitor volutpat. Vivamus lacinia enim tellus, vitae ullamcorper lorem viverra ultrices. Cras tempor iaculis orci a sollicitudin. </p> <h2>Random Heading</h2> <h3><em>Subtitle</em></h3> <p> Nec commodo orci mollis sit amet. Vivamus eu varius nisi. Nam eu dui venenatis, faucibus libero eu, luctus lectus. Quisque accumsan tincidunt nulla ac rutrum. Pellentesque et ante id velit dictum vulputate sodales eu lacus. </p> <p> Nunc a sagittis metus. Suspendisse eu mattis lacus, et convallis felis. Nam enim odio, viverra sit amet tortor non, luctus suscipit enim. Nunc commodo ullamcorper ligula id blandit. Aliquam semper porttitor volutpat. Vivamus lacinia enim tellus, vitae ullamcorper lorem viverra ultrices. Cras tempor iaculis orci a sollicitudin. </p> </article>
</section>
<footer>
</footer> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Nav Back There - Script Codes CSS Codes
*, *:before, *:after { box-sizing: border-box;
}
html, body { height: 100%; font-family: "Trebuchet MS", sans-sarif; line-height: 1.4;
}
.main-nav-list { position: absolute; z-index: 0; height: 100%; width: 100%; background: -webkit-linear-gradient(315deg, #88002b 0%, #c21a1e 100%); background: linear-gradient(135deg, #88002b 0%, #c21a1e 100%); color: #fff; font-family: "Century Gothic", sans-sarif;
}
.main-nav-list a { text-decoration: none; color: #fff;
}
.main-nav-list ul { margin: 1em 0 0; padding-left: 1em;
}
.main-nav-list li { list-style: none;
}
.hamberger { position: absolute; width: 3em; height: 2.55em; background: #fff; text-indent: -9999px; border-radius: 0 0 .2em 0;
}
.hamberger a { position: absolute; left: 10%; top: .4em; border-bottom: 1em double #000; border-top: .35em solid #000; height: 1.7em; width: 80%;
}
.page { position: absolute; height: 100%; width: 100%; overflow-y: scroll; background: -webkit-linear-gradient(315deg, #00242b 0%, #003d44 100%); background: linear-gradient(135deg, #00242b 0%, #003d44 100%); -webkit-transition: 300ms; transition: 300ms; -webkit-transform-origin: 0 0; transform-origin: 0 0; color: #fff;
}
.page.active { -webkit-transform: scale(0.85) translate(40%, 5%); transform: scale(0.85) translate(40%, 5%); opacity: .7; box-shadow: 0 2em 7em #000; overflow-y: hidden;
}
.page h1, .page h2, .page h3, .page h4, .page h5, .page h6 { margin-top: 1em; margin-bottom: 0; font-family: "Century Gothic", sans-sarif;
}
.page-inner { padding: 1em;
}
Nav Back There - Script Codes JS Codes
$('#main-nav, .main-nav-list').click(function(){ $('.page').toggleClass('active');
});
Developer | Tcmulder |
Username | tcmulder |
Uploaded | August 05, 2022 |
Rating | 3 |
Size | 3,646 Kb |
Views | 40,480 |
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 |
Self Populating Percentage Graphics | 3,492 Kb |
Zoom | 2,238 Kb |
Stickup Sticky Nav jQuery Plugin | 4,613 Kb |
Unfinished sunrise | 2,912 Kb |
Half Flip | 3,364 Kb |
Cartoon Bomb | 4,929 Kb |
CSS-Only Slideshow | 3,308 Kb |
Toggle-to-Menu Concept | 3,255 Kb |
Background Wipe | 9,421 Kb |
Button | 4,482 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 |
TweetBox with React JS | J0zelito | 3,325 Kb |
Print element on a page | Mrs_snow | 2,081 Kb |
Blog | Rottingroom | 1,430 Kb |
React Markdown Previewer | C0d0er | 3,190 Kb |
Single element checkbox | Ivijaygupta | 1,996 Kb |
Avero - Collectieve LVVP Arbeidsongeschiktheidsverzekering - CSS - som | Frederiquebonink | 12,554 Kb |
Drop Cap | Gsaiki | 1,571 Kb |
Isometric css island | Xaddict | 2,950 Kb |
CSS Google Now | Jackmoran | 3,196 Kb |
Delete Hover | Chungman93 | 2,557 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!