Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

create a animation name in css

p /*this is the css name of the element you will apply the animation to*/ {
  animation-duration: 3s;
  animation-name: slidein; /*animation name ofcourse*/
}

@keyframes slidein /*the animation name goes here*/ {
  from {
    margin-left: 100%;
    width: 300%;
  }

  to {
    margin-left: 0%;
    width: 100%;
  }
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #create #animation #css
ADD COMMENT
Topic
Name
6+1 =