diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 4344b144..1502984e 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,28 +1,106 @@ - - - - My form exercise - - - - - -
-

Product Pick

-
-
-
- - -
- -
- - - - \ No newline at end of file + + + + My form exercise + + + + + +
+

Product Pick

+
+ +
+
+ + + + + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ T-shirt Size +
+ + + + + + + + + + + + + + + + + +
+
+ +
+ + +
+ +
+ + +
+
+
+ + + diff --git a/Form-Controls/styles.css b/Form-Controls/styles.css index e69de29b..011c3b6c 100644 --- a/Form-Controls/styles.css +++ b/Form-Controls/styles.css @@ -0,0 +1,76 @@ +body { + background-color: #4070f4; +} + +header { + text-align: center; + color: burlywood; + font-family: "Courier New", Courier, monospace; + font-size: larger; +} + +.tshirtSize input { + width: 15px; +} + +main { + background-color: #fff; + width: 500px; + height: 500px; + margin: 45px auto; +} + +.input { + padding: 10px; +} + +form { + margin-left: 20px; + border-radius: 10px; + padding: 20px; +} + +input { + width: 240px; + height: 10px; + margin: 10px; + background-color: lavender; + border: 0px; + padding: 10px; + font-size: 20px; +} + +button { + width: 200px; + height: 50px; + background-color: darkblue; + color: #fff; + font-weight: bold; + cursor: pointer; +} + +footer { + text-align: center; + color: black; + font-family: Arial, Helvetica, sans-serif; + background-color: cadetblue; + position: fixed; + bottom: 0; + width: 100%; +} + +input[type="text"]:focus, +input[type="email"]:focus, +select:focus, +input[type="radio"]:focus, +input[type="date"]:focus { + outline: 2px solid #005fcc; + border: 2px solid #005fcc; + background-color: #f0f8ff; +} + +button:focus { + outline: 2px solid #005fcc; + + background-color: rgb(228, 132, 6); +} \ No newline at end of file