diff --git a/Components/Loaders/Box-Loader/index.html b/Components/Loaders/Box-Loader/index.html new file mode 100644 index 00000000..bc868e32 --- /dev/null +++ b/Components/Loaders/Box-Loader/index.html @@ -0,0 +1,21 @@ + + + + + + + + Box Loader + + +
+ +
+ + + +
+
Loading ...
+
+ + diff --git a/Components/Loaders/Box-Loader/style.css b/Components/Loaders/Box-Loader/style.css new file mode 100644 index 00000000..c40708ea --- /dev/null +++ b/Components/Loaders/Box-Loader/style.css @@ -0,0 +1,104 @@ +@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300&display=swap'); + +*{ + margin: 0; + padding: 0; + box-sizing: border-box; + +} +body{ + background-color:#d9e1f0; + + min-height: 100vh; +} + +.load{ + position: absolute; + top: 0; + left: 0; + width: 100%; + min-height: 100vh; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; +} + +.loading{ + + font-size: 2rem; + font-weight: bolder; + font-family: Ubuntu; + color: rgb(255, 255, 255); + animation: loading 1s linear infinite; + position: relative; + top: 5rem; +} + +.loder{ + + display: flex; + flex-direction: column; + position: absolute; + top: calc(50% - 3.5rem); + left: calc(50% - 3.5rem); + width: 7rem; + height: 7rem; +} +.loder span{ + + z-index: 2; + + width: 2rem; + height: 2rem; + background-color: #fff; + border-radius: 4px; + animation: load 2s linear infinite; + +} +.loder span:nth-child(1){ + animation-delay: 0; + background: rgb(240, 36, 36); + box-shadow: 0 10px 10px rgb(240, 36, 36 , 0.5); +} +.loder span:nth-child(2){ + animation-delay: -0.667s; + background: rgb(240, 209, 36); + box-shadow: 0 10px 10px rgb(240, 209, 36 , 0.5); +} +.loder span:nth-child(3){ + animation-delay: -1.33s; + background: rgb(111, 240, 36); + box-shadow: 0 10px 10px rgb(111, 240, 36 , 0.5); +} + +@keyframes load { + 0%,100%{ + position: absolute; + top: 0; + left: 0; + } + 25%{ + position: absolute; + top: 0; + left: 3.5rem; + } + 50%{ + position: absolute; + top: 3.5rem; + left: 3.5rem; + } + 75%{ + position: absolute; + top: 3.5rem; + left: 0; + } +} +@keyframes loading { + 0%,100%{ + opacity: 1; + } + 50%{ + opacity: 0.4; + } +} \ No newline at end of file diff --git a/assets/html_files/loaders.html b/assets/html_files/loaders.html index e823e274..e8b6e11e 100644 --- a/assets/html_files/loaders.html +++ b/assets/html_files/loaders.html @@ -464,6 +464,21 @@

Reveal Loader

+
+

Box Loader

+
+ + + +
+
+ + + +
+