vue-carousel-3d icon indicating copy to clipboard operation
vue-carousel-3d copied to clipboard

Is it possible to customize inactive's slide's style?

Open zeroarst opened this issue 5 years ago • 1 comments
trafficstars

I want to be able to change the styles of the slides whose not the focused one, can this be done? Basically I want to set the opacity to the slides..

zeroarst avatar Mar 11 '20 06:03 zeroarst

I tried styling via CSS. If the current slide is styled as ".current", just use a css selector for the inactive slides, like div:not(.current

#my-carousel-id div:not(.current) { /*Customizations here */ filter: blur(3px); }

jsuria avatar Mar 20 '20 06:03 jsuria