renad-108 commited on
Commit
d14992f
·
verified ·
1 Parent(s): cbb6455

Update src/style.css

Browse files
Files changed (1) hide show
  1. src/style.css +36 -2
src/style.css CHANGED
@@ -17,6 +17,23 @@ html, body {
17
  z-index: 0;
18
 
19
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
 
21
  .circle {
22
  position: absolute;
@@ -25,12 +42,14 @@ html, body {
25
  background: radial-gradient(circle, #009fe3, #36ba01);
26
  border-radius: 50%;
27
  opacity: 0.1;
28
- animation: float 6s ease-in-out infinite;
29
  filter: blur(30px);
30
  }
31
 
 
 
32
  .circle:nth-child(1) {
33
- top: 15%;
34
  left: 20%;
35
  animation-delay: 0s;
36
  }
@@ -44,6 +63,21 @@ html, body {
44
  left: 30%;
45
  animation-delay: 8s;
46
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
 
48
  @keyframes float {
49
  0%, 100% {
 
17
  z-index: 0;
18
 
19
  }
20
+ @keyframes floatAround {
21
+ 0% {
22
+ transform: translate(0, 0) scale(1);
23
+ }
24
+ 25% {
25
+ transform: translate(50px, -30px) scale(1.2);
26
+ }
27
+ 50% {
28
+ transform: translate(-40px, 60px) scale(1.1);
29
+ }
30
+ 75% {
31
+ transform: translate(30px, -50px) scale(1.3);
32
+ }
33
+ 100% {
34
+ transform: translate(0, 0) scale(1);
35
+ }
36
+ }
37
 
38
  .circle {
39
  position: absolute;
 
42
  background: radial-gradient(circle, #009fe3, #36ba01);
43
  border-radius: 50%;
44
  opacity: 0.1;
45
+ animation: floatAround 10s ease-in-out infinite;
46
  filter: blur(30px);
47
  }
48
 
49
+
50
+
51
  .circle:nth-child(1) {
52
+ top: 10%;
53
  left: 20%;
54
  animation-delay: 0s;
55
  }
 
63
  left: 30%;
64
  animation-delay: 8s;
65
  }
66
+ .circle:nth-child(4) {
67
+ top: 40%;
68
+ left: 50%;
69
+ animation-delay: 2s;
70
+ }
71
+ .circle:nth-child(5) {
72
+ top: 70%;
73
+ left: 10%;
74
+ animation-delay: 6s;
75
+ }
76
+ .circle:nth-child(6) {
77
+ top: 20%;
78
+ left: 80%;
79
+ animation-delay: 1s;
80
+ }
81
 
82
  @keyframes float {
83
  0%, 100% {