Basic Nav, Fade Animation

Developer
Size
1,844 Kb
Views
38,456

How do I make an basic nav, fade animation?

What is a basic nav, fade animation? How do you make a basic nav, fade animation? This script and codes were developed by Todd Synan on 06 August 2022, Saturday.

Basic Nav, Fade Animation Previews

Basic Nav, Fade Animation - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Basic Nav, Fade 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, Fade 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 { visibility: visible; opacity: 1; filter: alpha(opacity=100);
}
.nav li ul { position: absolute; left: 0; top: 36px; z-index: 1; visibility: hidden; opacity: 0; filter: alpha(opacity=0); -webkit-transition: 200ms ease; -moz-transition: 200ms ease; -o-transition: 200ms ease; transition: 200ms ease;
}
Basic Nav, Fade Animation - Script Codes
Basic Nav, Fade Animation - Script Codes
Home Page Home
Developer Todd Synan
Username toddsynan
Uploaded August 06, 2022
Rating 3
Size 1,844 Kb
Views 38,456
Do you need developer help for Basic Nav, Fade Animation?

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!

Todd Synan (toddsynan) Script Codes
Create amazing love letters 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!