ismail9k / vue3-carousel

A highly customizable, lightweight Vue 3 carousel component for your next awesome project.
https://vue3-carousel.ismail9k.com/
MIT License
739 stars 174 forks source link

Add a convenient option for styling pagination #416

Open Softgod4 opened 3 weeks ago

Softgod4 commented 3 weeks ago

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

Снимок экрана 2024-11-04 в 16 02 39
ismail9k commented 3 weeks ago

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.

ismail9k commented 3 weeks ago

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