From c46dd783c1fc7dcdd6dbbe8ae9745fee608d251b Mon Sep 17 00:00:00 2001 From: YawarRaza7349 Date: Wed, 12 Jun 2024 15:34:50 -0700 Subject: [PATCH] Update index.css --- index.css | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/index.css b/index.css index 28b0c04..b984924 100644 --- a/index.css +++ b/index.css @@ -63,16 +63,17 @@ h2 { text-align: center; } -#year-textbox { +.textbox { display: block; width: 100%; + text-align: center; } -#year-textbox:valid { +.textbox:valid { color: green; } -#year-textbox:invalid { +.textbox:invalid { color: red; font-style: oblique; } @@ -82,20 +83,6 @@ h2 { width: 100%; } -#animate-textbox { - display: block; - width: 100%; -} - -#animate-textbox:valid { - color: green; -} - -#animate-textbox:invalid { - color: red; - font-style: oblique; -} - #state-count { text-decoration: underline; text-align: center;