Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 541 Bytes

File metadata and controls

13 lines (8 loc) · 541 Bytes

JS Animation

Click the link to open index.html with a browser and open developer tools by pressing option+command+I (⌥+⌘+I).

Debug the code to understand the JavaScript Animation.

This a basic animation that both fades and moves a div with JavaScript. This approach should be avoided if possible if the same can be done with CSS. JavaScript animations are resource heavy.

Amination.js Animation class has move and fade methods that are used in this example.


Return to Index