diff options
Diffstat (limited to 'site/common/css/cssbox/README.md')
-rw-r--r-- | site/common/css/cssbox/README.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/site/common/css/cssbox/README.md b/site/common/css/cssbox/README.md index 8a55ab1..ceed61a 100644 --- a/site/common/css/cssbox/README.md +++ b/site/common/css/cssbox/README.md @@ -2,7 +2,7 @@ A simple, pure-CSS Lightbox replacement. ## Why CSSBox? -* Actually lightweight (643b including comments, 347b excluding comments, unminified!) +* Actually lightweight (843b including comments, 547b excluding comments, unminified!) * Centers the image with a nice, yet simple border * Completely responsive, works on any screen size * Has a pretty fade in animation @@ -12,11 +12,14 @@ Upload cssbox.css to your server and add a stylesheet link to it in your CSS. Add your images like this: - <img class="cssbox_thumb" tabindex=1 src="image_thumbnail.png" /><img class="cssbox_full" src="image_full.png" /> + <img class="cssbox_thumb" tabindex=1 src="image_thumbnail.png" /><span class="cssbox_full"><img src="image_full.png" /></span> When a visitor clicks the tumbnail, the fullsize preview will appear in the center of the screen. +## Example +An example page is available in the gh-pages branch, or online on [GitHub Pages](https://thelastproject.github.io/CSSBox/). + ## License Creative Commons Zero 1.0 |