The content on this website, including videos and code examples, is for educational purposes only. All demonstrations and designs are fictional and created to illustrate coding techniques. Any resemblance to existing websites or brands is purely coincidental.
The creators and administrators of this website do not claim ownership or affiliation with any existing websites or companies. Users are encouraged to use the information responsibly for learning purposes. Liability for any misuse of the content provided is not accepted.
Below is the html code for this video.
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sliding Menu</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<nav id="slide-menu">
<ul>
<li>Home</li>
<li>About</li>
<li>Features</li>
<li class="divider-line">Contact</li>
<li>Login</li>
</ul>
</nav>
<div id="content">
<div class="menu-trigger"></div>
<h1>Sliding Menu</h1>
<p>Here's an easy way to create a side sliding menu.</p>
<p>
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Delectus molestias inventore optio laboriosam
corporis vitae excepturi omnis ea sit dolore, deserunt officia a velit nemo, vel sed eveniet! Quam,
maxime? Lorem, ipsum dolor sit amet consectetur adipisicing elit. Neque, reiciendis ea velit odio impedit
incidunt id quidem tenetur. Aliquid fuga expedita labore iusto neque porro aspernatur quas esse id
voluptatum?
</p>
<p>
Lorem ipsum dolor, sit amet consectetur adipisicing elit. At nisi voluptates esse, necessitatibus, in
pariatur architecto ut perspiciatis hic doloribus cum accusamus animi. Suscipit repellendus ea harum fuga
commodi nisi? Lorem ipsum dolor, sit amet consectetur adipisicing elit. Fuga labore cum accusamus magnam
eveniet necessitatibus quod esse. Ab et laborum perferendis! Quis obcaecati quae voluptate laborum hic enim
eos nulla?
</p>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Modi, iusto. Laboriosam quasi praesentium itaque!
Vitae laudantium asperiores maiores similique facere voluptatum impedit sequi ullam corrupti animi?
Necessitatibus nam et dicta. Lorem, ipsum dolor sit amet consectetur adipisicing elit. Pariatur, labore
tempora. Aperiam nesciunt eos voluptas inventore, sequi similique dignissimos, dolorem, recusandae dolor
laborum aut consequatur! Perspiciatis molestiae nulla rem repudiandae.
</p>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Perspiciatis, totam. Excepturi, unde accusamus, ut
cumque, itaque cum odio sit neque ipsum impedit modi pariatur. Quia voluptate vero cumque dolore accusamus?
Lorem ipsum dolor sit amet consectetur adipisicing elit. Alias, laborum optio fuga accusantium cupiditate
cumque tempore hic, quo dolorem maxime nemo dignissimos sequi, dolores sit. Labore ex distinctio
perspiciatis nostrum.
</p>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Distinctio aspernatur consectetur voluptatem est
minus assumenda, quam fuga velit eius omnis ad sapiente ab ex sit fugit voluptatibus! Quisquam, velit? Quo!
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Aliquid saepe ea iste odio numquam asperiores qui
assumenda nam quos modi, mollitia alias repellendus blanditiis praesentium soluta doloribus expedita velit
tenetur.
</p>
</div>
<script src="index.js"></script>
</body>
</html>
Below is the css code for this video.
style.css
@font-face {
font-family: "ico";
src: url("data:application/octet-stream;base64,d09GRgABAAAAAA3MABAAAAAAFdAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABbAAAABoAAAAcZZJr3kdERUYAAAGIAAAAHwAAACAANgAGT1MvMgAAAagAAABHAAAAVj4nWUhjbWFwAAAB8AAAAEwAAAFW0CkD5WN2dCAAAAI8AAAAFAAAABwG1/8IZnBnbQAAAlAAAAT5AAAJkYoKeDtnYXNwAAAHTAAAAAgAAAAIAAAAEGdseWYAAAdUAAAETwAABla173lDaGVhZAAAC6QAAAAzAAAANv9VQE9oaGVhAAAL2AAAAB4AAAAkB9wDo2htdHgAAAv4AAAAJAAAACQasQBdbG9jYQAADBwAAAAUAAAAFAS6BnNtYXhwAAAMMAAAACAAAAAgAR4KLW5hbWUAAAxQAAAA1wAAAVaRnTKOcG9zdAAADSgAAABLAAAAYtX5CoJwcmVwAAANdAAAAFYAAABWkqGa/3icY2Bg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mARQrLbA9LLAwKy6xJgEUKy2wPiywMSshIyAgPLAEI0IjOLEmARQrsARDLrAmKy2wPyywABUgR7AAI0KyAAEBFRQTLrAsKi2wQCywABUgR7AAI0KyAAEBFRQTLrAsKi2wQSyxAAEUE7AtKi2wQiywLyotsEMssAAWRSMgLiBGiiNhOLEmARQrLbBELLAII0KwQystsEUssgAAPCstsEYssgABPCstsEcssgEAPCstsEgssgEBPCstsEkssgAAPSstsEossgABPSstsEsssgEAPSstsEwssgEBPSstsE0ssgAAOSstsE4ssgABOSstsE8ssgEAOSstsFAssgEBOSstsFEssgAAOystsFIssgABOystsFMssgEAOystsFQssgEBOystsFUssgAAPistsFYssgABPistsFcssgEAPistsFgssgEBPistsFkssgAAOistsFossgABOistsFsssgEAOistsFwssgEBOistsF0ssDIrLrEmARQrLbBeLLAyK7A2Ky2wXyywMiuwNystsGAssAAWsDIrsDgrLbBhLLAzKy6xJgEUKy2wYiywMyuwNistsGMssDMrsDcrLbBkLLAzK7A4Ky2wZSywNCsusSYBFCstsGYssDQrsDYrLbBnLLA0K7A3Ky2waCywNCuwOCstsGkssDUrLrEmARQrLbBqLLA1K7A2Ky2wayywNSuwNystsGwssDUrsDgrLbBtLCuwCGWwAyRQeLABFTAtAAAAS7gAyFJYsQEBjlm5CAAIAGMgsAEjRLADI3CyBCgJRVJEsgoCByqxBgFEsSQBiFFYsECIWLEGA0SxJgGIUVi4BACIWLEGAURZWVlZuAH/hbAEjbEFAEQAAA==") format("truetype");
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #023040;
color: #353d46;
font: 18px/27px sans-serif;
}
h1 {
color: #023040;
margin: 0 0 15px;
}
#slide-menu {
position: fixed;
top: 0;
left: -100px;
bottom: 0;
display: block;
float: left;
max-width: 284px;
width: 100%;
height: 100%;
transition: all 0.25s ease;
}
#slide-menu ul {
display: block;
margin: 30px;
list-style: none;
opacity: 0.5;
transition: all 0.25s ease;
}
#slide-menu ul li {
color: #d4f0fd;
padding: 4px 0;
cursor: pointer;
}
#slide-menu ul li:hover {
color: #01a9f8;
}
#slide-menu ul li.divider-line {
margin-top: 8px;
padding-top: 12px;
border-top: 1px solid #88d6fb;
}
.menu-active #slide-menu {
left: 0;
}
.menu-active #slide-menu ul {
left: 0;
opacity: 1;
}
#content {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 45px;
overflow: scroll;
background-color: #d4f0fd;
box-shadow: -3px 0 6px #808080;
transition: all 0.25s ease;
}
#content .menu-trigger {
position: fixed;
top: 10px;
left: 10px;
width: 36px;
height: 36px;
background-color: #02577a;
cursor: pointer;
border-radius: 4px;
transition: all 0.25s ease;
}
#content .menu-trigger::before {
content: "\e801";
display: inline-block;
width: 36px;
height: 36px;
color: #88d6fb;
font-family: "ico";
font-size: 20px;
text-align: center;
line-height: 36px;
}
#content .menu-trigger:hover {
background-color: #023040;
}
#content .menu-trigger:hover::before {
color: #01a9f8;
}
.menu-active #content {
left: 284px;
border-radius: 8px 0 0 8px;
}
.menu-active #content .menu-trigger {
left: 294px;
}
#content p {
margin-bottom: 10px;
}
Below is the javascript code for this video.
index.js
(function () {
var body = document.body, menuTrigger = body.getElementsByClassName("menu-trigger")[0];
if (typeof menuTrigger !== "undefined") {
menuTrigger.addEventListener("click", function () {
body.className = body.className == "menu-active" ? "" : "menu-active";
});
}
}.call(this));
Thanks for visiting