From e07f1f2fb5b425d843c32ad48e633a2e5b4dc48b Mon Sep 17 00:00:00 2001 From: Jacqueline Date: Fri, 31 May 2024 19:46:31 -0700 Subject: [PATCH] ratio fix --- hw1/hw1Style.css | 2 ++ styler.css | 10 +++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/hw1/hw1Style.css b/hw1/hw1Style.css index 6bd8869..cc0ca5a 100644 --- a/hw1/hw1Style.css +++ b/hw1/hw1Style.css @@ -77,6 +77,8 @@ body { display: flex; flex-wrap: wrap; + position: sticky; + padding: 40px 15px 70px 15px; margin: auto auto; diff --git a/styler.css b/styler.css index d5c2ae7..c6d1071 100644 --- a/styler.css +++ b/styler.css @@ -9,15 +9,19 @@ h1 { font-size: 50px; font-weight: 100px; } -h3 { - font-size: 25px; -} + .des { + position:sticky; margin: auto; width: 1000px; padding-bottom: 30px; + max-width: fit-content; } + +h3 { + font-size: 25px; +} .bar { display: flex; position: sticky;