Simple Flat Menu
How do I make an simple flat menu?
Simple Flat Menu.Inspiration: https://dribbble.com/shots/939676. What is a simple flat menu? How do you make a simple flat menu? This script and codes were developed by Jeplaa on 01 October 2022, Saturday.
Simple Flat Menu - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Simple Flat Menu</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel='stylesheet prefetch' href='http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css'>
<link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Lato:300'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h1><a href="http://dribbble.com/shots/939676" target="_blank">Simple Flat Menu</a></h1>
<div class="content"> <div class="mainBar"> <div class="liked">Liked</div> <div class="listen">Listen</div> <label class="cog fa fa-cog" for="toggle"></label> </div> <input type="checkbox" id="toggle"> <div class="menu"> <a href="#">Messages</a> <a href="#">Dashboard</a> <a href="#">Recent Activity</a> <a href="#">Unlike</a> </div>
</div>
</body>
</html>
Simple Flat Menu - Script Codes CSS Codes
html
{ margin: 0; padding: 0; height: 100%; background-image: -webkit-radial-gradient( top center, circle cover, #E7E7E8 30%, #C6C6C6 ); background-image: -webkit-gradient( top center, circle cover, #E7E7E8 30%, #C6C6C6 ); background-image: -moz-radial-gradient( top center, circle cover, #E7E7E8 30%, #C6C6C6 ); background-image: -ms-radial-gradient( top center, circle cover, #E7E7E8 30%, #C6C6C6 ); background-image: -o-radial-gradient( top center, circle cover, #E7E7E8 30%, #C6C6C6 ); background-image: radial-gradient( top center, circle cover, #E7E7E8 30%, #C6C6C6 ); -webkit-tap-highlight-color: rgba( 0, 0, 0, 0 ); -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none;
}
h1
{ margin-top: 20px; text-align: center; font-family: "Lato", Helvetica; font-size: 25px; font-weight: 300; color: #807F7D;
}
h1 a { text-decoration: none; color: #888888; font-weight: 400; }
h1 a:hover { text-decoration: underline; }
.content
{ position: relative; top: 5px; width: 250px; margin: 0 auto;
}
/* Bar */
.mainBar
{ background-color: #4B4B4A; color: #FFFFFF; color: rgba( 255, 255, 255, 0.8 ); width: 250px; height: 50px; font-family: "Lato", "FontAwesome", Helvetica; font-size: 15px; font-weight: 300;
}
.liked, .listen, .cog
{ float: left; text-align: center; height: 50px; line-height: 50px;
}
.liked { width: 94px; }
.listen { width: 99px; }
.cog { width: 55px; }
.liked, .listen { border-right: 1px solid #3E3E3D; }
.liked:before { content: "\f00c"; margin-right: 5px; font-size: 13px; position: relative; bottom: 1px; color: #FFFFFF; }
.listen:before { content: "\f0da"; margin-right: 7px; font-size: 14px; color: #FFFFFF; }
.cog:after { content: "\f0d7"; margin-left: 10px; font-size: 12px; color: #FFFFFF; }
.liked:hover, .listen:hover, .cog:hover { background: #807F7D; color: #E7E7E8; cursor: pointer; }
input#toggle { display: none; }
input#toggle ~ .menu { display: block; }
input#toggle:checked ~ .menu { display: none; }
/* Menu */
.menu
{ margin-top: 4px; background-color: #4DAF7C; color: #FFFFFF; color: rgba( 255, 255, 255, 0.8 ); width: 250px; height: 152px; font-family: "Lato", "FontAwesome", Helvetica; font-size: 15px; font-weight: 300;
}
.menu a
{ display: block; padding: 0 0 0 30px; line-height: 38px; color: #FFFFFF; color: rgba( 255, 255, 255, 0.8 ); text-decoration: none;
}
.menu a:after
{ opacity: 0; content: "\f0da"; position: absolute; right: 0; margin-right: 10px; font-size: 14px;
}
.menu a:hover:after { opacity: 1; }
.menu a:hover
{ background: #7EC29C; color: #FFFFFF; cursor: pointer;
}
Developer | Jeplaa |
Username | Jeplaa |
Uploaded | October 01, 2022 |
Rating | 4.5 |
Size | 2,467 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 |
Steam Game Servers | 1,911 Kb |
SteamBot page - WIP | 1,516 Kb |
Particles | 2,240 Kb |
Styled slider | 2,346 Kb |
Steam Community Profile Concept | 4,050 Kb |
Simple Filter | 1,655 Kb |
Animated Boxes | 2,349 Kb |
Drawing with Canvas | 2,694 Kb |
Dropdown Menu UI | 2,523 Kb |
Universe | 3,800 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 |
Basic HTML Slideshow | Tomhodgins | 3,386 Kb |
Horizontal slider on scroll | Alojzije | 2,672 Kb |
SVG Basics | HipsterBrown | 1,852 Kb |
Sticky div | Kaslab | 2,225 Kb |
Midterm dry run | Jds317 | 1,649 Kb |
Cool Page Split Effect | Anthonyadamski | 6,128 Kb |
Navier Stoke Fluid Simulation | Esimov | 8,584 Kb |
Scifi-style Interative Form | Aaronchuo | 4,566 Kb |
Css3 loader | Clknap | 2,391 Kb |
Alter bg opacity on hover... | Chrisboon27 | 2,054 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!