what is a keyframe css code example
Example 1: @keyframes
p {
animation-duration: 25s;
animation-name: slidein;
}
@keyframes slidein {
from {
margin-left: 100%;
width: 300%;
}
75% {
font-size: 300%;
margin-left: 25%;
width: 150%;
}
to {
margin-left: 0%;
width: 100%;
}
}
Example 2: css keyframes
@keyframes mymove {
from {top: 0px;}
to {top: 200px;}
}