Easing

Developer
Size
2,043 Kb
Views
80,960

How do I make an easing?

Source for: http://www.greensock.com/jump-start-js/#easing. What is a easing? How do you make a easing? This script and codes were developed by GreenSock on 11 June 2022, Saturday.

Easing Previews

Easing - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Easing</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="demo"> <div id="easeWrapper"> <div id="logo"></div> </div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/gsap/latest/TweenMax.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Easing - Script Codes CSS Codes

body{	background-color:#000;
}
#demo {	width: 692px;	height: 60px;	background-color: #333;	padding: 8px;
}
#easeWrapper {	width: 500px;	margin-right: auto;	margin-left: auto;	border-right: 1px dashed #CCC;	border-left: 1px dashed #CCC;
}
#logo {	position: relative;	width: 60px;	height: 60px;	background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/logo_black_1.jpg)no-repeat;
}

Easing - Script Codes JS Codes

window.onload = function() {	var logo = document.getElementById("logo");	TweenLite.to(logo, 2, {left:"440px", ease:Bounce.easeOut});	/* Tip: Try substituting the following eases:	Elastic.easeIn	Elastic.easeInout	Back.easeOut	Power1.easeOut	Power2.easeOut	Power3.easeOut	Power4.easeOut	SlowMo.ease SlowMo.ease.config(0.2, 0.8) SlowMo.ease.config(0.8, 1.2)	*/
}
//run
//PC ctnrl-0
//MAC cmd-0
Easing - Script Codes
Easing - Script Codes
Home Page Home
Developer GreenSock
Username GreenSock
Uploaded June 11, 2022
Rating 3.5
Size 2,043 Kb
Views 80,960
Do you need developer help for Easing?

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!

GreenSock (GreenSock) Script Codes
Create amazing art & images 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!