From 725912d03341d7970c3c07621bc7b72834387210 Mon Sep 17 00:00:00 2001 From: siddhiavhad27 Date: Fri, 27 Mar 2026 15:42:38 +0000 Subject: [PATCH] Add style.css --- style.css | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 style.css diff --git a/style.css b/style.css new file mode 100644 index 0000000..195a527 --- /dev/null +++ b/style.css @@ -0,0 +1,80 @@ +body { + font-family: Arial, sans-serif; + background-color: #ecf0f1; + margin: 0; +} + +/* FLEXBOX CONTAINER */ +.container { + display: flex; + justify-content: center; + align-items: center; + height: 100vh; +} + +/* CARD DESIGN */ +.card { + background: white; + padding: 20px; + width: 350px; + border-radius: 12px; + box-shadow: 0 4px 10px rgba(0,0,0,0.1); +} + +/* HOVER EFFECT */ +.card:hover { + transform: scale(1.03); + transition: 0.3s; +} + +/* TEXT */ +h1 { + text-align: center; + color: #2c3e50; +} + +h2 { + color: #34495e; +} + +p { + font-size: 14px; +} + +/* LIST */ +ul { + background: #f9f9f9; + padding: 10px; + border-radius: 8px; +} + +/* LINK */ +a { + color: blue; + text-decoration: none; +} + +a:hover { + color: red; +} + +/* BUTTON */ +button { + padding: 10px; + background-color: #3498db; + color: white; + border: none; + border-radius: 6px; + cursor: pointer; +} + +button:hover { + background-color: #2980b9; +} + +/* FOOTER */ +.footer { + text-align: center; + font-size: 12px; + color: gray; +} \ No newline at end of file