[Note] An Example of Floating Animation by CSS

CSS

.floating{
    animation: move 3s infinite;
    animation-direction: alternate;
    }

    @keyframes move {
     0%
     {
      transform:translateY(0px);  
     }

     100%
     {
      transform:translateY(30px);   
     }
    }

Result

(Visited 10 times, 1 visits today)