Swiper

左右のスライドをチラ見させる(左右に余白)

script
                  
    window.onload = function () {
      const swiper = new Swiper(".swiper", {
        loop: true, //スライドの無限ループ
        speed: 1000,  // スライド切り替え速度

        slidesPerView: 3.5, //表示枚数
        spaceBetween: 10, // スライド間に10pxの余白を設定
        centeredSlides: true, // アクティブなスライドが中央に来るようにする
      });
    }
                  
                
オプション
                  
                    centeredSlides: true,
                    ・アクティブなスライドが中央に来るようにする

                    デフォルト:'false'
                  
                

・「Splide」の左右のスライドをチラ見させる(左右に余白)