From 79b5eaf8005693f7a09a0aecde405066a9eb0d1c Mon Sep 17 00:00:00 2001 From: Piyush4801 Date: Tue, 13 Jan 2026 13:39:57 +0530 Subject: [PATCH] Change background color int linear gradient and the form is in center --- index.html | 4 ++++ style.css | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/index.html b/index.html index 23206b2..dac6666 100644 --- a/index.html +++ b/index.html @@ -3,6 +3,7 @@ + Document @@ -11,10 +12,13 @@
+

+
+ \ No newline at end of file diff --git a/style.css b/style.css index e69de29..8c977db 100644 --- a/style.css +++ b/style.css @@ -0,0 +1,32 @@ +body{ + margin:0; + height:100vh; + display:flex; + justify-content:center; + align-items:center; + font-family: Arial; + background: linear-gradient(red,orange,white); + font-size:18px; +} + +form{ + background:rgb(208, 112, 3); + padding:30px; + width:320px; + border-radius:10px; + box-shadow:0 0 15px rgba(0,0,0,0.2); +} + +input,button{ + width:100%; + padding:10px; + margin:10px 0; + font-size:18px; +} + +button{ + background:blue; + color:white; + border:none; + cursor:pointer; +}