Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css animation

<style>
@keyframes animatename{
  0%{
    transform: translateY(3px);
  }
  100%{
    transform: translateY(-3px);
  }
}
.my-div{
  animation: animatename 1s linear infinite;
  /* animation shorthand */
  animation: animation-name animation-duration animation-direction animation-iteration-count
}
</style>
 
PREVIOUS NEXT
Tagged: #css #animation
ADD COMMENT
Topic
Name
1+7 =