GIF-like animation with single image
How do I make an gif-like animation with single image?
Simple demo how you can achieve simple GIF-like animation with single TweenMax. . What is a gif-like animation with single image? How do you make a gif-like animation with single image? This script and codes were developed by Chrysto on 16 July 2022, Saturday.
GIF-like animation with single image - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>GIF-like animation with single image</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="smile"></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>
GIF-like animation with single image - Script Codes CSS Codes
#smile{ width: 14px; height: 14px; background-image: url(http://mail.google.com/mail/im/emotisprites/wink2.png); background-repeat: no-repeat;
}
GIF-like animation with single image - Script Codes JS Codes
$(function() { TweenMax.to( $("#smile"), 3, { backgroundPosition:"0px -588px", ease:SteppedEase.config(14), repeat:-1 }); });
Developer | Chrysto |
Username | bassta |
Uploaded | July 16, 2022 |
Rating | 3 |
Size | 1,807 Kb |
Views | 50,600 |
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 |
Fullscreen image in Canvas | 2,268 Kb |
Page Header animation | 2,828 Kb |
TweenMax text - changing slogans | 2,333 Kb |
Single page website | 2,688 Kb |
Footer concept | 2,210 Kb |
Simple GSAP Slider | 2,839 Kb |
Lastik menu | 2,257 Kb |
Fullscreen Parallax | 3,313 Kb |
Click outside element | 1,993 Kb |
Simple one page header concept | 2,530 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 |
Content Changer | Cliffpyles | 4,538 Kb |
A cube | KyleDavidE | 18,627 Kb |
Beveled corners using CSS border attribute | DawsonMediaD | 2,136 Kb |
Cool Page Split Effect | Anthonyadamski | 6,128 Kb |
A Pen by Anoop | Anoopjohn | 330,760 Kb |
Vertical Pan Hammer.js example | Jtangelder | 2,144 Kb |
Side Sliding Menu CSS | EduardL | 4,388 Kb |
LBCA - Mail canvas | Emnbdx | 3,856 Kb |
HTML5 Breakout | Jaysalvat | 4,873 Kb |
Glitchy Text Effect | Kescoe | 2,208 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!