jjmandog commited on
Commit
e3d65c0
·
verified ·
1 Parent(s): 4a06455

can you make the picture in the backround animated - Follow Up Deployment

Browse files
Files changed (1) hide show
  1. 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-purple-900/30 via-gray-900 to-pink-900/30 z-0"></div>
216
- <div class="absolute inset-0 bg-[url('https://images.unsplash.com/photo-1605559424843-9e4c228bf1c2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80')] bg-cover bg-center opacity-20 z-0"></div>
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">