Hiding nav
How do I make an hiding nav?
What is a hiding nav? How do you make a hiding nav? This script and codes were developed by Kescoe on 22 October 2022, Saturday.
Hiding nav - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>hiding nav</title> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ html{ background: -webkit-gradient(linear, 0 0, 0 100%, from(#671e15), color-stop(0.2, #7F462C), color-stop(0.4, #C06000), color-stop(0.6, #E07000), color-stop(0.8, #FF9020), to(#FFFF00)); background: -webkit-linear-gradient(#671e15, #A43224, #C06000, #E07000, #FF9020, #FFFF00); background: -moz-linear-gradient(#671e15, #A43224, #C06000, #E07000, #FF9020, #FFFF00); background: -o-linear-gradient(#671e15, #A43224, #C06000, #E07000, #FF9020, #FFFF00); background: linear-gradient(#671e15, #A43224, #C06000, #E07000, #FF9020, #FFFF00);
min-height: 100%;
}
li{ height: 50px; width: 50px; list-style: none; margin-bottom: 5px; border-radius:10px;
}
span{ height: 50px; width: 0px; background-color: rgba(255, 255, 255, 0.49); background-opacity:0.4; /* distance from li */ margin-left:50px; position: absolute; text-align: center; overflow: hidden; /* text decoration */ line-height: 50px; font-size: 18px; font-weight: bold; font-family: 'Myriad Pro', Arial;
}
#menuHead{ background-image: url(http://www.veryicon.com/icon/png/System/Sticker%20System/Home.png); background-size:100%;
}
#fb{ background-image: url(http://www.cristianmonroy.com/wp-content/uploads/2013/04/facebook_logo_new_600.png); background-size:100%;
}
#pin{ background-image: url(http://icons.iconarchive.com/icons/danleech/simple/512/pinterest-icon.png); background-size:100%;
}
#twit{ background-image: url(http://netrightdaily.com/wp-content/uploads/2012/04/Twitter.png); background-size:100%;
}
#goo{ background-image: url(http://philnews.ph/wp-content/uploads/2011/10/Google+-logo.jpg); background-size:100%;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <!DOCTYPE html>
<html> <head> <script src="https://code.jquery.com/ui/1.10.3/jquery-ui.js" type="text/javascript"></script> <script src="https://code.jquery.com/jquery-1.9.1.js"></script> </head> <body> <nav> <ul> <li id = "menuHead"></li> <div id="menuBody"> <li id = "fb"> <span>FACBOOK</span> </li> <li id = "pin"> <span>PINTEREST</span> </li> <li id= "twit"> <span>TWITTER</span> </li> <li id = "goo"> <span>GOOGLE</span> </li> </div> </ul> </nav> </body>
</html> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Hiding nav - Script Codes CSS Codes
html{ background: -webkit-gradient(linear, 0 0, 0 100%, from(#671e15), color-stop(0.2, #7F462C), color-stop(0.4, #C06000), color-stop(0.6, #E07000), color-stop(0.8, #FF9020), to(#FFFF00)); background: -webkit-linear-gradient(#671e15, #A43224, #C06000, #E07000, #FF9020, #FFFF00); background: -moz-linear-gradient(#671e15, #A43224, #C06000, #E07000, #FF9020, #FFFF00); background: -o-linear-gradient(#671e15, #A43224, #C06000, #E07000, #FF9020, #FFFF00); background: linear-gradient(#671e15, #A43224, #C06000, #E07000, #FF9020, #FFFF00);
min-height: 100%;
}
li{ height: 50px; width: 50px; list-style: none; margin-bottom: 5px; border-radius:10px;
}
span{ height: 50px; width: 0px; background-color: rgba(255, 255, 255, 0.49); background-opacity:0.4; /* distance from li */ margin-left:50px; position: absolute; text-align: center; overflow: hidden; /* text decoration */ line-height: 50px; font-size: 18px; font-weight: bold; font-family: 'Myriad Pro', Arial;
}
#menuHead{ background-image: url(http://www.veryicon.com/icon/png/System/Sticker%20System/Home.png); background-size:100%;
}
#fb{ background-image: url(http://www.cristianmonroy.com/wp-content/uploads/2013/04/facebook_logo_new_600.png); background-size:100%;
}
#pin{ background-image: url(http://icons.iconarchive.com/icons/danleech/simple/512/pinterest-icon.png); background-size:100%;
}
#twit{ background-image: url(http://netrightdaily.com/wp-content/uploads/2012/04/Twitter.png); background-size:100%;
}
#goo{ background-image: url(http://philnews.ph/wp-content/uploads/2011/10/Google+-logo.jpg); background-size:100%;
}
Hiding nav - Script Codes JS Codes
// hide menu // $('#menuBody').hide(); //show menu based on hover // $('nav').mouseenter(function(){ $('#menuBody').slideDown(500); }); $("nav").mouseleave(function(){ $('#menuBody').slideUp(); }); // show menu contents based on hover // $("li").mouseenter(function(){ $(this).find(":first-child").animate({width: '110'}, 200); }); $("li").mouseleave(function(){ $(this).find(":first-child").animate({width:'0'}); });
Developer | Kescoe |
Username | kescoe |
Uploaded | October 22, 2022 |
Rating | 3 |
Size | 3,207 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 |
Animated Invite | 2,556 Kb |
Duck Hunt | 1,706 Kb |
IceCream Truck | 4,306 Kb |
Glitchy Text Effect | 2,208 Kb |
Color chart | 2,248 Kb |
Neff | 3,038 Kb |
Animated menu | 2,143 Kb |
Funny animals | 3,076 Kb |
Accordian nav | 2,168 Kb |
CSS gameboy | 4,131 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 |
Image Stack Test SCSS | CalvinMorett | 2,799 Kb |
CSS Infinite 360 | APinix | 5,564 Kb |
Flower expansion | Sreucherand | 3,425 Kb |
Practice using Wixel | Emnk | 3,057 Kb |
Marching Squares Visualized | Sakri | 7,074 Kb |
Under construction | GhostRider | 1,642 Kb |
CSS eye follow | Pedrocampos | 2,592 Kb |
Faces SVG animation | ScavengerFrontend | 2,957 Kb |
Plotting Points with D3.js | Laurakelly | 31,996 Kb |
Velocity.js custom stagger | Tommiehansen | 4,805 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!