Basic Nav, Fold Out Animation
How do I make an basic nav, fold out animation?
What is a basic nav, fold out animation? How do you make a basic nav, fold out animation? This script and codes were developed by Todd Synan on 06 August 2022, Saturday.
Basic Nav, Fold Out Animation - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Basic Nav, Fold Out Animation</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <nav class="nav"> <ul> <li> <a href="#">Nav Item</a> <ul> <li><a href="#">Subnav Item</a></li> <li><a href="#">Subnav Item</a></li> <li><a href="#">Subnav Item</a></li> </ul> </li> <li> <a href="#">Nav Item</a> <ul> <li><a href="#">Subnav Item</a></li> <li><a href="#">Subnav Item</a></li> <li><a href="#">Subnav Item</a></li> </ul> </li> <li> <a href="#">Nav Item</a> <ul> <li><a href="#">Subnav Item</a></li> <li><a href="#">Subnav Item</a></li> <li><a href="#">Subnav Item</a></li> </ul> </li> <li> <a href="#">Nav Item</a> <ul> <li><a href="#">Subnav Item</a></li> <li><a href="#">Subnav Item</a></li> <li><a href="#">Subnav Item</a></li> </ul> </li> <li> <a href="#">Nav Item</a> <ul> <li><a href="#">Subnav Item</a></li> <li><a href="#">Subnav Item</a></li> <li><a href="#">Subnav Item</a></li> </ul> </li> </ul> </nav>
</body>
</html>
Basic Nav, Fold Out Animation - Script Codes CSS Codes
.nav { margin-bottom: 48px;
}
.nav ul { *zoom: 1; list-style: none; margin: 0; padding: 0; background: #333;
}
.nav ul:before,
.nav ul:after { content: ""; display: table;
}
.nav ul:after { clear: both;
}
.nav ul > li { float: left; position: relative;
}
.nav a { display: block; padding: 10px 20px; line-height: 1.2em; color: #fff; border-left: 1px solid #595959;
}
.nav a:hover { text-decoration: none; background: #595959;
}
.nav li ul { background: #273754;
}
.nav li ul li { width: 200px;
}
.nav li ul a { border: none;
}
.nav li ul a:hover { background: rgba(0, 0, 0, 0.19999999999999996);
}
.nav ul > li:hover ul { max-height: 1000px; -webkit-transform: perspective(600) rotate3d(0, 0, 0, 0);
}
.nav li ul { position: absolute; left: 0; top: 36px; z-index: 1; max-height: 0; overflow: hidden; -webkit-transform: perspective(600) rotate3d(1, 0, 0, -90deg); -webkit-transform-origin: 50% 0; -webkit-transition: 350ms; -moz-transition: 350ms; -o-transition: 350ms; transition: 350ms;
}
Developer | Todd Synan |
Username | toddsynan |
Uploaded | August 06, 2022 |
Rating | 3 |
Size | 1,842 Kb |
Views | 40,480 |
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 |
Basic Nav, Fade Animation | 1,844 Kb |
Nav Examples | 14,079 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 |
JQuery Validate checkbox group | Lunaman | 2,466 Kb |
Intake Form Page 2 | Ijantje | 4,983 Kb |
E-mail Template | SoloMDFK | 4,871 Kb |
CSS3 Form | Tusharbandal | 1,836 Kb |
Heartbeat | Apetrov | 2,079 Kb |
Text Looping Transition | Agelber | 5,619 Kb |
Placeholder support for contentEditable elements, without JavaScript | Flesler | 1,863 Kb |
Progressively reveal dots on a Bezier curve | GreenSock | 2,489 Kb |
Velocity.js custom stagger | Tommiehansen | 4,805 Kb |
Count checked checkboxes with jQuery | Mestika | 2,343 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!