Splide homepage example #481
-
I really love the Splide example on the homepage, with the green blocks and the center block growing animation. 20211104083659.mp4Do you perhaps have an example how to achieve that center block grow-in-size animation? I know it's using CSS animations, i'm just not sure where to put it. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
NaotoshiFujita
Nov 4, 2021
Replies: 1 comment
-
It's very simple. Put another div into each slide, and change |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tno2007
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's very simple. Put another div into each slide, and change
transfrom: scale
property by theis-active
class assigned to the current slide. The transform property is animated by the CSStransition
, not the CSS animation.