metafizzy / flickity

:leaves: Touch, responsive, flickable carousels
https://flickity.metafizzy.co
7.52k stars 605 forks source link

Create a coverflow effect #1249

Closed Schwammerl11 closed 2 years ago

Schwammerl11 commented 2 years ago

I am trying to rewrite the way Flickity calculates the item positioning in one of my carousels to achieve a coverflow effect, or at least something similar to the following.

image

I managed to create this via CSS, which breaks of course as soon as you try to navigate to a different slide. https://codepen.io/schwammerl11/pen/poVorGR

Thanks in advance!

Schwammerl11 commented 2 years ago

Solved my problem with the help of #847