Dropmotion

CSS animation generator · sprite sheet + keyframes

CSS animation generator, no JavaScript.

Pick an animation, change the words and colours, and download it as CSS: one sprite sheet image and a few lines of @keyframes that play it on any website. No JavaScript, no video player, no iframe. The background stays transparent and the box scales with your layout.

Preview free · CSS download with Unlimited · works in every modern browser

/* the CSS appears here */

This preview is not a video: it is the sprite sheet and the CSS above, built in your browser the same way the download is.

Pick an animation for your site.

Hover a card to play it. Every one can be edited in the Studio, then downloaded as CSS, video, GIF or PNG.

Make it CSS →
Make it CSS →
Make it CSS →
Make it CSS →
Make it CSS →
Make it CSS →
Make it CSS →
Make it CSS →
Make it CSS →
Make it CSS →
Make it CSS →
Make it CSS →

How a CSS sprite animation works

The animation is drawn frame by frame onto one image, a sprite sheet: up to 96 frames in a grid, left to right and top to bottom, saved as a WebP with a transparent background (PNG if your browser can’t save WebP). The CSS shows one frame at a time and moves the sheet with steps(), so the browser jumps cleanly from frame to frame instead of sliding between them.

Two short keyframes do the work: one steps across a row, the other steps down to the next row. Positions are in percent, so the animation fills whatever width you give it and keeps its shape with aspect-ratio. Visitors who ask their system for less motion see it paused.

.dm-logo-reveal{width:100%;max-width:720px;aspect-ratio:720/405;
  background:url(dropmotion-logo-reveal.webp) 0 0/800% 800% no-repeat;
  animation:dm-logo-reveal-x .6s steps(8) infinite, dm-logo-reveal-y 4.8s steps(8) infinite}
@keyframes dm-logo-reveal-x{to{background-position-x:114.2857%}}
@keyframes dm-logo-reveal-y{to{background-position-y:114.2857%}}

A sprite sheet maker, too

The sheet in the download is an ordinary sprite sheet, so you can also load it into a game engine or any tool that plays sprite sheets. The frame size, the number of columns and rows and the timing are written in the CSS file.

CSS, GIF, video or Lottie?

Each has a place. Here is when the CSS download is the right one.

FormatGood atWatch out for
CSS spriteNo JavaScript or player, full transparency, scales with the layout, loops on its own, easy to drop into any page builder.About 12 frames a second, so very fast motion looks steppier than video. No sound. Usually a few hundred KB.
GIFWorks almost everywhere, including email and chat apps.256 colours and on/off transparency, so soft edges look rough.
MP4 or WebM videoThe smoothest motion and the smallest file for long clips, with sound.Needs a video tag; transparent video does not play the same way in every browser.
LottieTiny vector files that stay sharp at any size.Needs a JavaScript player and a file made in After Effects or a similar tool.

Where people use it

Hero sectionsA logo reveal or a moving headline at the top of a landing page.
Animated backgroundsPlace the box behind your content with position:absolute for a CSS animated background.
Shops and product pagesSale ribbons, discount badges and “coming soon” teasers on Shopify, WordPress or Webflow.
No-code buildersUpload the image, paste the CSS into custom code and add one div. Nothing to install.

Three steps to a CSS animation

  1. 01Pick and customise

    Open an animation in the Studio and change the text, colours, speed, size and background. Choose Transparent for a see-through box.

  2. 02Download as CSS

    Under the download button, choose CSS. You get a zip with the sprite sheet, the .css file and an index.html that shows it working.

  3. 03Add it to your site

    Copy the image and the CSS next to each other and add the div where the animation should play.

Preview free. Download CSS with Unlimited.

The CSS download is part of the monthly and yearly plan.

Free$0

Preview every animation and its CSS here and in the Studio. Videos, GIFs and PNGs download free with a small mark, 1 a day, once you sign in.

Unlimited$9 / month

CSS downloads of every animation, plus clean HD and 4K video, LUTs and sound effects. Or $49 a year.

Questions

What does the CSS animation generator make?

It turns any Dropmotion animation into two files for your website: a sprite sheet image that holds every frame, and a CSS class with @keyframes and steps() that plays them. You add one div to your page and the animation runs, loops and scales with the layout, with no JavaScript.

Is the CSS download free?

Previews are free, here and in the Studio, and so is the CSS you see on this page. Downloading the CSS files is part of Unlimited, $9 a month or $49 a year, which also gives clean HD and 4K video, LUTs and sound effects. Free accounts can still download videos, GIFs and PNGs with a small mark, 1 a day.

Does a CSS sprite animation need JavaScript?

No. The browser plays it from the CSS alone, so it works on pages where scripts are blocked or slow, and on builders that only let you add CSS and HTML.

Can I use it as an animated background in CSS?

Yes. Put the div inside the section, give it position:absolute and inset:0, and place your content above it. Choose Transparent as the background in the Studio so only the animation shows over your own colours.

Will the background be transparent?

Yes, when you pick Transparent in the Studio. The sheet is saved as a WebP with full transparency, which every current browser shows. If your browser cannot save WebP, the download is a PNG, which is also transparent but larger.

How do I add it to WordPress, Shopify or Webflow?

Upload the image to your media library, paste the CSS into the theme’s custom CSS and change the url() to the image’s address, then add the div in a custom HTML or embed block where the animation should play.

Can I use the sprite sheet in a game?

Yes. It is a normal sprite sheet: frames of the same size in a grid, read left to right and top to bottom. The frame size, the number of columns and rows and the timing are written in the CSS file.

Does it work in email?

Mostly not: many email apps ignore CSS animations. For email, download the GIF instead.

Your next animation is a div away.

12 animations here, hundreds more in the Studio, all ready as CSS.

Pick an animation