스와이퍼js, 처음 로딩 시 원하는 n번째가 바로 보이는 방법
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
댓글 0
댓글을 작성하려면 로그인이 필요합니다.
아직 댓글이 없어요
이 글에 대한 생각을 가장 먼저 남겨보세요.