Skip to content

javierbyteimg2css

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

Repository stars
2,512 Star
All-time
#23,247 all time
Fork
188 Fork
Repository created
since 2015
Language
JavaScript
License
BSD-3-Clause
Commercial use OKBSD-3-Clause; keep the license notice
Recently updatedLast push 1 months ago

About

README

img2css converts any image into pure CSS, rebuilding it pixel by pixel with box-shadows and needing no img tag or background image.

It suits people who want to render images in CSS or experiment. A base64 embedded output is also available for direct use on a page.

Summarized by AI from the README · As of 2026-12-02, javierbyte/img2css had 2,512 stars. According to the 2026-12-02 record, javierbyte/img2css is catalogued under Frontend & UI Components. A permissive license allows commercial use under its terms. The last push was on 2026-10-30. The figures come from a GitHub API snapshot. Stars count expressions of interest. Record updated: . About the data

Raw observations · 15
Historical observations
Measured atRepository starsSource
2026-12-02 04:15 UTC2,512Source
2026-12-01 04:51 UTC2,512Source
2026-11-30 04:01 UTC2,512Source
2026-11-29 03:54 UTC2,511Source
2026-11-28 03:58 UTC2,511Source
2026-11-27 04:02 UTC2,511Source
2026-11-26 04:04 UTC2,510Source
2026-11-25 19:07 UTC2,510Source
2026-11-12 06:23 UTC2,504Source
2026-11-11 06:30 UTC2,504Source
2026-11-10 05:25 UTC2,504Source
2026-11-09 04:43 UTC2,503Source
2026-11-08 04:45 UTC2,501Source
2026-11-07 21:12 UTC2,501Source
2026-11-06 12:00 UTC2,501Source

Add a badge to your README

For project authors: paste it into the README. It updates daily and links back here.

Badge preview
[![github.day](https://github.day/badge/img2css.svg)](https://github.day/resources/img2css?ref=badge)

Share this project

Share on X

First collected 2026-11-06Measured at 2026-12-02 04:15 UTCSourceLicense source

Compiled from public project information; not independently tested. · Repository Stars, not unique users · License tiers are derived from metadata. Check obligations for your use; unknown does not mean prohibited.