Mobile First Menu

Size
2,864 Kb
Views
12,144

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 Previews

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;
}
Mobile First Menu - Script Codes
Mobile First Menu - Script Codes
Home Page Home
Developer Adam Lowenthal
Username alowenthal
Uploaded October 12, 2022
Rating 3
Size 2,864 Kb
Views 12,144
Do you need developer help for Mobile First Menu?

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!

Adam Lowenthal (alowenthal) Script Codes
Create amazing blog posts with AI!

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!