[HTML/CSS/JS] 스와이퍼js, 처음 로딩 시 원하는 n번째가 바로 보이는 방법
2021.08.30 12:28
94
0
https://eond.com/441015
  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

newcomment
닫기

마이페이지

로그인을 해주세요