Parallax.js
How do I make an parallax.js?
What is a parallax.js? How do you make a parallax.js? This script and codes were developed by Zmey on 01 September 2022, Thursday.
Parallax.js - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>parallax.js</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="bg"> <div class="container"> <ul id="scene"> <li class="layer" data-depth="0.00"><img src="https://s-media-cache-ak0.pinimg.com/originals/a0/62/af/a062af722a50d2d2d1ea32fdf3a07be7.png" alt="layer"/></li> <li class="layer" data-depth="0.20"><img src="https://s-media-cache-ak0.pinimg.com/originals/31/c0/e0/31c0e038fba9cfee200291c9bb0c3f53.png" alt="layer"/></li> <li class="layer" data-depth="0.40"><img src="https://s-media-cache-ak0.pinimg.com/originals/b6/2d/e6/b62de628d83af055798ef24c9021a610.png" alt="layer"/></li> <li class="layer" data-depth="0.60"><img src="https://s-media-cache-ak0.pinimg.com/originals/79/75/d9/7975d9cc3b48beede5fbf14ce88a975a.png" alt="layer"/></li> <li class="layer" data-depth="0.80"><img src="https://s-media-cache-ak0.pinimg.com/originals/ec/f2/d9/ecf2d926b49b60baeae18e6ebb4ddd0e.png" alt="layer"/></li> </ul> </div> </div>
<script src="https://cdn.jsdelivr.net/parallax/2.1.3/parallax.min.js"></script> <script src='https://cdn.jsdelivr.net/parallax/2.1.3/parallax.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Parallax.js - Script Codes CSS Codes
body { padding: 0; margin: 0;
}
img { width: 100%; height: auto;
}
ul { padding: 0; margin: 0; list-style-type: none;
}
.container { overflow: hidden; height: auto; width: 60%; min-width: 600px; margin: 0 auto; position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);
}
Parallax.js - Script Codes JS Codes
var scene = document.getElementById('scene'); var parallax = new Parallax(scene);
Developer | Zmey |
Username | zmeeey5 |
Uploaded | September 01, 2022 |
Rating | 3 |
Size | 2,330 Kb |
Views | 56,672 |
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 |
Circle_animation_2 | 2,267 Kb |
Click on circle | 3,198 Kb |
Just fun | 3,432 Kb |
Tea_card | 2,911 Kb |
Login animation | 4,968 Kb |
Card | 3,561 Kb |
A Pen by Zmey | 3,753 Kb |
Scroll_nav | 3,027 Kb |
Box_menu | 3,530 Kb |
Radio_CSS | 3,303 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 |
Default Input, Textareas, Submits, and Buttons in iOS | Demersdesigns | 2,334 Kb |
Beautiful canvas stars | Matths | 2,399 Kb |
A Pen by aleen42 | Aleen42 | 11,473 Kb |
Simple content swap | Snografx | 1,859 Kb |
Whyutils | LeYvan | 3,752 Kb |
A Pen by Adrien Clerbois | AClerbois | 6,501 Kb |
Two Element Typeface | Chrisota | 4,942 Kb |
Off Canvas | Mariamarica | 1,870 Kb |
Exploring css spinners | Akagr | 3,569 Kb |
Vue Transition | Chenming142 | 4,561 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!