0
Please can someone tell me how to make transitions happen on page load
Transition on page load
4 Answers
+ 1
Yes use CSS
@keyframes to define your animation
And then
animation to make things move
animation-delay property to make the target stay for a while before it starts to move.
+ 3
Add the callback in to load of window.
In JS,
window.onload = () => {
DOM.property = newValue;
}
In CSS,
DOM{
property : oldValue;
transition : property duration;
}
0
Can it be done without using js
0
Thanks