Responsive overlay menu - rows menu example
How do I make an responsive overlay menu - rows menu example?
This is example #5 from responsive overlay menu framework. Rows menu. This is a framework for creating responsive cross-browser overlay menus. Made with css3, jquery and ionicons. Fork and star on github https://github.com/marioloncarek/responsive-overlay-menu. What is a responsive overlay menu - rows menu example? How do you make a responsive overlay menu - rows menu example? This script and codes were developed by Mario Loncarek on 03 July 2022, Sunday.
Responsive overlay menu - rows menu example - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Responsive overlay menu - rows menu example</title> <link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<h4>Example #5 - Rows</h4>
<div class="menu-btn"> <a class="btn-open" href="javascript:void(0)"></a>
</div>
<div class="overlay"> <div class="menu"> <ul> <li><a href="#">Home</a></li> <li><a href="#">About</a></li> <li><a href="#">Services</a></li> <li><a href="#">Contact</a></li> </ul> </div>
</div>
<!-- Github button -->
<a href="https://github.com/marioloncarek/responsive-overlay-menu" target="_blank"><img style="position: absolute; top: 0; left: 0; border: 0;" src="https://camo.githubusercontent.com/567c3a48d796e2fc06ea80409cc9dd82bf714434/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f6c6566745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_left_darkblue_121621.png"></a>
<a href="http://codepen.io/collection/ANqMpL/" target="_blank"><div class="allexamples">View all examples</div></a> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Responsive overlay menu - rows menu example - Script Codes CSS Codes
/*
- Name: Responsive overlay menu framework
- Version: 1.0
- Latest update: 15.9.2015.
- Author: Mario Loncarek
- Author web site: http://marioloncarek.com
*/
body,
html { margin: 0; padding: 0; width: 100%; height: 100%; font-family: 'Raleway', sans-serif;
}
h3 { color: #e9e9e9; text-align: center; margin: 0; padding: 10px 0 0;
}
h4 { color: #333; text-align: center; margin: 0; padding: 10px 0 0;
}
a { text-decoration: none; -webkit-transition: all .3s ease; -moz-transition: all .3s ease; -ms-transition: all .3s ease; -o-transition: all .3s ease; transition: all .3s ease;
}
/* OPEN / CLOSE BTNS */
.menu-btn { position: absolute; top: 6px; right: 20px; z-index: 999; display: inline; font-size: 32px;
}
.menu-btn a { display: inline-block; text-decoration: none; /* safari hack */
}
.btn-open:after { color: #333; content: "\f394"; font-family: "Ionicons"; -webkit-transition: all .2s linear 0s; -moz-transition: all .2s linear 0s; -o-transition: all .2s linear 0s; transition-property: all .2s linear 0s;
}
.btn-open:hover:after { color: #34B484;
}
.btn-close:after { color: #fff; content: "\f2d7"; font-family: "Ionicons"; -webkit-transition: all .2s linear 0s; -moz-transition: all .2s linear 0s; -o-transition: all .2s linear 0s; transition-property: all .2s linear 0s;
}
.btn-close:hover:after { color: #34B484;
}
/* OVERLAY */
.overlay { position: fixed; top: 0; z-index: 99; display: none; overflow: auto; margin: 0; padding: 0; width: 100%; height: 100%; background: #333;
}
.menu { width: 100%; height: 100%;
}
.menu ul { margin: 0; padding: 0; width: 100%; height: 100%;
}
.menu li { display: table; margin: 0; padding: 0; width: 100%; height: 25%; list-style: none; text-align: center; -webkit-transition: all .2s linear 0s; -moz-transition: all .2s linear 0s; -o-transition: all .2s linear 0s; transition-property: all .2s linear 0s;
}
.menu li a { display: table-cell; color: #fff; vertical-align: middle;
}
.menu li:hover { background: #34495e;
}
/* RESPONSIVE */
@media screen and (max-width: 768px) { .menu-btn { right: 25px; }
}
.allexamples{ position:absolute; bottom:0; font-size:18px; font-weight:bold; width:100%; text-align:center; background:#e9e9e9; padding:20px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; color:#333; position:fixed;
}
Responsive overlay menu - rows menu example - Script Codes JS Codes
$(document).ready(function () { $(".menu-btn a").click(function () { $(".overlay").fadeToggle(200); $(this).toggleClass('btn-open').toggleClass('btn-close'); }); $('.overlay').on('click', function () { $(".overlay").fadeToggle(200); $(".menu-btn a").toggleClass('btn-open').toggleClass('btn-close'); }); $('.menu a').on('click', function () { $(".overlay").fadeToggle(200); $(".menu-btn a").toggleClass('btn-open').toggleClass('btn-close'); });
});
Developer | Mario Loncarek |
Username | riogrande |
Uploaded | July 03, 2022 |
Rating | 3.5 |
Size | 3,182 Kb |
Views | 50,600 |
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 |
Responsive overlay menu navigation | 3,198 Kb |
Responsive overlay menu framework | 3,006 Kb |
Responsive overlay menu - full menu with second menu example | 3,613 Kb |
Sticky nav - demo from designmodo | 2,862 Kb |
Responsive overlay menu - columns menu example | 3,215 Kb |
Flat css3 modern buttons | 1,832 Kb |
Responsive overlay menu - anchor links example | 3,289 Kb |
Change div order for responsive elements with jquery | 0 Kb |
Responsive vertical article blog layout | 2,589 Kb |
Responsive carousel with hover effects - owl carousel | 4,334 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 |
Experiment - SCSS SVG Background Image with Variables | See8ch | 3,270 Kb |
Elon Musk - Tribute Page - FreeCodeCamp | Yunnimun | 8,615 Kb |
Canvas stripes | Adrianparr | 1,948 Kb |
Countdown Timer | Massiebn | 3,001 Kb |
Prototype Responsive Homepage | Heyitsolivia | 7,677 Kb |
Banner Ad | Raquellorenzana | 4,172 Kb |
Flower expansion | Sreucherand | 3,425 Kb |
CSS3 keyframe onload animation. | Samueljseay | 1,706 Kb |
My three.js practice | Esambino | 3,203 Kb |
Image Hover | Johnheiner | 3,409 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!