From 0a6ac78af2c646d2691c26109fc5ccfda47c6db8 Mon Sep 17 00:00:00 2001 From: Tandem Young Date: Sun, 30 Jun 2024 11:52:17 -0500 Subject: [PATCH] updated form styling --- css/styles.css | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/css/styles.css b/css/styles.css index 44a3f1b..0f41092 100644 --- a/css/styles.css +++ b/css/styles.css @@ -49,3 +49,32 @@ footer { height: 40px; margin: 0 10px; } + +form { + display: flex; + flex-direction: column; + max-width: 600px; + margin: 0 auto; +} +form label { + margin-top: 10px; +} +form input, form textarea { + padding: 10px; + margin-top: 5px; + margin-bottom: 20px; + border: 1px solid #ccc; + border-radius: 4px; +} +form button { + padding: 10px; + border: none; + border-radius: 4px; + background-color: #333; + color: white; + font-size: 16px; + cursor: pointer; +} +form button:hover { + background-color: #555; +}