añadido video de fondo en la parte principal
This commit is contained in:
@@ -51,6 +51,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"
|
||||
@@ -319,4 +325,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