From 1f9e71f73485e2049ef64e9be02e69fe14478842 Mon Sep 17 00:00:00 2001 From: harshdeepsinghchoudhary Date: Sun, 22 Oct 2023 01:43:12 +0530 Subject: [PATCH] Update Main.css --- css/Main.css | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) 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;