-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
[Component] Carousel #4
Comments
Consider this example https://codepen.io/t_afif/pen/NWvQewg |
I worked on a basic component structure and style. Here you can find a preview: https://codepen.io/zetareticoli/pen/oNGVyOz?editors=1100 @omaxel What do you think with the result? |
I've made some changes to the component:
See the preview: https://codepen.io/zetareticoli/pen/oNGVyOz I'll explore more the dots nav, making it with @omaxel feedback welcome 🙏 |
Great job @zetareticoli! Here are my questions and comments on the implementation:
I hope you find them useful. Thanks a lot! |
Yes, the reason is that using the pseudo-elements on
At the moment, I added the active style using
This is just a workaround because using |
here's some more inspo https://css-tricks.com/css-only-carousel/ |
Worked on another demo: https://codepen.io/zetareticoli/pen/bGYKOQR?editors=1100 It's total different approach, using |
Create the Carousel component using
scroll-snap
CSS feature.The text was updated successfully, but these errors were encountered: