Delaying CSS3 animations

前端 未结 1 1692
生来不讨喜
生来不讨喜 2021-01-12 20:20

I have a series of words animating, using css3. A background image of the globe and a styled link follow these words, also animated in css3. My final additions are a more an

1条回答
  •  清酒与你
    2021-01-12 20:42

    The easiest way I can think of is to count how many seconds in your entire animation that it takes for your styled link to appear and then set a delay for the animation of the more/less buttons, using the transition-delay property (or if you are using keyframes the animation-delay property). That way, the animation for these won't start until your styled link animates, or they will animate in as the styled link animates in.

    0 讨论(0)
提交回复
热议问题