summaryrefslogtreecommitdiff
path: root/src/components/shared/Fab.module.scss
blob: 61aaecb54643ef0354c5683441918f564f9b7b65 (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
32
33
.spining {
  position: relative;
  border-radius: 50%;
  background: linear-gradient(60deg, #e66465, #9198e5);

  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spining:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spining_keyframes 1s linear infinite;
}

@keyframes spining_keyframes {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}