File size: 788 Bytes
cf8b7da
 
 
 
 
 
 
5881efa
 
 
 
 
 
 
ca3be8c
 
 
5881efa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
32
33
34
35
36
37
38
39
40
41
42
@tailwind base;
@tailwind components;
@tailwind utilities;

body {
  @apply bg-black
}

.loading-dots {
  @apply flex justify-start items-center gap-1
}
.loading-dots span{
  @apply inline-block w-2 h-2 bg-white rounded-full
}
.loading-dots.grey span{
  @apply inline-block w-2 h-2 bg-gray-400 rounded-full
}
.loading-dots span:nth-child(1) {
  animation: move 1s infinite;
}
.loading-dots span:nth-child(2) {
  animation: move 1s .2s infinite;
}
.loading-dots span:nth-child(3) {
  animation: move 1s .4s infinite;
}

/* create keyframes to move each span one by one infinite animation */
@keyframes move {
  0% {
    transform: translateY(0);
    opacity: .5;
  }
  50% {
    transform: translateY(-6px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: .5;
  }
}