-
Is it possible, using the existing classnames (or, anything built into Swiper) to write CSS that does the following?
I tried doing so using existing classnames ( For a visual demonstration of what I'm trying to achieve, watch (only) the bottle in this video: https://cdn.dribbble.com/users/259660/screenshots/15292175/media/24fae2d1bf063bbbf1d169c29a1e0424.mp4 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Coverflow effect can do that https://swiperjs.com/swiper-api#coverflow-effect |
Beta Was this translation helpful? Give feedback.
-
Or fade effect and do scaling of not slides but inner elements |
Beta Was this translation helpful? Give feedback.
-
I've tried to do it using the fade effect and I can get half of my desired effects to work (1, the "fade-out-larger" effect), but I can't figure out how to get 2, "fade-in-smaller-to-full-size" effect. The behavior of the bottle, in my linked-to video, is exactly what I'm aiming for … but am too new to Swiper to know how to manipulate it. You mentioned the Coverflow effect … does that get me closer to emulating what the bottle is doing in the linked-to video? |
Beta Was this translation helpful? Give feedback.
-
For anyone following along, I figured out how to achieve my goal. Rather than rely on Swiper's classes, I simply did this:
|
Beta Was this translation helpful? Give feedback.
For anyone following along, I figured out how to achieve my goal. Rather than rely on Swiper's classes, I simply did this: