I have a CSS animation code that animates an object as it appears from top to bottom (when scrolling). Here is the current code:
.animate-in-down {
transition: all 1.3s ease-out;
position:relative;
opacity:1;
top:0px;
&.out-of-viewport {
top:40px;
opacity:0;
}
}
Now, I would like to modify this code so that the object comes from top to bottom instead of the current bottom to top animation. Can someone please assist me with this?