Template:Swiperjs/style.css
阅读:150 更新:2022-12-30
来自柯南百科
.swiper {
overflow: hidden;
}
.swiper-wrapper {
display: flex;
height: 100%;
}
.swiper-slide {
display: flex;
justify-content: center;
align-items: center;
flex-shrink: 0;
width: 100%;
height: 100%;
}
.swiper-slide a {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
.swiper-slide img {
width: auto;
height: auto;
max-width: 100%;
max-height: 100%;
}
.swiper-button-next::after, .swiper-button-prev::after {
font-size: 28px;
opacity: 0.6;
}
.swiper-pagination {
opacity: 0.6;
}
@media (max-width: 768px) {
.swiper-button-next, .swiper-button-prev {
display: none;
}
}