From ed76925556028abcd0fb687d3adf2514efcbd60b Mon Sep 17 00:00:00 2001 From: siddhiavhad27 Date: Thu, 26 Mar 2026 11:43:25 +0000 Subject: [PATCH] Update style.css --- css | 0 style.css | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) delete mode 100644 css create mode 100644 style.css diff --git a/css b/css deleted file mode 100644 index e69de29..0000000 diff --git a/style.css b/style.css new file mode 100644 index 0000000..7798242 --- /dev/null +++ b/style.css @@ -0,0 +1,45 @@ +body { + font-family: Arial, sans-serif; + background-color: #ecf0f1; +} + +/* 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); +} + +/* TEXT STYLING */ +h1 { + text-align: center; + color: #2c3e50; +} + +h2 { + color: #34495e; +} + +a { + color: blue; + text-decoration: none; +} + +a:hover { + color: red; +} + +.card:hover { + transform: scale(1.03); + transition: 0.3s; +} \ No newline at end of file