Pixel Art to CSS is a web editor for drawing pixel art, animating frames, and exporting CSS box-shadow animations, static images, GIFs, or sprite sheets. It runs as a React single-page application in the browser.
Overview
The editor targets designers who want pixel assets or lightweight animations expressed as pure CSS rather than image files. Users paint on a grid, manage color palettes, scrub through animation timelines, and tune playback settings before copying generated CSS.
Combined box-shadow and keyframes produce shareable animation code for sites, and export paths include still PNGs, animated GIF, and sprite-like sheets. A built-in sample project demonstrates loading saved work through the UI or an import code path.
The stack uses React with ImmutableJS to keep editor state predictable. Local development and production build scripts follow standard npm workflows, with lint hooks on commit.
Maintainers note the project is temporarily not accepting pull requests or issues during a refactor, but the hosted demo remains usable.
Key features
- Grid-based pixel drawing canvas
- CSS box-shadow animation export
- GIF and static image export
- Keyframe timeline editing
- Custom color palette support
- Save and load projects in browser
- Sprite sheet style output
Use cases
- Prototype CSS-only animated icons
- Create retro sprites for web pages
- Export GIF previews from pixel sketches
- Teach CSS animation from pixel timelines