Create a div or section with a "loading" class to hold your icon or text.
The best loading screen is one that users barely notice. Whether you use a minimalist CSS loader or a skeleton layout , the goal is to bridge the gap between "nothing" and "everything" with style. Simple-Loading-Screen.rar
Instead of a spinner, placeholders show the layout of the page (like Facebook or LinkedIn), making the load feel almost instantaneous. Create a div or section with a "loading"