Xila of Dev biznet
5/27/2019 - 10:01 AM

Up and down animation

.arrow {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
}

.arrow {
  -moz-animation: arrow 2s infinite;
  -webkit-animation: arrow 2s infinite;
  animation: arrow 2s infinite;
}

@keyframes arrow {
  
  0% {
    transform: translateY(-10px);
  }
    
  50% {
    transform: translateY(0px);
  }
    
 100% {
    transform: translateY(-10px);
  }    
    
}