简体   繁体   中英

Center focused slider

I need to do both on the design but I can't do it in any way. enter image description here Who is a professional in this topic help. I tried it with swiper slider, but it didn't work out.

That's what I get with swiper slider enter image description here That's code '''https://codepen.io/bilolisroilovv/pen/rNeePvX'''

The problem is that if you increase the width of the center element, it comes out.

How can I solve this problem? Or try any other ready-made option!

for this purpose you should decrease number of slidesPerView: . for example in this size you should set slidesPerView: 2 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM