Update footer.css
This commit is contained in:
+4
-2
@@ -1,11 +1,13 @@
|
|||||||
/* Footer‑Grundlayout */
|
/* Footer‑Grundlayout */
|
||||||
footer {
|
footer {
|
||||||
position: sticky;
|
position: relative;
|
||||||
top: 100vh; /* Zwingt den Footer an den unteren Rand des sichtbaren Bereichs */
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: #333d43;
|
background: #333d43;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
|
|
||||||
|
/* Berechnet die Resthöhe: 100% Bildschirmhöhe minus geschätzte Inhaltshöhe */
|
||||||
|
margin-top: calc(100vh - 200px);
|
||||||
}
|
}
|
||||||
|
|
||||||
footer a {
|
footer a {
|
||||||
|
|||||||
Reference in New Issue
Block a user