<div class="splide" aria-label="スライダーの矢印を消す">
  <div class="splide__track">
    <ul class="splide__list">
      <li class="splide__slide">
          <img src="https://pengi-n.co.jp/blog/wp-content/uploads/2024/01/splide-01.jpg" alt="">
        </li>
        <li class="splide__slide">
          <img src="https://pengi-n.co.jp/blog/wp-content/uploads/2024/01/splide-02.jpg" alt="">
        </li>
        <li class="splide__slide">
          <img src="https://pengi-n.co.jp/blog/wp-content/uploads/2024/01/splide-03.jpg" alt="">
        </li>
        <li class="splide__slide">
          <img src="https://pengi-n.co.jp/blog/wp-content/uploads/2024/01/splide-04.jpg" alt="">
        </li>
        <li class="splide__slide">
          <img src="https://pengi-n.co.jp/blog/wp-content/uploads/2024/01/splide-05.jpg" alt="">
        </li>
        <li class="splide__slide">
          <img src="https://pengi-n.co.jp/blog/wp-content/uploads/2024/01/splide-06.jpg" alt="">
        </li>
        <li class="splide__slide">
          <img src="https://pengi-n.co.jp/blog/wp-content/uploads/2024/01/splide-07.jpg" alt="">
        </li>
    </ul>
  </div>
</div>
html, body {
  margin: 0;
  padding: 0;
}

.splide__slide img {
  width: 100%;
}

/*  CODEPEN表示調整用  */
@media screen and (min-width: 600px) { 
.splide__track {
  height:300px;
}
}
const options = {
  arrows:false,
  cover: true,
  heightRatio: 0.5,
}
const splide = new Splide( '.splide',options );
splide.mount();

External CSS

  1. https://cdn.jsdelivr.net/npm/@splidejs/splide@4.0.7/dist/css/splide.min.css

External JavaScript

  1. https://cdn.jsdelivr.net/npm/@splidejs/splide@4.0.7/dist/js/splide.min.js