From cb1f3f0d07c557dca3c4956a769a2eae3ec1d42f Mon Sep 17 00:00:00 2001 From: NOrtmann1 <145041949+NOrtmann1@users.noreply.github.com> Date: Tue, 26 May 2026 10:52:57 +0200 Subject: [PATCH] Update footer.css --- css/footer.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/css/footer.css b/css/footer.css index 383bf3b..c481714 100644 --- a/css/footer.css +++ b/css/footer.css @@ -1,11 +1,13 @@ /* Footer‑Grundlayout */ footer { - position: sticky; - top: 100vh; /* Zwingt den Footer an den unteren Rand des sichtbaren Bereichs */ + position: relative; width: 100%; background: #333d43; text-align: center; padding: 10px 0; + + /* Berechnet die Resthöhe: 100% Bildschirmhöhe minus geschätzte Inhaltshöhe */ + margin-top: calc(100vh - 200px); } footer a {