Slide menu tn

Developer
Size
2,819 Kb
Views
6,072

How do I make an slide menu tn?

What is a slide menu tn? How do you make a slide menu tn? This script and codes were developed by Milano_O on 11 December 2022, Sunday.

Slide menu tn Previews

Slide menu tn - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>slide menu tn</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <!-- TN -->
<div class="header"> <svg class="menu-svg" fill="#000000" height="40" viewBox="0 0 24 24" width="40" xmlns="http://www.w3.org/2000/svg"> <path d="M0 0h24v24H0z" fill="none"></path> <path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"></path>	</svg>
</div>
<div class="menu-overlay"> <div class="menu-plate"> <div class="menu-close"> <svg fill="#000000" height="40" viewBox="0 0 24 24" width="40" xmlns="http://www.w3.org/2000/svg"> <path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path> <path d="M0 0h24v24H0z" fill="none"></path>	</svg> </div> </div>
</div> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Slide menu tn - Script Codes CSS Codes

.header { width: 100%; float: left; height: 80px; position: relative; background-color: #F9EC31;
}
.header .menu-svg { position: absolute; top: 20px; left: 30px; cursor: pointer;
}
.header svg:not(:root) { overflow: hidden;
}
.menu-overlay { position: fixed; background-color: transparent; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; -webkit-transition: all 350ms ease-in-out; transition: all 350ms ease-in-out;
}
.menu-overlay .menu-plate { position: absolute; left: 0; top: 0px; left: -400px; width: 300px; height: 100%; background: white; box-shadow: 3px 0px 30px rgba(0, 0, 0, 0.4); -webkit-transition: all 350ms ease-in-out; transition: all 350ms ease-in-out;
}
.menu-overlay .menu-plate .menu-close { position: absolute; top: 28px; left: 30px; cursor: pointer;
}
html.menu-open .menu-plate { -webkit-transform: translate3d(400px, 0px, 0px); transform: translate3d(400px, 0px, 0px);
}
html.menu-open .menu-overlay { background-color: rgba(0, 0, 0, 0.7); pointer-events: auto;
}

Slide menu tn - Script Codes JS Codes

$(function() { menuToggle();
});
function menuToggle() { $('.menu-plate').on('click', function(e){ e.stopPropagation(); }); $('.menu-close, .header .menu-svg, .menu-overlay').on('click', function(){ $('html').toggleClass('menu-open'); });
}
Slide menu tn - Script Codes
Slide menu tn - Script Codes
Home Page Home
Developer Milano_O
Username milanodituti
Uploaded December 11, 2022
Rating 3
Size 2,819 Kb
Views 6,072
Do you need developer help for Slide menu tn?

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!

Milano_O (milanodituti) Script Codes
Create amazing sales emails 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!