The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Prevent css3 animation from returning to original state?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #43893


    I’m using css3 to animate the position of an element. It functions correctly…but after the animation is complete, the element returns to it’s original state. I’ve managed to find a partial fix by adding **-webkit-animation-fill-mode: forwards**; to the element. I’m thinking there must be a better method though.

    Does anyone have a better solution? Your help is appreciated.


    **Example** (with animation-fill-mode):

    Kitty Giraudel

    You got the solution already:

    animation-fill-mode: forwards;

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.