Code Tricks
Banner animation on page load
Add a slide from top banner animation to all your pages with a few lines of code
Created by
Code & Wander
See resource![](https://assets-global.website-files.com/63716df271bc735fe4bccb92/655a47df0f2021359cce4e1a_CleanShot%202023-11-19%20at%2017.36.36.gif)
Code
Copied!
Tutorial
Steps & Description
Step 1
Copy and paste the above code in the before </body> tag.
Step 2
Adapt the code to your design:
- Change the classes to match yours
- Change the starting position
- Change the easing and speed