How to center slides using embla carousel? #452
-
Hello, I use embla carousel like this-
Here I use TailwindCss- It shows result like this- But I need to show it initally like this- |
Beta Was this translation helpful? Give feedback.
Answered by
davidjerleke
May 9, 2023
Replies: 1 comment 2 replies
-
Hi @siamahnaf, It's always best to provide a codesandbox for a better and faster help, however, I think I may have spotted the problem. Please give them a try and let us know if it helped. Thanks! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@fabz1001 thanks for the help!
@siamahnaf This is very true. I prioritise questions with a CodeSandbox which is stated in the contribution guidelines.
You need to set
startIndex
to2
to achieve what you want.