From 9434ddf66dc0154ff4b89f82a319c92ceea835cb Mon Sep 17 00:00:00 2001 From: vista-man <524715@vistacollege.nl> Date: Thu, 10 Apr 2025 16:41:30 +0200 Subject: [PATCH] Refactor styles for background video positioning and remove inline styles from index.html --- index.html | 9 --------- style.css | 15 ++++----------- 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/index.html b/index.html index 0874ee7..c76074a 100644 --- a/index.html +++ b/index.html @@ -7,15 +7,6 @@ - diff --git a/style.css b/style.css index e9fdb7c..f0fdf69 100644 --- a/style.css +++ b/style.css @@ -147,21 +147,14 @@ p { } .background-video { - position: fixed; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); + position: absolute; + top: 0; + left: 0; width: 100%; height: auto; - margin-top: 15px; - display: flex; - justify-content: center; - align-items: center; - max-width: 100%; - max-height: 100%; + z-index: -1; } - .background-video { display: flex; justify-content: center;