diff --git a/css/style.css b/css/style.css index 05fa874..99a69b8 100644 --- a/css/style.css +++ b/css/style.css @@ -129,7 +129,6 @@ nav{ .firsthalf { width: 100%; - display: flex; justify-content: flex-start; flex-direction: column; } @@ -208,8 +207,8 @@ nav{ background-color: var(--primary-colour); padding: 25px; border-radius: 20px; - box-shadow: 0 0 5px 10px darkslateblue; margin-left: 10%; + box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px; } .contributors-heading { font-size: 2rem; @@ -288,6 +287,32 @@ footer { margin-top: 30px; } */ + +/* Preloader */ + +.loader{ + position: fixed; + top:0; + left: 0; + background-color: white; + height:100%; + width: 100%; + display: flex; + justify-content: center; + align-items: center; +} +.disppear{ + animation: faded 1s forwards; +} +@keyframes faded { + 100%{ + opacity: 0; + visibility: hidden; + } +} + +/* End Preloader */ + .subscribe input { width: 40%; margin-top: 20px; diff --git a/index.html b/index.html index d7eb5cf..8245e35 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,13 @@ + + + + + + +
+