Sliding side menu with icons
How do I make an sliding side menu with icons?
Sliding side menu with icons. HTML5&CSS3 only. . What is a sliding side menu with icons? How do you make a sliding side menu with icons? This script and codes were developed by Deyan Dimitrov on 13 November 2022, Sunday.
Sliding side menu with icons - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Sliding side menu with icons</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
</head>
<body> <nav class="side-menu"> <ul> <li><a href="#">What to do?<span><i class="fa fa-map-marker"></i></span></a></li> <li><a href="#">Where to go?<span><i class="fa fa-compass"></i></span></a></li> <li><a href="#">Services<span><i class="fa fa-bicycle"></i></span></a></li> <li><a href="#">Accomodation<span><i class="fa fa-bed"></i></span></a></li> <li><a href="#">Free Time<span><i class="fa fa-book"></i></span></a></li> <li><a href="#">Food&Drnk<span><i class="fa fa-beer"></i></span></a></li> </ul> </nav>
</body> <script src="js/index.js"></script>
</body>
</html>
Sliding side menu with icons - Script Codes CSS Codes
body { font-size: 1em; background: #333; font-family: 'Roboto', Arial, Verdana, sans-serif;
}
.side-menu { width:14em; height: auto; margin:4em auto 0; font-size: 1em; line-height: 2em; color: #fff; font-weight:700; text-transform:uppercase; position:absolute; top:0; bottom:0; left: -10em;
}
.side-menu ul { list-style: none; margin: 0; padding: 0;
}
.side-menu ul li { display:block; background-color: #333; height: 2em; padding: 1em 1.5em; position: relative; -webkit-transition: -webkit-transform 0.5s, background-color .5s, color .5s; transition: transform .5s, background-color .5s, color .5s;
}
/*the colors of the different columns*/
.side-menu ul li:nth-child(1) { background-color: #00aced;}
.side-menu ul li:nth-child(2) { background-color: #3b5998;}
.side-menu ul li:nth-child(3) { background-color: #00a300;}
.side-menu ul li:nth-child(4) { background-color: #1e7145;}
.side-menu ul li:nth-child(5) { background-color: #ffc40d;}
.side-menu ul li:nth-child(6) { background-color: #cb2027;}
.side-menu ul li:hover { background-color: #339966; /*you can make different colors depending on the nth-child like above*/ -webkit-transform: translateX(10em); transform: translateX(10em);/*equal to left in the .side-menu*/
}
.side-menu ul li a { display:block; color: #FFF; text-decoration: none;
}
.side-menu ul li span { display:block; position: absolute; font-size:1em; line-height: 2em; height:2em; top:0; bottom:0; margin:0 auto; padding:1em 1.5em; right: 0.16666666666667em; color: #F8F6FF;
}
Sliding side menu with icons - Script Codes JS Codes
//forked from here: https://codepen.io/roccop/pen/Jxutd
Developer | Deyan Dimitrov |
Username | deyand |
Uploaded | November 13, 2022 |
Rating | 3 |
Size | 2,357 Kb |
Views | 30,360 |
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 |
Image Hover Zoom Effect | 2,052 Kb |
Progress Bar with jQuery | 2,749 Kb |
Dropdown Menu Effects | 3,565 Kb |
Responsive Mobile Menu with CSS | 2,796 Kb |
404 error bad TV page | 2,243 Kb |
Fixed header | 3,802 Kb |
Mobile Dropdown Menu | 4,204 Kb |
Filtering with shuffle.js | 2,712 Kb |
Fixed header jquery | 3,367 Kb |
Responsive table | 3,614 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 |
ABVI Menu Discarded | Overdrivemachines | 3,607 Kb |
Side Sliding Menu CSS | EduardL | 4,388 Kb |
A Pen by Jess | Jessamyne | 5,100 Kb |
Promodoro | Bencarp | 1,712 Kb |
Responsive Minimal Blog Layout | Hackthevoid | 5,261 Kb |
Minimelephant | Smashlee | 2,507 Kb |
A Pen by Moeid Saleem | Moeidsaleem | 1,862 Kb |
Pure CSS Tooltip | APinix | 2,815 Kb |
Custom Checkbox and radio inputs SCSS | Rgfx | 3,367 Kb |
Wikipedia Viewer | Codinger | 4,681 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!