keyframe animations css

moving a background with css keyframes

CSS

@keyframes grow-grass {
    0% {
        background: #d5d6d7 url(/site/content/images/grass_border.png) 0px 280px no-repeat;
    }
    50% {
        background: #d5d6d7 url(/site/content/images/grass_border.png) 0px 250px no-repeat;
    }
    100% {
        background: #d5d6d7 url(/site/content/images/grass_border.png) 0px 280px no-repeat;
    }
}

Other Items in css
Page Views

This page has been viewed 315 times.

Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.

âĪðŸ‘Đ‍ðŸ’ŧðŸ•đ

Random Quote
I believe that in order to better your knowledge base, it takes a lot of failing in order to succeed. I don't consider anything a failure as long as you get back up and you learn from your own mistakes.
Unknown