[Help]: I am making cards carousel, each card has shadow, but the shadow is cutoff due to carousel wrapper any workaround? #1016
-
Summary[Help]: I am making cards carousel, each card has shadow, but the shadow is cutoff due to carousel wrapper any work around? If applicable, which variants of Embla Carousel are relevant to this question?
Additional informationNo response CodeSandbox exampleNo response |
Beta Was this translation helpful? Give feedback.
Answered by
davidjerleke
Sep 26, 2024
Replies: 3 comments 5 replies
-
I solved the vertical shadow cut off by using padding to the carousel wrapper, tried the same for horizonal but keep giving me bugs in alighnment with autoplay. |
Beta Was this translation helpful? Give feedback.
0 replies
-
When applying px and -mx it works only for first slide and then slides go out of container |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @Abdelrahman-Abdelmoaty,
Building on one of the examples on the documentation website, you can solve it like this.