Compact menu
How do I make an compact menu?
Menu using css3 transition. What is a compact menu? How do you make a compact menu? This script and codes were developed by Roman Budnikov on 20 January 2023, Friday.
Compact menu - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>compact menu</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <nav> <ul> <li> <a href='#'> <div class='typicn home'>Home</div> </a> </li> <li> <a href='#'> <div class='typicn cog'>Settings</div> </a> </li> <li> <a href='#'> <div class='typicn location'>Location</div> </a> </li> <li> <a href='#'> <div class='typicn user'>Profile</div> </a> </li> </ul>
</nav> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Compact menu - Script Codes CSS Codes
@import url("https://fonts.googleapis.com/css?family=Open+Sans&subset=latin,cyrillic");
@font-face { font-family: 'Typicons'; src: url("http://typicons.com/media/fonts/typicons-regular-webfont.eot"); src: url("http://typicons.com/media/fonts/typicons-regular-webfont.eot?#iefix") format("embedded-opentype"), url("http://typicons.com/media/fonts/typicons-regular-webfont.woff") format("woff"), url("http://typicons.com/media/fonts/typicons-regular-webfont.ttf") format("truetype"), url("http://typicons.com/media/fonts/typicons-regular-webfont.svg#TypiconsRegular") format("svg"); font-weight: normal; font-style: normal;
}
.home::before { content: "C";
}
.cog::before { content: "O";
}
.user::before { content: "X";
}
.location::before { content: "A";
}
.typicn::before { font-family: "Typicons", sans-serif; font-size: 50px; -webkit-font-smoothing: antialiased; vertical-align: middle;
}
nav { text-align: center;
}
nav ul { list-style: none; margin: 0; padding: 0;
}
nav ul li { display: inline-block;
}
nav ul li a { color: #3c3c64; text-decoration: none;
}
nav ul li a .typicn { font-size: 24px; width: 45px; font-family: 'Open Sans', sans-serif; overflow: hidden; -moz-transition: width 0.5s; -o-transition: width 0.5s; -webkit-transition: width 0.5s; transition: width 0.5s;
}
nav ul li a:hover .typicn { width: 150px;
}
Compact menu - Script Codes JS Codes
(function() {
}).call(this);
Developer | Roman Budnikov |
Username | supro |
Uploaded | January 20, 2023 |
Rating | 3 |
Size | 3,181 Kb |
Views | 6,072 |
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 |
A Pen by Roman Budnikov | 16,608 Kb |
Flat animated buttons | 3,210 Kb |
Rodeo-004 example | 10,586 Kb |
Rating | 2,426 Kb |
Css chat | 5,724 Kb |
Flex barcket | 3,460 Kb |
404 page | 64,234 Kb |
App header | 4,968 Kb |
AngularJS Skills | 3,312 Kb |
Letter | 3,032 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 |
SVG Text Masking | JMChristensen | 2,141 Kb |
Konami Code Easter Egg | Teolitto | 3,051 Kb |
MAD9013 - Float Images with Content | Mad-d | 2,220 Kb |
Awesome Full Page Menu Nav | Ey_intuitive | 4,194 Kb |
NT Tribute | Skybutterfly | 2,850 Kb |
A Pen by Malith Hettiarachchi | MalZiiirA | 5,531 Kb |
Headroom.js demo | WickyNilliams | 3,982 Kb |
Slide out Menu | Rbiggs | 4,936 Kb |
Search field | Jamesbarnett | 2,100 Kb |
Animated Slide Hamburger Mobile Menu | BJack | 2,247 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!