How can I apply a custom style in the first and last visible item like the desing?
I need to somehow observe the changes in the Carousel and find out what sets and changes the first and last items.
But I've tried everything and I'm stuck on it
I'm getting the images in a map function, and I'm using React and TailwindCss.
I have this design:
### And this is my Carousel:
How can I apply a custom style in the first and last visible item like the desing?
I need to somehow observe the changes in the Carousel and find out what sets and changes the first and last items. But I've tried everything and I'm stuck on it
I'm getting the images in a map function, and I'm using React and TailwindCss.