HTML/CSS/JS

스와이퍼js, 처음 로딩 시 원하는 n번째가 바로 보이는 방법

by anonymous posted Aug 30, 2021
?

Shortcut

PrevPrev Article

NextNext Article

ESCClose

Larger Font Smaller Font Up Down Go comment Print
Extra Form
관련링크 https://codepen.io/eond/pen/gORarBR
  var swiper = new Swiper('.swiper-11', {
    navigation: {
      nextEl: '.swiper-button-next',
      prevEl: '.swiper-button-prev',
    },
    loop: true,
    autoplay: {
      delay: 3000, //Slider per _ ms
      disableOnInteraction: true,
    },
    speed: 1000, //Slide Speed
    pagination: {
      el: '.swiper-pagination',
      type: 'progressbar',
    },
    autoHeight: true,
    initialSlide: 2, //count from 0
  });

how to center swiperjs nth-child



Articles