Skip to content

Commit

Permalink
Update estilos.css
Browse files Browse the repository at this point in the history
  • Loading branch information
BURDOTATTOO committed Aug 22, 2024
1 parent 0f1ed6f commit e22a912
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions css/estilos.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,44 @@ body{
}


.backgroundvideo {
position: fixed;
width: 100%;
height: 100%;
z-index: -1;
left: 0;
top: 0;
overflow: hidden;
}

.backgroundvideo video {
position: absolute;
top: 50%;
left: 50%;
width: auto;
height: auto;
min-width: 100%;
min-height: 100%;
transform: translate(-50%, -50%);
}

@media only screen and (max-width: 600px) {
.backgroundvideo {
width: 100%;
height: 100%;
}

.backgroundvideo video {
width: 100%;
height: 100%;
object-fit: cover;
}
}





.wrap{
max-width: 1100px;
width: 90%;
Expand Down

0 comments on commit e22a912

Please sign in to comment.