video de fond

This commit is contained in:
gallego
2024-01-02 17:47:36 +01:00
parent f61fa3e16c
commit 7897136db2
4 changed files with 21 additions and 3 deletions

View File

@@ -1,8 +1,10 @@
body{
margin: 0;
background: linear-gradient(180deg,rgba(63,94,251,0.7),rgba(252,70,107,0.7) 100%);
background: linear-gradient(180deg,rgba(83, 0, 0, 0.7),#ff0000 50%);
}
ul{
margin: 0;
padding: 0;
@@ -49,6 +51,18 @@ main{
flex-direction: column;
}
#background-video{
height: 100vh;
width: 100vw;
object-fit: cover;
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: -1;
}
#cas{
box-shadow: 0 40px 60px rgba(150,0,0,0.7);
height: 25%;
@@ -157,7 +171,7 @@ footer{
align-items: center;
flex-direction: row-reverse;
justify-content: space-around;
background-color: grey;
background-color: #581845;
}