You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I want to add a simple opacity animation on the slides that are visible. Sadly Splide is updating the is-visible classes a little late and the transition ist looking odd. See here https://codepen.io/dennee_/pen/MYeeerq.
For the active state there is a updateOnMove option. But he gives only one slide the active state and not all on the same page.
Anyone have an idea?
I could rely on the active state and make the animation individually for each slide with css, but i want a more global version that is working for all slides on my page with different amount of visible slides.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I want to add a simple opacity animation on the slides that are visible. Sadly Splide is updating the is-visible classes a little late and the transition ist looking odd. See here https://codepen.io/dennee_/pen/MYeeerq.
For the active state there is a updateOnMove option. But he gives only one slide the active state and not all on the same page.
Anyone have an idea?
I could rely on the active state and make the animation individually for each slide with css, but i want a more global version that is working for all slides on my page with different amount of visible slides.
Im thankfull for any ideas!
Beta Was this translation helpful? Give feedback.
All reactions