Something went wrong. Try again.
Fork of backnotprop/plannotator with reduced surface area
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435<!DOCTYPE html><html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Sprite Animation</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #f0f0f0; margin: 0; } .animation { width: 176px; height: 96px; background: url("sprite.png") left center; animation: play 5s steps(24) infinite; /* image-rendering: pixelated; */ /* Uncomment if resizing up */ }
@keyframes play { to { background-position: -4224px 0; } } </style> </head> <body> <div class="animation"></div> </body></html>