A minimalist carousel. No jQuery.
carousel
: css selector of carousel container. Defaults to.carousel
delay
: delay between slides in seconds. Defaults to2.5
secsautoplay
: whether or not it plays automaticaly. Defaults totrue
<div class="carousel">
<ul>
<li>
First impressive message!
</li>
<li>
Second message with all the magic
</li>
<li>
Also, you can configure minimal carousel as you want.
</li>
</ul>
</div>
.carousel ul li {
display: none;
}
new Carousel({
carousel: '.carousel',
delay: 2.5,
autoplay: true
})
- Simple transitions
- Ease in/out
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request