Please can someone tell me how to make transitions happen on page load | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please can someone tell me how to make transitions happen on page load

Transition on page load

28th Apr 2019, 10:31 PM
Olaleye Igbagbo
Olaleye Igbagbo - avatar
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.
29th Apr 2019, 10:03 AM
Gordon
Gordon - avatar
+ 3
Add the callback in to load of window. In JS, window.onload = () => { DOM.property = newValue; } In CSS, DOM{ property : oldValue; transition : property duration; }
28th Apr 2019, 11:35 PM
Gordon
Gordon - avatar
0
Can it be done without using js
29th Apr 2019, 8:55 AM
Olaleye Igbagbo
Olaleye Igbagbo - avatar
0
Thanks
29th Apr 2019, 10:32 AM
Olaleye Igbagbo
Olaleye Igbagbo - avatar