From de7d43f46a2430c7b2d8de70d4907e0afed34779 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 5 Nov 2015 19:02:38 -0500 Subject: using flickity gallery --- StoneIsland/www/css/products.css | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'StoneIsland/www/css/products.css') 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; } -- cgit v1.2.3-70-g09d2