// import Swiper styles @import 'swiper/css'; @import 'swiper/css/navigation'; @import 'swiper/css/pagination'; .swiper{ min-height: 150px; .swiper-slide{ width:100%; height:150px; img{ height:100%; width:100%; object-fit: cover; } } }