summaryrefslogtreecommitdiff
path: root/src/components/Loading.module.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Loading.module.css')
-rw-r--r--src/components/Loading.module.css29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/components/Loading.module.css b/src/components/Loading.module.css
new file mode 100644
index 0000000..11d3297
--- /dev/null
+++ b/src/components/Loading.module.css
@@ -0,0 +1,29 @@
+
+.loading {
+ width: 100%;
+ height: 100%;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+.pulse {
+ --color1: #dddddd;
+ --size: 40px;
+ width: var(--size);
+ height: var(--size);
+ margin: 10px;
+ background-color: var(--color1);
+ border-radius: 100%;
+ animation: pulseScaleOut 1s infinite ease-in-out;
+}
+
+@keyframes pulseScaleOut {
+ 0% {
+ transform: scale(0);
+ }
+ 100% {
+ transform: scale(1);
+ opacity: 0;
+ }
+}