我遇到了用 swiperjs
製作的卡片的問題。我試圖將卡片置於移動螢幕的中心,但我做不到。請幫我解決這個問題。
var swiper = new Swiper(".slide-content", { slidesPerView: 3, spaceBetween: 30, loop: true, centerSlide: 'true', fade: 'true', grabCursor: 'true', pagination: { el: ".swiper-pagination", clickable: true, }, navigation: { nextEl: ".swiper-button-next", prevEl: ".swiper-button-prev", }, });
雷雷