Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
By making it display none when the DOM content is loaded. The second and the complex way, if your site is very big and you don't want to make it laggy then use JavaScript to remove the loader from the dom. From document.body.removeChild or any other way.
26th Nov 2020, 3:17 AM
Krish
Krish - avatar