Pure css navigation revealed on hover

Size
2,142 Kb
Views
36,432

How do I make an pure css navigation revealed on hover?

Sexy navigation with good old CSS. What is a pure css navigation revealed on hover? How do you make a pure css navigation revealed on hover? This script and codes were developed by Antonija Simic on 28 September 2022, Wednesday.

Pure css navigation revealed on hover Previews

Pure css navigation revealed on hover - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Pure css navigation revealed on hover</title> <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <header> <nav> <div class="nav-container"> <div class="logo"> A </div> <div class="navigation"> <ul class="navigation-list"> <li><a href="#" class="one">Link</a></li> <li><a href="#" class="two">Link</a></li> <li><a href="#" class="three">Link</a></li> </ul> </div> </div> </nav>
</header>
</body>
</html>

Pure css navigation revealed on hover - Script Codes CSS Codes

body,
html { font-family: "Lato", sans-serif; padding: 0; margin: 0; background-color: #084C61;
}
nav { position: fixed; height: 150px; left: 0; top: 0; right: 0;
}
.logo { position: absolute; top: 50%; left: 30px; z-index: 10; cursor: pointer; color: #FFF; font-size: 3em; font-weight: 500; -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); -ms-transform: translateY(-50%); -o-transform: translateY(-50%); transform: translateY(-50%); -webkit-transition: color .4s ease-in; -moz-transition: color .4s ease-in; -ms-transition: color .4s ease-in; -o-transition: color .4s ease-in; transition: color .4s ease-in;
}
.nav-container { height: 100%;
}
.navigation { position: relative; background-color: #17ACAF; -webkit-transition: transform .4s ease-in; -moz-transition: transform .4s ease-in; -ms-transition: transform .4s ease-in; -o-transition: transform .4s ease-in; transition: transform .4s ease-in; -webkit-transform: translateY(-100%); -moz-transform: translateY(-100%); -ms-transform: translateY(-100%); -o-transform: translateY(-100%); transform: translateY(-100%); height: 100%; z-index: 9;
}
.navigation:hover,
.navigation:focus { -webkit-transform: translateY(0); -moz-transform: translateY(0); -ms-transform: translateY(0); -o-transform: translateY(0); transform: translateY(0);
}
.nav-container:hover .logo,
.nav-container:focus .logo { color: black;
}
.nav-container:hover a,
.nav-container:focus a { opacity: 1; -webkit-transform: translateY(0); -moz-transform: translateY(0); -ms-transform: translateY(0); -o-transform: translateY(0); transform: translateY(0);
}
.nav-container:hover .navigation,
.nav-container:focus .navigation { -webkit-transform: translateY(0); -moz-transform: translateY(0); -ms-transform: translateY(0); -o-transform: translateY(0); transform: translateY(0);
}
.navigation-list { position: absolute; list-style: none; right: 30px; top: 50%; margin: 0; -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); -ms-transform: translateY(-50%); -o-transform: translateY(-50%); transform: translateY(-50%); z-index: 10;
}
li { display: inline-block; margin: 0 10px;
}
a { opacity: 0; -webkit-transform: translateY(-20px); -moz-transform: translateY(-20px); -ms-transform: translateY(-20px); -o-transform: translateY(-20px); transform: translateY(-20px); -webkit-transition: all .4s ease-in; -moz-transition: all .4s ease-in; -ms-transition: all .4s ease-in; -o-transition: all .4s ease-in; transition: all .4s ease-in; text-decoration: none; color: #fff; font-size: 22px;
}
.one { -webkit-transition: all .4s .2s ease-in-out; -moz-transition: all .4s .2s ease-in-out; -ms-transition: all .4s .2s ease-in-out; -o-transition: all .4s .2s ease-in-out; transition: all .4s .2s ease-in-out;
}
.two { -webkit-transition: all .4s .4s ease-in-out; -moz-transition: all .4s .4s ease-in-out; -ms-transition: all .4s .4s ease-in-out; -o-transition: all .4s .4s ease-in-out; transition: all .4s .4s ease-in-out;
}
.three { -webkit-transition: all .4s .6s ease-in-out; -moz-transition: all .4s .6s ease-in-out; -ms-transition: all .4s .6s ease-in-out; -o-transition: all .4s .6s ease-in-out; transition: all .4s .6s ease-in-out;
}
a:hover,
a:focus { outline: none; text-decoration: none;
}
Pure css navigation revealed on hover - Script Codes
Pure css navigation revealed on hover - Script Codes
Home Page Home
Developer Antonija Simic
Username tonkec
Uploaded September 28, 2022
Rating 3
Size 2,142 Kb
Views 36,432
Do you need developer help for Pure css navigation revealed on hover?

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!

Antonija Simic (tonkec) 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!