From dcb1f2d1de414b291d9bd0effc570505651ed94f Mon Sep 17 00:00:00 2001 From: ShaikHafiza <138603502+ShaikHafiza@users.noreply.github.com> Date: Sat, 19 Oct 2024 23:11:16 +0530 Subject: [PATCH] Added Border and Hover Effect to "Contact Our Customer Support Team" Section --- style.css | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/style.css b/style.css index 5d02b6f7..3dcad9a5 100644 --- a/style.css +++ b/style.css @@ -1939,3 +1939,48 @@ button { width: 1000vw !important; } } + + +/* Add hover effects and shadows to the card */ +#contact .card { + border: 1px solid #ddd; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); + transition: transform 0.3s ease, box-shadow 0.3s ease; +} + +#contact .card:hover { + transform: scale(1.03); + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); + border-color: #54546b; +} + +/* Add hover effect to the form input fields */ +#contact .form-group input, +#contact .form-group textarea { + border: 1px solid #ccc; + padding: 10px; + border-radius: 4px; + transition: border-color 0.3s ease, box-shadow 0.3s ease; +} + +#contact .form-group input:hover, +#contact .form-group textarea:hover { + border-color: #767d86; + box-shadow: 0 2px 6px rgba(0, 123, 255, 0.2); +} + +/* Style the button with hover effects */ +#contact button { + background-color: #007BFF; + color: white; + padding: 10px 20px; + border: none; + border-radius: 4px; + cursor: pointer; + transition: background-color 0.3s ease, box-shadow 0.3s ease; +} + +#contact button:hover { + background-color: #0056b3; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); +}