Menu
How do I make an menu?
Two versions of menu that may fit into the dashboard page.Based on http://drbl.in/dkCD by Kyee (http://kyee.co.uk). What is a menu? How do you make a menu? This script and codes were developed by Nika Zawila on 15 October 2022, Saturday.
Menu - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Menu</title> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <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> <div class="l-main"> <div class="menu"> <header class="menu__header"> <h1 class="menu__header-title">Incoming Messages</h1> </header> <div class="menu__body"> <ul class="nav"> <li class="nav__item"> <a href="#" class="nav__item-link is-active"> <i class="fa fa-envelope nav__item-icon"></i> <span class="nav__item-text">News</span> <span class="badge badge--warning">32</span> </a> </li> <li class="nav__item"> <a href="#" class="nav__item-link"> <i class="fa fa-flag nav__item-icon"></i> <span class="nav__item-text">Priority</span> <span class="badge">8</span> </a> </li> <li class="nav__item"> <a href="#" class="nav__item-link"> <i class="fa fa-space-shuttle nav__item-icon"></i> <span class="nav__item-text">Assigned</span> <span class="badge">0/17</span> </a> </li> <li class="nav__item"> <a href="#" class="nav__item-link"> <i class="fa fa-archive nav__item-icon"></i> <span class="nav__item-text">Archived</span> <span class="badge">3</span> </a> </li> <li class="nav__item"> <a href="#" class="nav__item-link"> <i class="fa fa-trash nav__item-icon"></i> <span class="nav__item-text">Deleted</span> <span class="badge">9</span> </a> </li> <li class="nav__item"> <a href="#" class="nav__item-link"> <span class="nav__item-text">Show all</span> </a> </li> </ul> </div> </div> <div class="menu menu--small"> <header class="menu__header"> <h1 class="menu__header-title">Incoming</h1> </header> <div class="menu__body"> <ul class="nav"> <li class="nav__item"> <a href="#" class="nav__item-link is-active"> <i class="fa fa-envelope nav__item-icon"></i> <span class="badge badge--warning">32</span> </a> </li> <li class="nav__item"> <a href="#" class="nav__item-link"> <i class="fa fa-flag nav__item-icon"></i> <span class="badge">8</span> </a> </li> <li class="nav__item"> <a href="#" class="nav__item-link"> <i class="fa fa-space-shuttle nav__item-icon"></i> <span class="badge">0/17</span> </a> </li> <li class="nav__item"> <a href="#" class="nav__item-link"> <i class="fa fa-archive nav__item-icon"></i> <span class="badge">3</span> </a> </li> <li class="nav__item"> <a href="#" class="nav__item-link"> <i class="fa fa-trash nav__item-icon"></i> <span class="badge">9</span> </a> </li> <li class="nav__item"> <a href="#" class="nav__item-link"> <span class="nav__item-text">Show all</span> </a> </li> </ul> </div> </div>
</div>
</body>
</html>
Menu - Script Codes CSS Codes
body { background: #F4F4F4; font-family: Arial, sans-serif; font-size: 14px; font-weight: lighter;
}
.l-main { width: 530px; margin: 0 auto;
}
.menu { width: 250px; margin: 40px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); border-radius: 5px; float: left;
}
.menu__header { background: #4B4F55; border-bottom: 1px solid #353A40; border-radius: 5px 5px 0 0;
}
.menu__header-title { color: #fff; padding: 15px; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}
.menu__body { border-radius: 0 0 5px 5px;
}
.menu--small { width: 110px;
}
.nav { list-style: none;
}
.nav__item { position: relative;
}
.nav__item-link { padding: 10px 15px; text-decoration: none; color: #8B8E93; display: block; border-bottom: 1px solid #F0F0F0;
}
.nav__item-link:hover { background: #f0f0f0;
}
.nav__item-link.is-active { background: #6E757F; color: #fff; border-bottom-color: #4B4F55; box-shadow: 0 1px 0 #7A828D inset;
}
.nav__item-link.is-active:after { content: ''; display: block; position: absolute; top: 50%; right: -6px; margin-top: -6px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 6px solid #6E757F;
}
.nav__item-link.is-active .nav__item-icon { color: #fff;
}
.nav__item:last-child .nav__item-link { border-bottom: none;
}
.nav__item-icon { color: #D2D5DA; width: 20px; text-align: center; font-size: 18px; margin-right: 10px;
}
.badge { font-size: 12px; padding: 2px 8px; border: 1px solid #D1D1D1; border-radius: 10px; position: absolute; top: 10px; right: 15px;
}
.badge--warning { background: #ED373F; border-color: #ED373F;
}
Developer | Nika Zawila |
Username | nikazawila |
Uploaded | October 15, 2022 |
Rating | 4.5 |
Size | 3,277 Kb |
Views | 14,168 |
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 |
Web widget | 3,371 Kb |
Dashboard Stats Component | 2,102 Kb |
Dropdown menu | 2,700 Kb |
Weather widget | 2,790 Kb |
Buttons for autumn | 1,795 Kb |
Mr. Rooster in CSS | 1,972 Kb |
Music player | 52,180 Kb |
Buttons with badges | 1,979 Kb |
Player | 142,669 Kb |
Cashflow app module | 2,041 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 |
Use the Twitchtv JSON API | Roksanaop | 3,561 Kb |
Vue.js Lazy Loading | Kjbrum | 3,620 Kb |
Ipad Mini Showcase | Hornebom | 10,479 Kb |
Base64 SVG Me | MrBambule | 44,786 Kb |
Cofee and sugar | Tripack | 2,094 Kb |
Hexagons | Ashmind | 4,360 Kb |
A Pen by Theun | Tjoen | 6,152 Kb |
Pure CSS Dial | Lukewatts | 3,018 Kb |
Cant get enough icecream in pure css3 | Melawire | 4,322 Kb |
Tic Tac Toe | Volv | 4,862 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!