Responsive splide
Hi! I have problem with resoponsive splide implementation. In case of screen size of width less than 500px I want one img showing.
And I don't know how to resize slide and img together - I want img fill all of space of one splide.
I made some resizes with @media in css, but I think that js changes will be necessary. Could you help me, please?
I'm also looking for doing this. Did you find a solution?
Is it not enough to use width: 100%?
img {
width: 100%;
height: auto;
}
Did you try breakpoints
https://splidejs.com/options/#breakpoints
with the option "perPage"?
breakpoints: {
500: {
perPage: 1,
},
},
Close the issue due to the major version update. Feel free to create a new issue or open a new discussion.