Skip to content

Commit 4b750db

Browse files
committed
Update style.css
1 parent f691249 commit 4b750db

File tree

1 file changed

+7
-6
lines changed
  • Components/Backgrounds/Soft-Floating-Bubbles-background

1 file changed

+7
-6
lines changed

Components/Backgrounds/Soft-Floating-Bubbles-background/style.css

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ body {
44
display: flex;
55
align-items: center;
66
justify-content: center;
7-
background: linear-gradient(-45deg, #fbc2eb, #a6c1ee, #fbc2eb, #a6c1ee);
7+
background: linear-gradient(-45deg, rgba(251, 194, 235, 0.6), rgba(166, 193, 238, 0.6), rgba(251, 194, 235, 0.6), rgba(166, 193, 238, 0.6));
8+
89
background-size: 400% 400%;
910
animation: gradientBG 10s ease infinite;
1011
overflow: hidden;
@@ -20,13 +21,13 @@ body {
2021
position: absolute;
2122
width: 20px;
2223
height: 20px;
23-
background: rgba(255, 255, 255, 0.5);
24+
background: rgb(255, 255, 255); /* Increased opacity */
2425
border-radius: 50%;
25-
opacity: 0.6;
26+
opacity: 1; /* Set full opacity */
2627
animation: floatUp linear infinite;
2728
}
2829

2930
@keyframes floatUp {
30-
0% { transform: translateY(100vh) scale(1); opacity: 0.5; }
31-
100% { transform: translateY(-10vh) scale(1.3); opacity: 0; }
32-
}
31+
0% { transform: translateY(100vh) scale(1); opacity: 1; } /* Start with full opacity */
32+
100% { transform: translateY(-10vh) scale(1.3); opacity: 0.3; } /* Reduced opacity slightly */
33+
}

0 commit comments

Comments
 (0)