Parallax navigation
How do I make an parallax navigation?
A parallax background with a slick bouncy navigation, what more could you ask for?. What is a parallax navigation? How do you make a parallax navigation? This script and codes were developed by Collin Chappell on 03 February 2023, Friday.
Parallax navigation - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Parallax navigation</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <link href="style.css" rel="stylesheet" type="text/css">
<div class="wrap"></div>
<div class="nav"> <ul> <li><a>Home</a></li> <li class="dropdown"> <a>Our Work</a> <ul class="dropdownlinks"> <li><a>Work One</a></li> <br> <li><a>Work Two</a></li> <li><a class="divider"></a></li> <br> <li><a>Work Three</a></li> <li><a class="divider"></a></li> <li><a>Other Works</a></li> </ul> </li> <li><a>About Us</a></li> <li class="dropdown"> <a>Shop</a> <ul class="dropdownlinks"> <li><a>Category One</a></li> <li><a>Category Two</a></li> <li><a>Category Three</a></li> <li><a class="divider"></a></li> <li><a>Terms and Conditions</a></li> <li><a class="divider"></a></li> <li><a>Category Four</a></li> <li><a>Category Five</a></li> </ul> </li> <li><a>Contact</a></li> </ul>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Parallax navigation - Script Codes CSS Codes
.wrap { background: #fff url(http://www.oksancia.com/wp-content/uploads/2010/12/wild_animals_seamless_pattern_oksancia_web_preview.jpg) repeat 0 0; left: 0; position: absolute; top: 0; width: 100%; height: 100%; z-index: 0;
}
.nav { position: absolute; top: 0; left: 0; width: 100%; height: 64px; background: #fff; border-bottom: 1px solid #bbb; box-shadow: 0px 3px 4px 0px rgba(0,0,0,0.2); z-index: 9998 !important;
}
.nav ul {
}
.nav ul li { position: relative; display: inline-block; margin-top: 5px;
}
.nav ul li a { font-size: 22px; font-family: sans-serif; font-weight : 100; padding: 18px 8px; transition: all 0.3s; cursor: pointer;
}
.nav ul li a:hover { color: deepskyblue;
}
.nav ul li ul { position: absolute; z-index: 9999 !important; border: 1px solid #bbb; border-bottom: 2px solid #bbb; border-top: none; opacity: 0; transition: all 0.3s cubic-bezier(.4,1.53,.22,1.14); top: 40px; height: auto; width: 256px; max-width: 256px; background: #fff; border-radius: 5px; overflow: hidden; padding: 6px 4px; box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2); visibility: hidden; -webkit-transform: scale(0.4);
}
.nav ul li:hover ul { opacity: 1; visibility: visible; -webkit-transform: scale(1);
}
.nav ul li ul li a { padding: 4px 4px; display: block;
}
.divider { height: 2px; padding: 0px 0px !important; width: 256px; background: #ccc;
}
Parallax navigation - Script Codes JS Codes
$('.wrap').mousemove(function(e) { var x = (e.pageX * -1 / 5), y = (e.pageY * -1 / 5); $(this).css('background-position', x + 'px ' + y + 'px');
});
Developer | Collin Chappell |
Username | Keubix |
Uploaded | February 03, 2023 |
Rating | 3 |
Size | 2,505 Kb |
Views | 2,024 |
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 |
Minedrix | 0 Kb |
DART Website Design | 0 Kb |
Flip Out Navigation Concept | 3,854 Kb |
Funny Pet Facebook Concept | 5,087 Kb |
Info Revealing Hover Effects | 2,877 Kb |
Frosted Glass Panels | 3,134 Kb |
Profile Page | 2,900 Kb |
Enjin Navigation Bar Creator | 6,599 Kb |
Frosted Glass Navigation Bar | 2,804 Kb |
Mac OS X Mockup | 2,794 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 animation draw | SzymonDziewonski | 5,545 Kb |
3d css cube | Semenchenko | 4,578 Kb |
Flat UI - Checkbox FIX | ARS | 2,663 Kb |
CSS- UI Element States Pseudo-Classes | Tesla809 | 2,206 Kb |
Calculator - codevember 08 - 2016 | Caiocares | 3,260 Kb |
Pure CSS albums gallery | Renaudtertrais | 2,978 Kb |
Elon Musk - Tribute Page - FreeCodeCamp | Yunnimun | 8,615 Kb |
FreeCodeCamp - Simon Game | Ivhed | 8,481 Kb |
Pomodoro Timer | Sdas13 | 2,900 Kb |
Reviews and Ratings Star | Zbnmstry | 1,591 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!