Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

ImageToHtml (Python)

This is a small Python project that turns an image into an HTML file using pure CSS. No canvas. No SVG. No frameworks. Just one div and a crazy amount of box-shadow.

Yes, it actually works.


What this does

  • Takes an image
  • Reads every pixel
  • Converts each pixel into a CSS box-shadow
  • Outputs a single HTML file
  • Displays the image using only HTML + CSS

Browser does the rest (and suffers a little).

About

ImageToHtml is a Python-based tool that converts a design image into HTML and pure CSS code, aiming to reproduce the layout as accurately as possible without using CSS frameworks.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages