Simple example infographic pen
How do I make an simple example infographic pen?
What is a simple example infographic pen? How do you make a simple example infographic pen? This script and codes were developed by Andy Hullinger on 15 September 2022, Thursday.
Simple example infographic pen - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>simple example infographic pen</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ body{background-color: silver;}
figure{ position: relative; width: 700px; height: 500px; margin:20px auto; border:4px solid black; background-color:#99ccff; overflow: hidden;
}
/* set up for parent/child positioning */
#china, #us, #photos, #boat, .flag, li{
position: absolute;
}
/* layout */
#photos {top: 0;left: 0;}
#china {top: 0;left: 0;}
#us {top: 0;left:413px;}
#china .flag{top: 130px;left: 100px;
transform-origin:top right}
#us .flag{top: 100px;left: 35px;
transform-origin:bottom right}
#boat{top: 250px; left: 30px;}
#photos li{opacity:0}; </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <figure> <ul id="photos"> <li><img src="http://www.andyhullinger.com/china1830/pic1.jpg"/></li> <li><img src="http://www.andyhullinger.com/china1830/pic2.jpg"/></li> <li><img src="http://www.andyhullinger.com/china1830/pic3.jpg"/></li> <li><img src="http://www.andyhullinger.com/china1830/pic4.jpg"/></li> </ul> <div id="china"> <img class="map" src="http://www.andyhullinger.com/china1830/mapchina.png"/> <img class="flag" src="http://www.andyhullinger.com/china1830/flagchina.png"/> </div> <div id="us"> <img class="map" src="http://www.andyhullinger.com/china1830/mapus.png"/> <img class="flag" src="http://www.andyhullinger.com/china1830/flagus.png"/> </div> <img id="boat" src="http://www.andyhullinger.com/china1830/boat.png" />
</figure> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/gsap/1.15.0/TweenMax.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Simple example infographic pen - Script Codes CSS Codes
body{background-color: silver;}
figure{ position: relative; width: 700px; height: 500px; margin:20px auto; border:4px solid black; background-color:#99ccff; overflow: hidden;
}
/* set up for parent/child positioning */
#china, #us, #photos, #boat, .flag, li{
position: absolute;
}
/* layout */
#photos {top: 0;left: 0;}
#china {top: 0;left: 0;}
#us {top: 0;left:413px;}
#china .flag{top: 130px;left: 100px;
transform-origin:top right}
#us .flag{top: 100px;left: 35px;
transform-origin:bottom right}
#boat{top: 250px; left: 30px;}
#photos li{opacity:0};
Simple example infographic pen - Script Codes JS Codes
TweenMax.from("#us", 1.5, {x:300}); TweenMax.from("#china", 1, {delay:.5, x:-300}); TweenMax.staggerFrom(".flag", .5, {delay:1, scale:0, ease:Back.easeOut}, .3) TweenMax.from("#boat", .5, {delay:2, scale:0, ease:Back.easeOut}, .3); TweenMax.staggerTo(".flag", .5, {delay:3, scale:.4, ease:Back.easeOut}, .3); TweenMax.to(".map", 2, {delay:4, opacity:.5}); TweenMax.staggerTo("#photos li", 1, {delay: 4, opacity:1}, 2); TweenMax.to("#boat", 8, {delay:3, x:400}); TweenMax.to("#boat", 1, {delay:3, y:-100, repeat:1, yoyo:true, repeatDelay:3});
Developer | Andy Hullinger |
Username | andyhullinger |
Uploaded | September 15, 2022 |
Rating | 3 |
Size | 2,618 Kb |
Views | 22,264 |
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 |
MFA iteration example | 7,065 Kb |
Clean SVG Map of USA | 15,013 Kb |
CSS type and layout - discrete elements | 2,010 Kb |
Example Responsive Resume | 5,526 Kb |
Mageractive Week 1 | 2,001 Kb |
A Pen by Andy Hullinger | 2,227 Kb |
Presentation Template with Animation | 4,597 Kb |
GSAP Animation with TweenMax | 2,993 Kb |
Hello Kitty Puppet Example TweenMax | 2,576 Kb |
Example Infographic | 3,882 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 |
The Monty Hall Problem | Melatonind | 4,360 Kb |
Typefaces with descriptions | Megandoty | 2,944 Kb |
Border image | JohnRiordan | 2,120 Kb |
Force Counter | Kenlauguico | 2,732 Kb |
Animated Donut Chart | Jplhomer | 3,808 Kb |
BenU Maintenance Site | Ksherman | 4,893 Kb |
Greyscale image with filter in CSS3 | NickyCDK | 1,562 Kb |
Elephants Full screen site | Orrinward | 3,981 Kb |
Zip Button test | Lje7462 | 1,932 Kb |
Video Player Custom Controls | EleftheriaBatsou | 3,665 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!