css animation position examples
Example 1: css move animation
article {
animation-name : displaceContent;
animation-duration : 1s;
animation-delay : 4s;
animation-iteration-count : 1;
animation-fill-mode : forwards;
}
@keyframes displaceContent {
from { transform : translateY(0em) }
to { transform : translateY(3em) } /* slide down to make room for advertisements */
}
Example 2: Css animations
Here a codePen with cool animations:
https://codepen.io/DevLorenzo/pen/ExgpvJM