我遇到了用 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", }, });
雷雷