Skip to content

javierbyte/img2css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 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.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •