From 411591e0fcb08ead39a5448f3b745f38747dc66c Mon Sep 17 00:00:00 2001 From: Samreen0192 Date: Tue, 9 Jun 2026 00:04:19 +0100 Subject: [PATCH] Update form controls layout and styles --- Form-Controls/index.html | 95 +++++++++++++++++++++++++++++----------- Form-Controls/style.css | 55 +++++++++++++++++++++++ 2 files changed, 125 insertions(+), 25 deletions(-) create mode 100644 Form-Controls/style.css diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 74b591ffc..0230c44ef 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,27 +1,72 @@ - - - - My form exercise - - - - -
-

Product Pick

-
-
-
- - -
-
- - - + + + + + T-Shirt Order Form + + + + + + + + + +
+
+

T-Shirt Order Form

+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ + + +
+
+ + + \ No newline at end of file diff --git a/Form-Controls/style.css b/Form-Controls/style.css new file mode 100644 index 000000000..9c4824202 --- /dev/null +++ b/Form-Controls/style.css @@ -0,0 +1,55 @@ +* { + box-sizing: border-box; + margin: 0; + padding: 0; +} + +body { + font-family: Arial, sans-serif; + background-color: #f4f4f4; + min-height: 100vh; + display: flex; + justify-content: center; + align-items: center; +} + +form { + background-color: white; + padding: 30px; + border-radius: 10px; + width: 350px; +} + +h1 { + text-align: center; + margin-bottom: 20px; +} + +.form-group { + margin-bottom: 15px; +} + +label { + display: block; + margin-bottom: 5px; + font-weight: bold; +} + +input, +select { + width: 100%; + padding: 10px; +} + +button { + width: 100%; + padding: 10px; + border: none; + background-color: black; + color: white; + cursor: pointer; +} + +button:hover { + background-color: #333; +} \ No newline at end of file