Forums

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

Home Forums CSS Simple CSS3 animation problem

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

    I’m having a hard time figuring this out. I’m trying to animate in a direction and have it sit where it animates to. Instead it bounces back. Can someone explain how to get this to work correctly? I included a copy paste example of whats going on.

    div
    {
    -webkit-animation: shit-test 1s;
    position:absolute;
    left:500px;
    top:100px;
    width:200px;
    height:200px;
    color:red;
    background-color:red;
    }

    @-webkit-keyframes shit-test {
    from { left:500px; }
    to { left:300px; }

    }

    #88708

    No takers?

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