"> "> ">
<link rel="stylesheet" type="text/css" href="<https://cdn.jsdelivr.net/npm/@splidejs/[email protected]/dist/css/splide-core.min.css>">
<style>
.splide__track {
overflow: visible;
}
</style>
<script src="<https://cdn.jsdelivr.net/npm/@splidejs/[email protected]/dist/js/splide.min.js>"></script>
<script>
function slider1() {
let splides = $('.slider1');
for ( let i = 0, splideLength = splides.length; i < splideLength; i++ ) {
new Splide( splides[ i ], {
// Desktop on down
perPage: 5,
perMove: 1,
focus: 0, // 0 = left and 'center' = center
type: 'slide', // 'loop' or 'slide'
gap: '2em', // space between slides
arrows: 'slider', // 'slider' or false
pagination: 'slider', // 'slider' or false
speed : 600, // transition speed in miliseconds
dragAngleThreshold: 30, // default is 30
autoWidth: false, // for cards with differing widths
rewind : false, // go back to beginning when reach end
rewindSpeed : 400,
waitForTransition : false,
updateOnMove : true,
trimSpace: false, // true removes empty space from end of list
breakpoints: {
991: {
// Tablet
},
767: {
// Mobile Landscape
},
479: {
// Mobile Portrait
}
}
} ).mount();
}
}
slider1();
</script>