Skip to content

Commit 253fcf3

Browse files
committed
Add screenshot to readme
1 parent e54514a commit 253fcf3

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ This is a tool that can convert any image into a pure css image.
44

55
[Live demo](http://javier.xyz/img2css/)
66

7+
[![img2css](screenshot.png)](http://javier.xyz/img2css/)
8+
79
## How this works?
810

911
Well, it just puts the image in a canvas, calculates an array with the rgb values, and then... just creates a single pixel shadow for every value!

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<script src="static/bundle.js"></script>
1212

13-
<a target='_blank' style="position: fixed; top: 0; right: 0" href="https://github.com/javierbyte/img2css"><img style="position: absolute; top: 0; left: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_left_red_aa0000.png"></a>
13+
<a target='_blank' style="position: fixed; top: 0; right: 0" href="https://github.com/javierbyte/img2css"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_left_red_aa0000.png"></a>
1414

1515
<script>
1616
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){

screenshot.png

48.9 KB
Loading

0 commit comments

Comments
 (0)