carousel-slider
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "carousel-slider", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"main": "carousel.js", | ||
@@ -5,0 +5,0 @@ "author": "Brenton Cozby <brenton.cozby@gmail.com>", |
@@ -62,3 +62,3 @@ # carousel-slider | ||
#myCarousel { | ||
padding-bottom: 45%: /* sets carousel height */ | ||
padding-bottom: 40%: /* sets carousel height */ | ||
} | ||
@@ -76,11 +76,6 @@ ``` | ||
``` | ||
To stack each slide on top of each other (good for phone screens): | ||
Stack each slide on top of each other (good for phone screens): | ||
```javascript | ||
$('#myCarousel').stackSlides() | ||
``` | ||
Responsively stack the slides if the screen is small: | ||
```javascript | ||
if($(window).width() < 768) { | ||
$('#myCarousel').stackSlides() | ||
} | ||
``` |
124789
80