Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Carousel card effect #428

Open
bigfanplanoly opened this issue Jun 18, 2024 · 0 comments
Open

Carousel card effect #428

bigfanplanoly opened this issue Jun 18, 2024 · 0 comments

Comments

@bigfanplanoly
Copy link

bigfanplanoly commented Jun 18, 2024

I want to create a carousel card effect using Keen slider and I spent some time trying everything on the docs page but I failed so I thought I would seek help from the awesome people who support this cool library.

The effect I want to achieve is growing middle item and shrinking others as I move the slider. the card in the middle appear above the others. As I move the slider to the left, the item on the right starts to grow. It becomes bigger than the current middle item until it reaches full size and becomes the new middle item.

I created an example where the middle item becomes bigger, but I am missing the effect of items growing and shrinking as the slider moves:
https://codesandbox.io/p/sandbox/carousel-card-effect-lfxsss?file=%2Fsrc%2FApp.tsx

hope someone can help me and thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant