Skip to content

Commit

Permalink
Merge branch 'master' of github.com:nicolas-t/Chocolat
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-t committed Jul 15, 2015
2 parents 66df15a + 2918570 commit 97d0e89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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`
Tests are written in `test/src/test.chocolat.coffee`

0 comments on commit 97d0e89

Please sign in to comment.