From 4cf94104ed1a621fa1dc530a6f9f1396a1e73064 Mon Sep 17 00:00:00 2001 From: ~Chiluka Akshitha <120377576+AKSHITHA-CHILUKA@users.noreply.github.com> Date: Sun, 25 Aug 2024 00:08:46 +0530 Subject: [PATCH] Update styles.css --- Website/styles.css | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Website/styles.css b/Website/styles.css index ea9e93a46..da4e69ad8 100644 --- a/Website/styles.css +++ b/Website/styles.css @@ -602,3 +602,30 @@ button#toggle-languages:hover { opacity: 0.9; } +/* Loading Animation CSS */ +.loading-container { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + display: flex; + justify-content: center; + align-items: center; + background-color: rgba(255, 255, 255, 0.8); /* Slightly transparent background */ + z-index: 1000; +} + +.loader { + border: 16px solid #f3f3f3; /* Light grey */ + border-top: 16px solid #3498db; /* Blue */ + border-radius: 50%; + width: 120px; + height: 120px; + animation: spin 2s linear infinite; +} + +@keyframes spin { + 0% { transform: rotate(0deg); } + 100% { transform: rotate(360deg); } +}