diff --git a/Form-Controls/Untitled-1.css b/Form-Controls/Untitled-1.css new file mode 100644 index 000000000..3111a2b52 --- /dev/null +++ b/Form-Controls/Untitled-1.css @@ -0,0 +1,63 @@ + +body { + background-color: #7a8f88; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; + margin: 0; +} + +form { + background: #9b7a7a; + padding: 2rem; + border-radius: 8px; + box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); + width: 100%; + max-width: 400px; +} + +form div { + margin-bottom: 1.5rem; + display: flex; + flex-direction: column; +} +label { + font-weight: bold; + font-size: 0.85rem; + margin-bottom: 0.5rem; + color: #333; + text-transform: uppercase; +} + +input[type="text"], +input[type="email"], +select { + padding: 10px; + border: 1px solid #817575; + border-radius: 4px; + font-size: 1rem; + outline: none; + transition: border-color 0.3s; +} + +input:focus, +select:focus { + border-color: #007bff; +} + +button { + width: 100%; + padding: 12px; + background-color: #28a745; + color: white; + border: none; + border-radius: 4px; + font-size: 1.1rem; + cursor: pointer; + transition: background-color 0.3s; +} + +button:hover { + background-color: #218838; +} \ No newline at end of file diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 74b591ffc..2c948d094 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,27 +1,50 @@ -
- - -