Responsive Menu Button

1,850 Kb

How do I make an responsive menu button?

What is a responsive menu button? How do you make a responsive menu button? This script and codes were developed by Kazu on 28 October 2022, Friday.

Responsive Menu Button Previews

Responsive Menu Button - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Responsive Menu Button</title> <link rel="stylesheet" href="css/style.css">
<body> <body> <div class="mobile-nav"> <span></span> </div>
</body> <script src=''></script> <script src="js/index.js"></script>

Responsive Menu Button - Script Codes CSS Codes

body { margin: 30px;
.mobile-nav { width: 30px; height: 30px; position: relative;
.mobile-nav span,
.mobile-nav span:before,
.mobile-nav span:after { position: absolute; width: 26px; height: 2px; background-color: #000;
.mobile-nav span { top: 50%; transition: background .3s;
.mobile-nav span:before { content: ""; top: -7px; transform-origin: 0 50%;
.mobile-nav span:after { content: ""; top: 7px; transfor-origin: 0 50%;
.mobile-nav.visible span { background-color: #fff;
.mobile-nav.visible span:before { transform: rotate(45deg) translateX(3px) translateY(-5px);
.mobile-nav.visible span:after { transform: rotate(-45deg) translateX(5px) translateY(-4px);

Responsive Menu Button - Script Codes JS Codes

$(function() { $('.mobile-nav').on('click', function() { $(this).toggleClass('visible'); });
Responsive Menu Button - Script Codes
Responsive Menu Button - Script Codes
Home Page Home
Developer Kazu
Username carmerano
Uploaded October 28, 2022
Rating 3
Size 1,850 Kb
Views 20,240
Do you need developer help for Responsive Menu Button?

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!

Kazu (carmerano) Script Codes
Create amazing blog posts with AI!

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!