<div id="swiper-03" class="swiper swiper-03">
  <div class="swiper-wrapper">
    <div class="swiper-slide">Slide 1</div>
    <div class="swiper-slide">Slide 2</div>
    <div class="swiper-slide">Slide 3</div>
    <div class="swiper-slide">Slide 4</div>
  </div>
</div>
/* スワイパーで使うクラス */
.swiper-wrapper {
  width: 100%;
  height: 300px;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.swiper-slide:nth-child(1) {
  background-color: #fb4949;
}

.swiper-slide:nth-child(2) {
  background-color: #34dc1a;
}

.swiper-slide:nth-child(3) {
  background-color: #4FC3F7;
}

.swiper-slide:nth-child(4) {
  background-color: #FFC107;
}

.swiper .swiper-button-next,
.swiper .swiper-button-prev {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
}

.swiper .swiper-button-next::after,
.swiper .swiper-button-prev::after {
  display: none;
}

.swiper .swiper-button-next i,
.swiper .swiper-button-prev i {
  font-size: 20px;
  color: #5CC0EF;
}
const Swiper_03 = new Swiper('#swiper-03', {
  
  /* 追加コード */
  mousewheel: {
    forceToAxis: false,
    invert: false
  },

  keyboard: true
  /* 追加コード */
  
});

External CSS

  1. https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css
  2. https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css

External JavaScript

  1. https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js