Mobile First Menu
How do I make an mobile first menu?
What is a mobile first menu? How do you make a mobile first menu? This script and codes were developed by Adam Lowenthal on 12 October 2022, Wednesday.
Mobile First Menu - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Mobile First Menu</title> <link rel='stylesheet prefetch' href='http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css'>
<link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="row"> <div class="col-md-2"> <nav class="main-navigation"> <ul> <div class="logo-holder"> <img src="http://i61.tinypic.com/2qizcb9.png" class="expanded-item"> </div> <li> <a href="#"> <i class="fa fa-cogs"></i> <span class="expanded-item">Dashboard</span> </a> </li> <li> <a href="#"> <i class="fa fa-suitcase"></i> <span class="expanded-item">Jobs</span> </a> </li> <li> <a href="#"> <i class="fa fa-user"></i> <span class="expanded-item">Candidates</span> </a> </li> <li> <a href="#"> <i class="fa fa-folder-open"></i> <span class="expanded-item">Assignments</span> </a> </li> <li> <a href="#"> <i class="fa fa-random"></i> <span class="expanded-item">Match</span> </a> </li> <li> <a href="#"> <i class="fa fa-users"></i> <span class="expanded-item">Accounts</span> </a> </li> </ul> </nav> </div> <div class="col-md-10"> <div class="cta">Hover Over The Icons</div> </div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Mobile First Menu - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800);
body { font-family: 'Open Sans', sans-serif;
}
.expanded-item { visibility: hidden; opacity: 0;
}
.logo-holder { width: 100%; height: 100px;
}
.main-navigation { background: #333; height: 100vh; position: fixed; width: 65px; transition-duration: .35s; -moz-transition-duration: .35s; /* Firefox 4 */ -webkit-transition-duration: .35s; /* Safari and Chrome */ -o-transition-duration: .35s; /* Opera */
}
.main-navigation:hover .expanded-item { visibility: visible; opacity: 1; transition-duration: .35s; -moz-transition-duration: .35s; /* Firefox 4 */ -webkit-transition-duration: .35s; /* Safari and Chrome */ -o-transition-duration: .35s; /* Opera */ transition-delay: .15s; -moz-transition-delay: .15s; /* Firefox 4 */ -webkit-transition-delay: .15s; /* Safari and Chrome */ -o-transition-delay: .15s; /* Opera */
}
.main-navigation ul { padding: 0; list-style: none;
}
.main-navigation ul i { padding-right: 1em;
}
.main-navigation ul li { text-transform: uppercase; white-space: nowrap;
}
.main-navigation ul li:hover { background: black;
}
.main-navigation ul li a { color: #a6a6a6; width: 100%; padding: 1.5em; display: block;
}
.main-navigation ul li a:hover { color: white; text-decoration: none;
}
.main-navigation:hover { width: 200px;
}
.cta { padding: 60px; font-size: 72px;
}
Developer | Adam Lowenthal |
Username | alowenthal |
Uploaded | October 12, 2022 |
Rating | 3 |
Size | 2,864 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 |
Webster Hall Show Tickets | 4,565 Kb |
Spinning Animated Vinyl Record | 5,968 Kb |
RWP Notifications | 2,999 Kb |
Month Shows | 4,263 Kb |
Dashboard Focal Tags | 2,981 Kb |
Slider | 48,147 Kb |
A Pen by Adam Lowenthal | 5,504 Kb |
Sticky Footer | 1,735 Kb |
Agile Burndown Chart | 4,366 Kb |
Blog List -- BnC | 5,011 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 |
A Pen by panstable | Panstable | 2,940 Kb |
TweenMax transformOrigin Bubble | Nicolund | 2,209 Kb |
Boxes | H3l1um | 2,563 Kb |
JQuery Validate checkbox group | Lunaman | 2,466 Kb |
Simple canvas drawing -- simplified lines | Anandthakker | 3,127 Kb |
Front in Aracaju Logo Pure CSS | Shankarcabus | 2,581 Kb |
Direction-icon | Alexandremasy | 3,323 Kb |
Caputre Cam with JS | KimmoCommit | 2,795 Kb |
A Pen by Manoz | Manoz | 2,424 Kb |
A Pen by Stan Williams | Stanssongs | 6,706 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!