From walk to run

Developer
Size
2,128 Kb
Views
60,720

How do I make an from walk to run?

Here I'm using two loops, a walk cycle and a run cycle, and I'm connecting them with a transitional animation.. What is a from walk to run? How do you make a from walk to run? This script and codes were developed by Rachel Nabors on 14 June 2022, Tuesday.

From walk to run Previews

From walk to run - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>From walk to run</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! */ .tuna { animation: walk-cycle 1s steps(12) 2, walk-to-run .75s steps(12) 2s 1, run-cycle .75s steps(13) 2.75s infinite; background: url(http://stash.rachelnabors.com/24ways2012/cat_sprite.png) 0 0 no-repeat; height: 200px; width: 400px; position: absolute; bottom: 1px; left: 50%; margin-left: -200px; translate3d(0,0,0);
}
@keyframes walk-cycle { 0% {background-position: 0 0; } 100% {background-position: 0 -2391px; }
}
@keyframes walk-to-run { 0% {background-position: -400px 0; } 100% {background-position: -400px -2391px; }
}
@keyframes run-cycle { 0% {background-position: -800px 0; } 100% {background-position: -800px -2591px; }
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="tuna"></div>
</body>
</html>

From walk to run - Script Codes CSS Codes

.tuna { animation: walk-cycle 1s steps(12) 2, walk-to-run .75s steps(12) 2s 1, run-cycle .75s steps(13) 2.75s infinite; background: url(http://stash.rachelnabors.com/24ways2012/cat_sprite.png) 0 0 no-repeat; height: 200px; width: 400px; position: absolute; bottom: 1px; left: 50%; margin-left: -200px; translate3d(0,0,0);
}
@keyframes walk-cycle { 0% {background-position: 0 0; } 100% {background-position: 0 -2391px; }
}
@keyframes walk-to-run { 0% {background-position: -400px 0; } 100% {background-position: -400px -2391px; }
}
@keyframes run-cycle { 0% {background-position: -800px 0; } 100% {background-position: -800px -2591px; }
}
From walk to run - Script Codes
From walk to run - Script Codes
Home Page Home
Developer Rachel Nabors
Username rachelnabors
Uploaded June 14, 2022
Rating 4.5
Size 2,128 Kb
Views 60,720
Do you need developer help for From walk to run?

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!

Rachel Nabors (rachelnabors) Script Codes
Create amazing SEO content 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!