Skip to content

Instantly share code, notes, and snippets.

@Eli-Shmerler
Created August 19, 2019 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Eli-Shmerler/c0d11cd7289f46c0acfceea1c620fdb5 to your computer and use it in GitHub Desktop.
Save Eli-Shmerler/c0d11cd7289f46c0acfceea1c620fdb5 to your computer and use it in GitHub Desktop.
<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.5.0/js/swiper.min.js" integrity="sha256-uckMYBvIGtce2L5Vf/mwld5arpR5JuhAEeJyjPZSUKY=" crossorigin="anonymous"></script>
<script>
var swiper = new Swiper('.swiper-container', {
effect: 'coverflow',
grabCursor: true,
centeredSlides: true,
slidesPerView: 'auto',
coverflowEffect: {
rotate: 15,
stretch: 0,
depth: 100,
modifier: 1,
slideShadows : true,
},
pagination: {
el: '.swiper-pagination',
},
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment