keyframes css js code example
Example 1: css keyframes
@keyframes mymove {
from {top: 0px;}
to {top: 200px;}
}
Example 2: keyframe in css
@keyframes mymove {
0% {top: 0px;}
50% {top: 50px;}
75% {top: 40px;}
100%{top: 0px;}
}
@keyframes mymove {
from {top: 0px;}
to {top: 200px;}
}
@keyframes mymove {
0% {top: 0px;}
50% {top: 50px;}
75% {top: 40px;}
100%{top: 0px;}
}