From 9097c6b38b8306a3aba3a66e8dcc198e0b119455 Mon Sep 17 00:00:00 2001 From: Primrose Date: Sat, 2 Dec 2023 22:08:12 -0500 Subject: [PATCH] Make footer stick to the bottom of the page --- index.html | 23 +---------------------- style.css | 8 +++++++- 2 files changed, 8 insertions(+), 23 deletions(-) diff --git a/index.html b/index.html index 22b2605..32587e8 100644 --- a/index.html +++ b/index.html @@ -24,27 +24,6 @@

Welcome

Welcome to my home sweet home, darling. Take a look around, if you so desire.

-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- \ No newline at end of file + diff --git a/style.css b/style.css index f8bf25d..7459fcd 100644 --- a/style.css +++ b/style.css @@ -59,6 +59,12 @@ a { cursor: pointer; } +.footer { + position: fixed; + bottom: 0px; + width: 100%; +} + @media (prefers-color-scheme: dark) { body { background-image: radial-gradient(circle, #8e009f, #6b0077, #470050); @@ -87,4 +93,4 @@ a { a { color: #ffffff; } -} \ No newline at end of file +}