Skip to content
forked from javierbyte/img2css

Convert any image to pure CSS. Recreates images using only box-shadows.

Notifications You must be signed in to change notification settings

sshyran/img2css

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

img2css

Convert any image to pure CSS.

Live demo

img2css

How does it work?

This tool creates a single one pixel shadow per pixel in the source images.

Why?

Hmm... to demonstrate the power of CSS!

And this may have other interesting applications, like creating loading screens with pixel art, display images where <img /> tags are not allowed or supported.

Development

Run development server:

npm run dev

Build

npm run build

About

Convert any image to pure CSS. Recreates images using only box-shadows.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 48.8%
  • HTML 37.7%
  • CSS 13.5%