From e22a9124ca6cddf900f53121f4e2f97af046f5ac Mon Sep 17 00:00:00 2001 From: BURDOTATTOO <116234944+BURDOTATTOO@users.noreply.github.com> Date: Thu, 22 Aug 2024 17:04:35 -0500 Subject: [PATCH] Update estilos.css --- css/estilos.css | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/css/estilos.css b/css/estilos.css index 6a4d928..9ab6f93 100644 --- a/css/estilos.css +++ b/css/estilos.css @@ -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%;