From 0cfc93a3ac1dcb58135d15f9d14f96640dcceaf8 Mon Sep 17 00:00:00 2001 From: Mike Conrad Date: Mon, 21 Oct 2024 12:48:47 -0400 Subject: [PATCH] Make fixed position header --- src/style.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/style.css b/src/style.css index 6dffd2c..cbe4ecb 100644 --- a/src/style.css +++ b/src/style.css @@ -27,6 +27,11 @@ header { display: flex; justify-content: flex-end; background-color: #1E3E62; + position: sticky; + position: -webkit-sticky; + top: 0; + left: 0; + right: 0; } header nav {