diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2023-09-13 19:08:54 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2023-09-13 19:08:54 +0530 |
commit | 08dc058cfe1184281fef89c0c484b9e8a6b7a6b7 (patch) | |
tree | 834158194e039ef4a76a30752241089f06c87be7 /Lab04/fact/style.css | |
parent | f8a237e363b020e876f553520329046cf813da8e (diff) |
Lab04: HTML Form Validation + Factorial
Diffstat (limited to 'Lab04/fact/style.css')
-rw-r--r-- | Lab04/fact/style.css | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/Lab04/fact/style.css b/Lab04/fact/style.css new file mode 100644 index 0000000..b0452b7 --- /dev/null +++ b/Lab04/fact/style.css @@ -0,0 +1,59 @@ +body, h1, p, div { + margin: 0; + padding: 0; +} + +/* Apply some basic styles */ +body { + font-family: Arial, sans-serif; + background-color: #f0f0f0; + text-align: center; + padding: 20px; +} + +h1 { + color: #333; + font-size: 24px; + margin-bottom: 10px; +} + +p { + color: #666; + font-size: 16px; + line-height: 1.4; + margin-bottom: 20px; +} + +div { + margin-bottom: 20px; +} + +label { + font-weight: bold; +} + +input[type="number"] { + width: 30%; + padding: 5px; + border: 1px solid #ccc; + border-radius: 5px; +} + +button { + padding: 10px 20px; + background-color: #007bff; + color: #fff; + border: none; + border-radius: 5px; + cursor: pointer; +} + +button:hover { + background-color: #0056b3; +} + +#result { + font-weight: bold; + color: #333; + font-size: 18px; +} |