Добрый день подскажите как задать высоту ?
https://swiperjs.com/api/ пошерстил тут но что то я слепой (
var swiper = new Swiper('.swiper-container-sub', {
// slidesPerView: 4,
// spaceBetween: 30,
slidesPerGroup: 1,
loop: true,
loopFillGroupWithBlank: true,
spaceBetween: 10,
pagination: {
el: '.swiper-pagination',
clickable: true,
},
navigation: {
nextEl: '.swiper-button-n',
prevEl: '.swiper-button-b',
},
breakpoints: {
// when window width is >= 320px
320: {
slidesPerView: 1,
spaceBetween: 20
},
// when window width is <= 480px
480: {
slidesPerView: 1,
spaceBetween: 30
},
// when window width is >= 640px
640: {
slidesPerView: 2,
spaceBetween: 40
}
}
});