slick.min code example
Example 1: slick slider cdn
CSS
<link rel="stylesheet" type="text/css" href="cdn.jsdelivr.net/npm/[email protected]/slick/slick.css"/>
JS
<script type="text/javascript" src="cdn.jsdelivr.net/npm/[email protected]/slick/slick.min.js"></script>
Example 2: carousel multiple items variable width
$('.variable-width').slick({
dots: true,
infinite: true,
speed: 300,
slidesToShow: 1,
centerMode: true,
variableWidth: true
});