summaryrefslogtreecommitdiff
path: root/src/components/Loading.module.css
blob: 559fcd289560b7529e547d26551c0e27d4f2808b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.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;
  }
}