Easing
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 - 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
Developer | GreenSock |
Username | GreenSock |
Uploaded | June 11, 2022 |
Rating | 3.5 |
Size | 2,043 Kb |
Views | 80,960 |
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 |
GreenSock Home Page Animation | 7,093 Kb |
Basic Starter Pen | 2,160 Kb |
MorphSVGPlugin from GreenSock | 24,861 Kb |
GSPreloader | 3,864 Kb |
Advanced SVG Shape Morphing | 6,342 Kb |
SVG progressive line render | 3,514 Kb |
GSAP JS Banner Example | 6,467 Kb |
Progressively reveal dots on a Bezier curve | 2,489 Kb |
Hide rerun on embedded pens | 1,392 Kb |
Banner Survey | 32,523 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 |
Animated Slide Hamburger Mobile Menu | BJack | 2,247 Kb |
Break Out | AzazelN28 | 12,431 Kb |
CSS3 keyframe onload animation. | Samueljseay | 1,706 Kb |
Page Transitions in Backbone | Mikefowler | 3,691 Kb |
Tab Menus | Zephyr | 3,180 Kb |
Sketchy Box | Mnicpt | 3,033 Kb |
About Mazano | Kiti | 2,585 Kb |
E-mail Template | SoloMDFK | 4,871 Kb |
Custom Checkbox and radio inputs SCSS | Rgfx | 3,367 Kb |
Javascript Welcome | Peterlewicki | 1,573 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!