diff --git a/css/Main.css b/css/Main.css index 0c133cf..0c9fb3e 100644 --- a/css/Main.css +++ b/css/Main.css @@ -39,6 +39,36 @@ html{ body{ background-color: #ffffff; } + +/*******************Pre Loader *****************/ +.preloader { + position: fixed; + width: 100%; + height: 100%; + background: #ffffff; + z-index: 9999; + display: flex; + justify-content: center; + align-items: center; +} + +.loader { + border: 5px solid #f3f3f3; + border-top: 5px solid #3498db; + border-radius: 50%; + width: 50px; + height: 50px; + animation: spin 2s linear infinite; +} + +@keyframes spin { + 0% { transform: rotate(0deg); } + 100% { transform: rotate(360deg); } +} +body.loaded .preloader { + display: none; +} + /********************Header************************/ .header { position: fixed;