Simplest Parallax effect ever.

Developer
Size
1,900 Kb
Views
14,168

How do I make an simplest parallax effect ever.?

This is a simple parallax effect that I made for http://mymaplist.com/login. What is a simplest parallax effect ever.? How do you make a simplest parallax effect ever.? This script and codes were developed by Maheshc on 28 November 2022, Monday.

Simplest Parallax effect ever. Previews

Simplest Parallax effect ever. - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Simplest Parallax effect ever.</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <!-- This is a very simple parallax effect achieved by simple CSS 3 multiple backgrounds, made by https://twitter.com/msurguy --> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='http://mymaplist.com/js/vendor/TweenLite.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Simplest Parallax effect ever. - Script Codes CSS Codes

body{	background-color: #444; background: url(http://mymaplist.com/img/parallax/pinlayer2x.png),url(http://mymaplist.com/img/parallax/pinlayer1.png),url(http://mymaplist.com/img/parallax/back.png);
}

Simplest Parallax effect ever. - Script Codes JS Codes

$(document).ready(function(){ $(document).mousemove(function(e){ TweenLite.to($('body'), .5, {css:{'background-position':parseInt(event.pageX/8) + "px "+parseInt(event.pageY/12)+"px, "+parseInt(event.pageX/15)+"px "+parseInt(event.pageY/15)+"px, "+parseInt(event.pageX/30)+"px "+parseInt(event.pageY/30)+"px"}}); });
});
Simplest Parallax effect ever. - Script Codes
Simplest Parallax effect ever. - Script Codes
Home Page Home
Developer Maheshc
Username maheshc
Uploaded November 28, 2022
Rating 3
Size 1,900 Kb
Views 14,168
Do you need developer help for Simplest Parallax effect ever.?

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!

Maheshc (maheshc) Script Codes
Create amazing Facebook ads 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!