How to hide the preloader when page is loaded?

1. Wrap your 'preload-wrap' element with the 'preloader js-preloader' classes like shown in the screenshot.

2. Add these lines of code in your CSS file.

3. Please make sure you have jQuery included in your HTML file.

4. Add these lines of code in your JavaScript file.

5. Now your preloader should fade out when the page is loaded.

Tags: fade, hide, preloader

Last update:
2016-03-12 15:30
Vlad Sargu
Average rating:0 (0 Votes)