diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-11-05 19:02:38 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-11-05 19:02:38 -0500 |
| commit | de7d43f46a2430c7b2d8de70d4907e0afed34779 (patch) | |
| tree | b572b0fbfb5c4ed9576a12e46727390035f53f5b /StoneIsland/www/css | |
| parent | 7c3f73d2e54b7f70bfcbedaa5fb0de82c30c3b85 (diff) | |
using flickity gallery
Diffstat (limited to 'StoneIsland/www/css')
| -rw-r--r-- | StoneIsland/www/css/products.css | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/StoneIsland/www/css/products.css b/StoneIsland/www/css/products.css index 0a615c34..9ded00d1 100644 --- a/StoneIsland/www/css/products.css +++ b/StoneIsland/www/css/products.css @@ -21,15 +21,15 @@ display: none; } -#gallery, -#gallery .slider, -#gallery .slider .item { +#gallery { + width: 100vw; + height: 63vw; } -#gallery .slider .item { - float: left; - width: 10vw; -} -#gallery .slider .item img { - max-width: 10vw; +#gallery .item { + width: 100vw; + height: 63vw; + background-size: contain; + background-position: center center; + background-repeat: no-repeat; } |
