Spaces:
Running
Running
can you make the picture in the backround animated - Follow Up Deployment
Browse files- index.html +8 -3
index.html
CHANGED
@@ -93,7 +93,12 @@
|
|
93 |
.scroll-top:hover {
|
94 |
transform: scale(1.1) translateY(0);
|
95 |
}
|
96 |
-
|
|
|
|
|
|
|
|
|
|
|
97 |
.gradient-border {
|
98 |
position: relative;
|
99 |
border-radius: 1rem;
|
@@ -212,8 +217,8 @@
|
|
212 |
|
213 |
<!-- Hero Section -->
|
214 |
<section id="home" class="relative pt-32 pb-20 md:pt-40 md:pb-28 px-6 overflow-hidden">
|
215 |
-
<div class="absolute inset-0 bg-gradient-to-br from-
|
216 |
-
<div class="absolute inset-0 bg-[url('https://
|
217 |
|
218 |
<div class="max-w-7xl mx-auto relative z-10 text-center">
|
219 |
<img src="https://i.ibb.co/1Yk0MChV/F91-F533-E-C5-CF-4-D18-A295-7-B40-C430-B8-E6-1.png" alt="Jay's Mobile Wash Logo" class="h-32 mx-auto mb-6 float-animation">
|
|
|
93 |
.scroll-top:hover {
|
94 |
transform: scale(1.1) translateY(0);
|
95 |
}
|
96 |
+
|
97 |
+
@keyframes tvStatic {
|
98 |
+
0% { background-position: 0 0; }
|
99 |
+
100% { background-position: 100% 100%; }
|
100 |
+
}
|
101 |
+
|
102 |
.gradient-border {
|
103 |
position: relative;
|
104 |
border-radius: 1rem;
|
|
|
217 |
|
218 |
<!-- Hero Section -->
|
219 |
<section id="home" class="relative pt-32 pb-20 md:pt-40 md:pb-28 px-6 overflow-hidden">
|
220 |
+
<div class="absolute inset-0 bg-gradient-to-br from-gray-900/70 via-gray-900/70 to-gray-900/70 z-0"></div>
|
221 |
+
<div class="absolute inset-0 bg-[url('https://i.ibb.co/60HcTmYR/image.webp')] bg-cover bg-center z-0 opacity-90 animate-[tvStatic_60s_linear_infinite]"></div>
|
222 |
|
223 |
<div class="max-w-7xl mx-auto relative z-10 text-center">
|
224 |
<img src="https://i.ibb.co/1Yk0MChV/F91-F533-E-C5-CF-4-D18-A295-7-B40-C430-B8-E6-1.png" alt="Jay's Mobile Wash Logo" class="h-32 mx-auto mb-6 float-animation">
|