From 61781e9e364d3255a4b4228f1efb3895beaba7ba Mon Sep 17 00:00:00 2001 From: vista-man <524715@vistacollege.nl> Date: Wed, 9 Apr 2025 14:07:06 +0200 Subject: [PATCH] Refactor background video styles and enhance button placement in index.html --- bestellen.css | 14 -------------- index.html | 13 ++++++++++++- style.css | 17 ++++++----------- 3 files changed, 18 insertions(+), 26 deletions(-) diff --git a/bestellen.css b/bestellen.css index 999a93a..dd637a6 100644 --- a/bestellen.css +++ b/bestellen.css @@ -146,20 +146,6 @@ p { margin-top: 20px; } -.background-video { - max-width: 100%; - height: auto; - margin-top: 15px; - display: flex; - justify-content: center; -} - - -.background-video { - display: flex; - justify-content: center; - -} .item-container { display: flex; diff --git a/index.html b/index.html index 41d37ec..0874ee7 100644 --- a/index.html +++ b/index.html @@ -7,6 +7,15 @@ + @@ -55,7 +64,9 @@ - +
+ +
diff --git a/style.css b/style.css index f10190c..aec72e6 100644 --- a/style.css +++ b/style.css @@ -147,16 +147,11 @@ p { } .background-video { - max-width: 100%; + position: fixed; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 100%; height: auto; - margin-top: 15px; - display: flex; - justify-content: center; -} - - -.background-video { - display: flex; - justify-content: center; - + z-index: -1; } \ No newline at end of file