summaryrefslogtreecommitdiff
path: root/src/components/Loading.module.scss
blob: 05f8f3f10cb8943b2ed24219127835ff2958485a (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
29
30
31
// $color1: #2a477a;
$color1: #dddddd;

$size: 40px;

.loading {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pulse {
  width: $size;
  height: $size;
  margin: 10px;
  background-color: $color1;
  border-radius: 100%;
  animation: pulseScaleOut 1s infinite ease-in-out;
}

@keyframes pulseScaleOut {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}