Forums

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

Home Forums CSS Moving background by animation

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #197669
    Romchick
    Participant

    Hey! I’m trying to make background-size to be changed by animation (keyframes). But when the animation comes to it 100% it goes back to its previous 250%. Here is the code.So the question: is it possible to stop it on 100% background size, so it hasn’t to drop back to 250%?

    #197671
    Paulie_D
    Member

    You probably need to look at animation-fill-mode

    See this article at SitePoint – http://www.sitepoint.com/understanding-css-animation-fill-mode-property/

    Also, your link goes nowhere.

    #197672
    Romchick
    Participant

    Aha. Appologies. Changed the link. The article is perfect! Thanks!

    UPD
    Seems to be clear. But don’t get it how to stop it. Adding ‘animation-fill-mode: forwards’ has to help, but its not. What am I missing?
    UPD 2
    Noh! It’s perfect. And helped. Thanks alot!

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