Merge branch 'main' of https://git.h4ckdata.es/h4ckx0r/webSostenible
This commit is contained in:
BIN
public/imgs/bosqueverde.webm
Normal file
BIN
public/imgs/bosqueverde.webm
Normal file
Binary file not shown.
@@ -52,6 +52,12 @@ const animateOnScroll = `
|
||||
<body>
|
||||
<Navbar />
|
||||
<header class="header-bg text-white">
|
||||
|
||||
<video autoplay muted loop class="video-bg">
|
||||
<source src="/imgs/bosqueverde.webm" type="video/webm">
|
||||
Tu navegador no soporta la reproducción de videos.
|
||||
</video>
|
||||
|
||||
<div class="container text-center">
|
||||
<h1
|
||||
class="display-1 mb-4 animate__animated animate__fadeInDown londrina-sketch-regular"
|
||||
@@ -320,4 +326,20 @@ const animateOnScroll = `
|
||||
object-fit: cover;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
|
||||
header {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.video-bg {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.container {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user