Check out this snippet:
<img class='img-logo' src={logo} alt="Logo" />
<img class='img-logo' src={logo} alt="Logo" />
<img class='img-logo' src={logo} alt="Logo" />
<img class='img-logo' src={logo} alt="Logo" />
Here's the corresponding styling:
.img-logo{
position: absolute;
top:4% ;left: 60%;
height: 80px;
width: 80px;
animation-name:move_up;
animation-duration: 6s;
animation-fill-mode: forwards;
}
@keyframes move_up {
from{top: 38%;}
to{top:4%}
}
Is there a way to animate them independently, one after the other just by using css and html?