Static preloader for WordPress how to create one?

I'm interested in how to do in WordPress is not just a preload with animation or background image which disappears when pogruzhaetsya website, and disappears only when you click on the image.
Preferably solyushin without plug-ins.
July 9th 19 at 13:52
1 answer
July 9th 19 at 13:54
Solution
Make a layer with z-index:2 and all by clicking on it and hide it well
<div id="overlay"></div>
#overlay{
position:fixed;
z-index:2;
top:0;
right:0;
bottom:0;
left:0;
background:rgba(255,255,255,0.6);
}

$("#overlay").click(function(){
$(this).fadeOut(500);
});

and of course don't forget about the cookies to permanently when you reload the page the layer does not appear
ATP nice solyushin - adriel.Harber commented on July 9th 19 at 13:57

Find more questions by tags CSSHTMLjQueryWordPress