2
こんにちは、私は滑らかなスライダーを使用してのみ3画像は滑らかなスライダは唯一の3項目が
を表示したいが、それはそれだけで3画像を表示するようにする方法の両方の側に
<div class="review-company">
div><img src="http://placehold.it/350x350"></div>
<div><img src="http://placehold.it/350x350"></div>
<div><img src="http://placehold.it/350x350"></div>
<div><img src="http://placehold.it/350x350"></div>
<div><img src="http://placehold.it/350x350"></div>
</div><!-- Review-company -->
$('.review-company').slick({
centerMode: true,
centerPadding: '60px',
slidesToShow: 3,
responsive: [
{
breakpoint: 768,
settings: {
arrows: false,
centerMode: true,
centerPadding: '40px',
slidesToShow: 3
}
},
{
breakpoint: 480,
settings: {
arrows: false,
centerMode: true,
centerPadding: '40px',
slidesToShow: 1
}
}
]
});
を半分の画像を左に表示させます左と右の空きスペース?
をそれを得ました。 'centerMode'を使う必要がありますか? – Yass
これは既に使用しています – vicario
'centerMode'を使用する必要があるかどうか尋ねています。 'false'に設定すると、部分スライドは表示されません。 – Yass