Full screen burger menu
How do I make an full screen burger menu?
Hamburger menu to expand to full screen when toggled. Will close when clicking/touching anywhere but an actual link.. What is a full screen burger menu? How do you make a full screen burger menu? This script and codes were developed by Paul Sullivan on 26 January 2023, Thursday.
Full screen burger menu - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Full screen burger menu</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="menu-collapsed"> <div class="bar"></div> <nav> <ul> <li><a href="#">Home</a></li> <li><a href="#">About</a></li> <li><a href="#">Clients</a></li> <li><a href="#">Contact Us</a></li> </ul> </nav>
</div>
<div class="container"> <div class="row"> <div class="col-sm-10 col-sm-push-1 col-md-8 col-md-push-2"> <h1>Full Screen Burger Menu</h1> <h3>Click the burger.</h3> <p>Lucas ipsum dolor sit amet darth lando qui-gonn mara droid jade qui-gonn skywalker wedge lars. Ben antilles chewbacca palpatine mothma fisto binks mara. Wicket greedo c-3p0 han lars mara darth. Darth binks wookiee mara luuke amidala. Lando kessel jango wicket. Moff jango dantooine luuke skywalker obi-wan. Darth mandalore binks leia solo moff yoda. Darth c-3p0 maul ben jar lando. Jabba ahsoka grievous mandalorians kenobi wookiee chewbacca. Binks calrissian tatooine baba jango k-3po darth calamari yavin.</p> <p> Wicket sidious organa skywalker mandalore mon qui-gonn fisto. Leia grievous biggs bespin calamari. Alderaan luuke darth hutt. Vader leia boba kashyyyk dagobah jade kashyyyk. Lars amidala gonk lobot organa. Twi'lek darth gamorrean obi-wan boba moff. Yavin c-3p0 darth darth luke chewbacca han. Skywalker dooku c-3po owen. Leia jade alderaan jar dooku utapau tusken raider dantooine jawa. Anakin leia kessel jango bespin lando organa tatooine tusken raider. Mara ackbar mara calamari hutt qui-gonn dantooine. </p> <p> Yoda sidious lando padmé chewbacca fett. Maul calrissian boba lobot jade darth obi-wan. Wookiee darth ahsoka dagobah darth sidious naboo lars. Dooku skywalker skywalker ben luke windu. Wicket darth coruscant darth coruscant organa palpatine yoda padmé. Darth leia organa gonk lando mon mara hutt. Wookiee darth padmé windu hutt. Darth cade maul padmé grievous greedo moff dooku solo. Coruscant twi'lek dooku moff skywalker. </p> </div> </div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Full screen burger menu - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Quicksand);
html,
body { height: 100%; background-color: #333; font-family: 'Quicksand', sans-serif; color: white;
}
.b-a, .bar, .bar:before, .bar:after { transition: all .25s; content: ""; position: absolute; left: 0; height: 6px; width: 30px; border-radius: 15px; background-color: rgba(255, 255, 255, 0.95);
}
.menu-collapsed { transition: all .25s; position: fixed; top: 10px; left: 9px; height: 36px; width: 36px; z-index: 1; cursor: pointer;
}
.menu-collapsed ul { transition: all 0s; position: fixed; left: -9000px;
}
.bar { position: fixed; left: 12px; top: 24px;
}
.bar:before { top: -8px;
}
.bar:after { top: 8px;
}
.b-a-expanded, .menu-expanded .bar:before, .menu-expanded .bar:after { transition: all .25s; top: -0px;
}
.menu-expanded { transition: all .25s; text-align: center; line-height: 200px; height: 100%; width: 100%; border-radius: 0px; top: 0; left: 0; background-color: rgba(0, 0, 0, 0.85);
}
.menu-expanded ul { transition: all 0s; position: relative; left: 0; z-index: 2;
}
.menu-expanded a { transition: all .15s; text-decoration: none; font-size: 2em; padding: 5px; color: #fff; display: block;
}
.menu-expanded a:hover { background-color: rgba(255, 255, 255, 0.8); transition: all .15s; letter-spacing: 2px; color: #333; border: 1px solid rgba(255, 255, 255, 0.15);
}
.menu-expanded .bar { background-color: transparent; transition: all .25s;
}
.menu-expanded .bar:before { transform: rotate(45deg);
}
.menu-expanded .bar:after { transform: rotate(-45deg);
}
.row { padding-top: 150px;
}
h1 { font-size: 3em;
}
h3 { color: #999;
}
p { line-height: 160%; letter-spacing: 1px;
}
Full screen burger menu - Script Codes JS Codes
$(".menu-collapsed").click(function() { $(this).toggleClass("menu-expanded");
});
Developer | Paul Sullivan |
Username | pwsm50 |
Uploaded | January 26, 2023 |
Rating | 4.5 |
Size | 3,923 Kb |
Views | 4,048 |
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 |
Another Simple CSS load animation | 2,688 Kb |
Circular Audio Bars | 3,343 Kb |
A Pen by Paul Sullivan | 2,349 Kb |
Crazed Bacteria | 2,886 Kb |
Get out and vote - Nov. 8th | 5,616 Kb |
Flying Bee | 3,711 Kb |
A Pen by Paul Sullivan | 5,249 Kb |
Colorful Animated Border | 3,351 Kb |
Dart Scoreboard | 4,848 Kb |
CSS Image Glitch | 5,782 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 |
Flower expansion | Sreucherand | 3,425 Kb |
Rrremark.com Overlay Highlighter | Derickruiz | 4,438 Kb |
Isometric css island | Xaddict | 2,950 Kb |
TigerWoods Freecodecamp Page | Baileytj | 2,869 Kb |
Word Wrap Algorithm for Multiline Canvas Text | Peterhry | 2,349 Kb |
Animated rainbow wave on canvas | Icodeforlove | 2,777 Kb |
Two column of responsive height | Fixie | 2,908 Kb |
Canvas Background Effect | Sonick | 3,513 Kb |
Prototype Responsive Homepage | Heyitsolivia | 7,677 Kb |
Blog Concept 2 | JGallardo | 2,994 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!