diff options
author | Francis Rowe <info@gluglug.org.uk> | 2016-01-24 12:54:14 (EST) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2016-01-24 12:54:14 (EST) |
commit | bce99dbb6eb4ca9ffe44b5cb72bd781a4e738d03 (patch) | |
tree | 1d9c286ad92cb32db69bb03c6c5be2c058c72e0d /site/common/css/cssbox/README.md | |
parent | 52afdbedbd8f2ef2433d57b97843fa38dfe1c403 (diff) | |
download | libreboot.org-bce99dbb6eb4ca9ffe44b5cb72bd781a4e738d03.zip libreboot.org-bce99dbb6eb4ca9ffe44b5cb72bd781a4e738d03.tar.gz libreboot.org-bce99dbb6eb4ca9ffe44b5cb72bd781a4e738d03.tar.bz2 |
add images of flash chips to the FAQ
Diffstat (limited to 'site/common/css/cssbox/README.md')
-rw-r--r-- | site/common/css/cssbox/README.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/site/common/css/cssbox/README.md b/site/common/css/cssbox/README.md new file mode 100644 index 0000000..8a55ab1 --- /dev/null +++ b/site/common/css/cssbox/README.md @@ -0,0 +1,22 @@ +## CSSBox +A simple, pure-CSS Lightbox replacement. + +## Why CSSBox? +* Actually lightweight (643b including comments, 347b 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 + +## Usage +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" /> + +When a visitor clicks the tumbnail, the fullsize preview will appear in the +center of the screen. + +## License +Creative Commons Zero 1.0 + |