Parallax.js

Developer
Size
2,330 Kb
Views
56,672

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 Previews

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);
Parallax.js - Script Codes
Parallax.js - Script Codes
Home Page Home
Developer Zmey
Username zmeeey5
Uploaded September 01, 2022
Rating 3
Size 2,330 Kb
Views 56,672
Do you need developer help for Parallax.js?

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!

Zmey (zmeeey5) Script Codes
Name
Box_menu
Tea_card
Custom_scroll_test
Just fun
Fun
Just_fun
Login animation
Search animation
Card_demo
A Pen by Zmey
Create amazing sales emails 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!