-
Notifications
You must be signed in to change notification settings - Fork 187
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
Add a convenient option for styling pagination #416
Comments
There’s actually no need to use :deep to modify the styling of any carousel elements. The Vue3-Carousal library uses the BEM naming convention, which simplifies the process of customizing styles. You can easily override specific styles by targeting the relevant classes directly, ensuring consistent and scoped styling without needing special selectors. |
Please check this example on how to simply customise your carousel component https://stackblitz.com/edit/vue3-carousel-example-basic-qzfh3q?file=src%2FApp.vue |
The example wouldn't work now because some changes were made for pagination button, namely
To achieve similar effect you'll have to change the styling in
https://stackblitz.com/edit/vue3-carousel-example-basic-yb7rpaui?file=src%2FApp.vue I was having some issues styling the pagination myself due to the Thanks for the great work ❤️ |
Is your feature request related to a problem? Please describe.
The problem is that you have to use :deep in pagination to style the slider
Describe the solution you'd like
add a paragraph about proper styling to the manual or add methods for styling pagination
The text was updated successfully, but these errors were encountered: