From 1812120a32fe9020e97a3ee21676e53bfb1774e9 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Sun, 11 Dec 2022 21:20:45 -0800 Subject: [PATCH] try max and min width for center-div --- style.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/style.css b/style.css index 414075b..716a664 100644 --- a/style.css +++ b/style.css @@ -29,7 +29,8 @@ p { } .center-div { - width: 50%; + min-width: 480px; + max-width: 50%; margin-left: auto; margin-right: auto; }