Here's an example on how to animate an image behind your profile.
If you want it to show up in front remove z-index.
<img height=64 width=64 id="Bitcoin" src="https://s2.coinmarketcap.com/static/img/coins/200x200/1831.png">
<style>
#Bitcoin{
position: absolute;
animation-name: bitcoinAnimation;
animation-duration: 5s;
animation-iteration-count: infinite;
z-index: -1;
}
@keyframes bitcoinAnimation {
0% {top: 10%; left:10%}
25% {top: 10%; left:90%}
50% {top: 90%; left:90%}
75% {top: 90%; left:10%}
100% {top: 10%; left:10%}
}
</style>
Comments
Displaying 0 of 0 comments ( View all | Add Comment )