Running boy
How do I make an running boy?
What is a running boy? How do you make a running boy? This script and codes were developed by João Neto Guimarães on 19 January 2023, Thursday.
Running boy - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>running boy</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="animation"></div> <script src="js/index.js"></script>
</body>
</html>
Running boy - Script Codes CSS Codes
#animation { position: absolute; left: 0px; right: 0px; width: 145px; height: 150px; background: url(http://jjennings3.blog.com/files/2013/04/runningSeo1.png) left center; animation: animate steps(6) infinite 1s;
}
@keyframes animate { 0% { background-position: 0px 0px; } 100% { background-position: -883px 0px; }
}
Running boy - Script Codes JS Codes
var frame = document.getElementById("animation");
document.addEventListener('keypress', function(event) { console.log(event.keyCode); if (event.keyCode == 100) { frame.style.transform = "scaleX(1)"; frame.style.left = frame.offsetLeft+20+"px"; } else if (event.keyCode == 97) { frame.style.transform = "scaleX(-1)"; frame.style.left = frame.offsetLeft-20+"px"; }
});
Developer | João Neto Guimarães |
Username | netoguimaraes |
Uploaded | January 19, 2023 |
Rating | 3 |
Size | 1,851 Kb |
Views | 8,096 |
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 |
Flexbox acordion | 2,218 Kb |
Search Users animation | 1,705 Kb |
Hover img with ocult button | 1,846 Kb |
Cars going | 1,699 Kb |
Clip path css | 1,432 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 |
WRENCH - STAFF | Lolita-adams | 1,608 Kb |
Subscription Newsletter - Before inlining | Bradstrong | 7,526 Kb |
Fading Navigation Bar | J-w-v | 2,805 Kb |
Pomodoro Timer | Sdas13 | 2,900 Kb |
BabyStore | Pablo-Ai | 3,807 Kb |
Bootstrap 4 Gridsystem Demo | Rivella50 | 1,535 Kb |
Halo 5 REQ Guide Bookmarklet | Cwacht | 3,993 Kb |
Haml Calendar | Katydecorah | 5,643 Kb |
Improved Page Flipping Effect | Usaphp | 5,201 Kb |
Confirm Close Of Foundation Reveal Modal | Winghouchan | 1,818 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!