Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

move div up and down infinite

.object {
  animation: MoveUpDown 1s linear infinite;
  left: 0;
  bottom: 0;
}

@keyframes MoveUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-50px);
  }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #move #div #infinite
ADD COMMENT
Topic
Name
4+3 =