Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @keyframes bounce{
- 0% {top: 30px;}
- 50% {top: 50px;}
- 100% {top: 30px;}
- }
- @-webkit-keyframes bounce {
- 0% {top: 30px;}
- 50% {top: 50px;}
- 100% {top: 30px;}}
- .bounce-img-bg{
- top:10%;
- left:-2%;
- width:500%;
- height:500px;
- z-index: 3;
- padding:9px;
- position:fixed;
- animation: bounce 3.25s infinite;
- -o-animation: bounce 3.25s infinite;
- -moz-animation:bounce 3.25s infinite;
- -webkit-animation: bounce 3.25s infinite;
- }
- .bounce-img{
- top:300px;
- padding:5px;
- width:250px;
- height:250%;
- }
- [v PUT THIS IN STYLE OR AT THE VERY BOTTOMO! v]
- <div class="bounce-img-bg"><span class="bounce-img"><img src=" IMG HERE " width ="850">
Advertisement
Add Comment
Please, Sign In to add comment