(This page includes affiliate links. If you click and purchase, I receive a small commission at no extra cost from you and that way you can support me. I only recommend tools that I have personally used and loved.)
Get Elementor Pro Today –
1 – Elementor Pro
Don’t want to make from scratch? Buy the template instead 🙂
Logo Fill Preloader – Elementor, Pace JS and GSAP
In this tutorial, we will be making a simple preloader that fills up logo based on how much page has been loaded. For simplicity, we will use 2 images and use pace js library for our preloader.
JS and GSAP Code
- dm-preloader-11 is the CSS class of Preloader Container.
- dm-preloader-11-first-logo is the CSS class of the logo that needs to be shown by default.
- dm-preloader-11-second-logo is the CSS class of the logo that needs to be revealed as page load progresses.
- dm-preloader-counter-11 is the CSS class of the heading widget that shows the counter in percentage. Make sure to select the HTML tag as p.