Spaces:
Running
Running
Upload 2 files
Browse files- public/index.css +1 -3
- public/index.html +1 -1
public/index.css
CHANGED
@@ -23,7 +23,6 @@ h2 {
|
|
23 |
top: 0;
|
24 |
left: 0;
|
25 |
width: 100%;
|
26 |
-
height: 100vh; /* Adjust the height as needed */
|
27 |
object-fit: cover;
|
28 |
}
|
29 |
|
@@ -32,14 +31,13 @@ h2 {
|
|
32 |
top: 0;
|
33 |
left: 0;
|
34 |
width: 100%;
|
35 |
-
height: 100vh; /* Adjust the height as needed */
|
36 |
}
|
37 |
|
38 |
#placeholder {
|
39 |
position: relative;
|
40 |
left: 0;
|
41 |
width: 100%;
|
42 |
-
height:
|
43 |
background-color: transparent; /* Set the background color to transparent */
|
44 |
z-index: 20; /* Place the background behind other elements */
|
45 |
}
|
|
|
23 |
top: 0;
|
24 |
left: 0;
|
25 |
width: 100%;
|
|
|
26 |
object-fit: cover;
|
27 |
}
|
28 |
|
|
|
31 |
top: 0;
|
32 |
left: 0;
|
33 |
width: 100%;
|
|
|
34 |
}
|
35 |
|
36 |
#placeholder {
|
37 |
position: relative;
|
38 |
left: 0;
|
39 |
width: 100%;
|
40 |
+
height: 950px; /* Adjust the height as needed */
|
41 |
background-color: transparent; /* Set the background color to transparent */
|
42 |
z-index: 20; /* Place the background behind other elements */
|
43 |
}
|
public/index.html
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
class="h-screen w-screen grid place-content-center place-items-center overflow-hidden bg-gradient-to-b from-slate-900 to-black"
|
21 |
>
|
22 |
<div id="backgroundVideo" class="absolute inset-0 z-0" style="background-size: cover; background-position: center;">
|
23 |
-
<video autoplay muted loop class="
|
24 |
<source src="v1.mp4" type="video/mp4">
|
25 |
</video>
|
26 |
>
|
|
|
20 |
class="h-screen w-screen grid place-content-center place-items-center overflow-hidden bg-gradient-to-b from-slate-900 to-black"
|
21 |
>
|
22 |
<div id="backgroundVideo" class="absolute inset-0 z-0" style="background-size: cover; background-position: center;">
|
23 |
+
<video autoplay muted loop class="h-screen w-screen">
|
24 |
<source src="v1.mp4" type="video/mp4">
|
25 |
</video>
|
26 |
>
|