Responsive Hamburger Overlay Side Menu With Pure HTML & CSS

Hamburger Overlay Menu is a minimal, responsive, CSS-only navigation drawer (sidebar menu) that slides out from the left aspect of the display screen and covers a part of your most important content material.

If you click on the hamburger button. Responsive overlay, side menu made with pure HTML and CSS.

Read More: Animated Sliding Hamburger Navbar With jQuery And CSS

How to make use of it:

1. Code the HTML for the navigation menu.

<div class="menu-wrap">
  <input type="checkbox" class="toggler">
  <div class="hamburger">
    <div></div>
  </div>
  <div class="menu">
    <div>
      <ul>
        <li><a href="#">Home</a></li>
        <li><a href="#">About</a></li>
        <li><a href="#">My Work</a></li>
        <li><a href="#">Contact</a></li>
      </ul>
    </div>
  </div>
</div>

2. Download the package after which insert the stylesheet menu.css.

<link rel="stylesheet" href="menu.css">

3. Add the default styles of the navigation drawer.

.menu {
  position: fixed;
  top: 0;
  left: 0;
  background: rgb(77, 58, 58, 0.8);
  height: 100vh;
  width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: all var(--menu-speed) ease;
}
.menu > div {
  position: relative;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease-in;
}
.menu ul {
  list-style: none;
}
.menu li {
  padding: 1rem 0;
}
.menu > div a {
  text-decoration: none;
  color: #fafafa;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 1s ease-in;
}
.menu a:hover {
  color: rgb(230, 177, 177);
  transition: color 0.3s ease-in;
}

See Demo And Download

Official Website(rosgas): Click Here

This superior jQuery/javascript plugin is developed by rosgas. For extra Advanced Usage, please go to the official website.

Related Posts

How to Download Files Using Javascript | JS File Downloader

JS File Downloader is a simple, no-dependency library that will be able to download the file from the browser and show the download status. Browser compatibility JS…

A Responsive Icon Browser Linked To an Input Element | Font Awesome Browser

Font Awesome Browser is a simple jQuery plugin that allows you to integrate a responsive icon browser linked to an input element. A jQuery icon picker plugin…

UI Dynamic Tree Structure Using jQuery | Fancytree

Dynamic Tree View - Fancytree is a JavaScript Grid Tree display plugin with keyboard support, built-in editing, filtering, checkboxes, drag-and-drop, and lazy loading. Fancy Tree is a…

Modern SVG-Based Color Picker Vanilla JavaScript | iro.js

Javascript Color Picker Library is a modern, SVG-based color picker widget for vanilla JavaScript. Work with colors in hex, RGB, HSV, and HSL formats in one simple,…

Cross WebView to Fit 100% of Any Web Page | screenfit

Screenfit is a cross-platform and cross-platform web view solution that 100% fits any webpage. This JavaScript library makes your page well-suited for a screen across all browsers…

Bootstrap 5 Treeview Dynamically Collapsible | bs5treeview

Bootstrap 5 Tree View is a very simple plug-in for creating a basic and elegant Treeview using BS5. For use with Bootstrap 5, the attributes have been…

Leave a Reply

Your email address will not be published. Required fields are marked *