Admin Dropdown Menu
How do I make an admin dropdown menu?
An admin dropdown menu I'm exploring. WIP.Main nav links are clickable to go to their specific pages, with quick links for creating new content.. What is a admin dropdown menu? How do you make a admin dropdown menu? This script and codes were developed by Michael Lee on 20 January 2023, Friday.
Admin Dropdown Menu - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Admin Dropdown Menu</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="Dropdown"> <div class="Dropdown-profile"> <img src="//s3-us-west-2.amazonaws.com/s.cdpn.io/33381/profile/profile-80.jpg?1" class="Photo" /> <span class="Name">Michael Lee</span> <span class="MenuIcon"> <span class="MenuIcon-line"></span> <span class="MenuIcon-line"></span> <span class="MenuIcon-line"></span> </span> </div> <nav class="Dropdown-nav"> <ul class="Dropdown-group"> <li> <a href="#" class="entypo-newspaper NavLink">Posts</a> <a href="#" class="entypo-plus OptionLink"></a> </li> <li><a href="#" class="entypo-archive NavLink">Categories</a> <a href="#" class="entypo-plus OptionLink"></a></li> <li><a href="#" class="entypo-docs NavLink">Pages</a><a href="#" class="entypo-plus OptionLink"></a></li> <li><a href="#" class="entypo-users NavLink">Users</a><a href="#" class="entypo-plus OptionLink"></a></li> </ul> <ul class="Dropdown-group"> <li> <a href="#" class="entypo-logout NavLink">Logout</a> </li> </ul> </nav>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Admin Dropdown Menu - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Lato:300,400);
@import url(http://weloveiconfonts.com/api/?family=entypo);
[class*="entypo-"]:before { font-family: 'entypo', sans-serif; margin: 0 8px 0 0; width: 24px; text-align: center; display: inline-block; border: none;
}
.Dropdown-profile, .Dropdown-nav li .NavLink { background: #fff; display: block; height: 24px; padding: 8px;
}
body { background: #fff; font-family: 'Lato'; font-weight: 400;
}
a { text-decoration: none; color: #49bcbe;
}
.Dropdown { border: 2px solid #ddd; cursor: pointer; overflow: hidden; width: 200px; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px;
}
.Dropdown-profile { position: relative;
}
.Dropdown-profile .Photo { background: #ddd; display: inline-block; vertical-align: middle; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; height: 24px; width: 24px;
}
.Dropdown-profile .Name { display: inline-block; line-height: 24px; padding: 0 0 0 5px; vertical-align: middle; width: 120px;
}
.Dropdown-nav { height: 0; overflow: hidden; -webkit-transition: height 0.2s cubic-bezier(0.19, 1, 0.22, 1); -moz-transition: height 0.2s cubic-bezier(0.19, 1, 0.22, 1); transition: height 0.2s cubic-bezier(0.19, 1, 0.22, 1);
}
.Dropdown-nav ul { list-style: none; margin: 0; padding: 0;
}
.Dropdown-nav li { position: relative;
}
.Dropdown-nav li a { color: #ccc; -webkit-transition: color 0.3s ease; -moz-transition: color 0.3s ease; transition: color 0.3s ease;
}
.Dropdown-nav li a:hover { color: #49bcbe;
}
.Dropdown-nav li .OptionLink { position: absolute; top: 0; right: 0; bottom: 0; height: 22px; font-size: 18px; margin: auto; z-index: 5;
}
.Dropdown-nav li .NavLink { line-height: 24px;
}
.Dropdown.is-expanded nav { height: 202px;
}
.Dropdown-group { border-top: 1px solid #ddd;
}
.Dropdown.is-expanded .MenuIcon-line:nth-child(1) { top: 50%;
}
.Dropdown.is-expanded .MenuIcon-line:nth-child(3) { top: 50%;
}
.MenuIcon { bottom: 0; top: 0; margin: auto; position: absolute; right: 14px; height: 10px; width: 12px;
}
.MenuIcon-line { background: #49bcbe; display: inline-block; height: 2px; margin: auto; position: absolute; width: 100%; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
}
.MenuIcon-line:nth-child(1) { top: 0;
}
.MenuIcon-line:nth-child(2) { top: 50%;
}
.MenuIcon-line:nth-child(3) { top: 100%;
}
Admin Dropdown Menu - Script Codes JS Codes
$(".Dropdown").on("click", function(){ $(this).toggleClass('is-expanded');
});
/* Admin Dropdown Menu michaellee / 2014-04-01 https://michaelsoolee.com
*/
Developer | Michael Lee |
Username | michaellee |
Uploaded | January 20, 2023 |
Rating | 4.5 |
Size | 3,865 Kb |
Views | 12,144 |
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 |
Reveal password toggle | 3,037 Kb |
Animated CSS Poly Drop | 3,287 Kb |
Illustrated CSS Switch | 3,154 Kb |
IOS Messages Typing Bubble | 2,933 Kb |
Hidden Social Media Share Buttons | 3,795 Kb |
Admin Dropdown Menu | 3,865 Kb |
Profile background and color changer prototype for CodeHive | 6,454 Kb |
X Mobile Menu | 3,833 Kb |
Breathing Giphy Logo | 3,483 Kb |
Responsive C3.js chart | 2,111 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 |
Confirm Close Of Foundation Reveal Modal | Winghouchan | 1,818 Kb |
Countdown Timer | Massiebn | 3,001 Kb |
NeeilTimer | Neeilan | 2,836 Kb |
CSS Heart Loaders | Nourabusoud | 2,161 Kb |
Polygon Logo in CSS | Kai | 3,412 Kb |
Exploring css spinners | Akagr | 3,569 Kb |
Minimal Material Design Form Input | Koenigsegg1 | 3,076 Kb |
Text Looping Transition | Agelber | 5,619 Kb |
Exploding Text | Jjmartucci | 4,749 Kb |
Animated skewed panes | NyX | 4,462 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!