From 60f049a2cb30489b8e26eea16e738fdd93d275b1 Mon Sep 17 00:00:00 2001 From: Hetalnikam Date: Tue, 15 Oct 2024 19:20:26 +0530 Subject: [PATCH 1/3] hover effect added --- style.css | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 52 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index 22a1c9e..bf51f88 100644 --- a/style.css +++ b/style.css @@ -723,9 +723,9 @@ button:hover { /* filter box styles end */ -/* Blogs Styles */ +Blogs Styles -.heading { +/* .heading { text-align: center; color: var(--text-color); text-transform: uppercase; @@ -767,8 +767,58 @@ button:hover { color: var(--text-color); padding: 1rem 0; line-height: 1.8; +} */ + +/* New styles for hover pop-up effect */ +.blog-container { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 2rem; +} + +.blog { + display: flex; + flex-direction: column; + align-items: center; + justify-content: space-between; + background-color: var(--background-color); + border-radius: 1rem; + padding: 2rem; + width: 500px; + box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.3); + transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for scaling and shadow */ +} + +.blog:hover { + transform: scale(1.05); /* Scale up by 5% on hover */ + box-shadow: 12px 12px 30px rgba(0, 0, 0, 0.5); /* Deeper shadow on hover */ } +.blog-image { + width: 70%; + border-radius: 10rem; +} + +.blog h3 { + font-size: 2rem; + color: #ffbe0b; + margin: 5px; +} + +.blog p { + font-size: 1.7rem; + margin: 1rem 0; +} + +.btn { + background: linear-gradient(to right, #ff4e50, #fc913a); + color: var(--text-color); + padding: 0.8rem 1.5rem; + border: none; + border-radius: 5px; + cursor: pointer; +} /* Menu Styles */ #menu h1 { From 147a11d83be9e6c01958465b6232387e1dd872ad Mon Sep 17 00:00:00 2001 From: Hetalnikam Date: Sun, 20 Oct 2024 20:22:05 +0530 Subject: [PATCH 2/3] Improved contact us page --- contact.html | 96 ++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 79 insertions(+), 17 deletions(-) diff --git a/contact.html b/contact.html index e82e055..388906e 100644 --- a/contact.html +++ b/contact.html @@ -6,16 +6,26 @@ Contact Us - Responsive Ice Cream Website - + + + - + + - -
-
-
-
-
-
-
-
-
+ +
+
+
+
+
+
+
+
+
+
-
@@ -90,7 +145,8 @@ -
+
+
- + - +
- + From 95c6046da4e4203d4e125d3fae76d0dc9fc7c1a3 Mon Sep 17 00:00:00 2001 From: Hetalnikam Date: Sun, 20 Oct 2024 20:38:46 +0530 Subject: [PATCH 3/3] Contact us updated --- contact.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contact.html b/contact.html index 388906e..0b64197 100644 --- a/contact.html +++ b/contact.html @@ -247,3 +247,5 @@ + +//