如何在React JS中实现滑块提供了设计文件
我想实现一个看起来像
我尝试了许多诸如Swiper和Splide之类的图书馆,但未能实现那。
谢谢您的宝贵时间!
I want to implement a slider that looks like the design below
I tried many libraries like swiper and splide but failed to implement that.
Thank you for your time!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您只需将CSS
转换
和比例
添加到活动幻灯片和下一个幻灯片,如果您使用的是Swiper。使用SCSS的示例
You can simply add CSS
transform
andscale
to the active slide and the next slide if you are using swiper.Example using scss