From 2918570b7e3430db48ffed6021b5567b1a747a3e Mon Sep 17 00:00:00 2001 From: Nicolas Turlais Date: Mon, 13 Jul 2015 10:10:52 +0200 Subject: [PATCH] update readme.md --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 8ebf3d3..09aa147 100644 --- a/readme.md +++ b/readme.md @@ -54,7 +54,7 @@ Add a custom css class to the parent of the lightbox Can be `false`, `'contain'`, `'native'`, or `'cover'`. `false` : if the image is bigger than the window it's resized to fit, else if the image is smaller than the window it's not streched, only displayed at native dimensions `'contain'` : if the image is bigger than the window it's resized to fit, else if the image is smaller than the window it's streched, to fit the window -`'cover'` : the image cover the window, no white space are displayed. (only if container == window) +`'cover'` : the image cover the window, no white space are displayed. more informations & exemple about contain/cover : https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Scaling_background_images `'native'` : the image is never streched nor shrinked, always displayed at native dimensions @@ -165,4 +165,4 @@ Feel free to contribute by forking then making a pull request. ##Testing To test, run `gulp test`, if you don't have all packages installed then run `npm install` -Tests are written in `test/src/test.chocolat.coffee` \ No newline at end of file +Tests are written in `test/src/test.chocolat.coffee`