From 6a1814ea6ec04621ad11e1894802adecef0e7cad Mon Sep 17 00:00:00 2001 From: ayushkrrana <21cse038@gmail.com> Date: Wed, 29 May 2024 13:34:35 +0530 Subject: [PATCH] Improve feedback button --- index.html | 17 ++++++----------- style.css | 33 +++++++++++++++++++++------------ 2 files changed, 27 insertions(+), 23 deletions(-) diff --git a/index.html b/index.html index f20263d..ffc4f20 100644 --- a/index.html +++ b/index.html @@ -299,17 +299,12 @@

Contact Us!

- - - - + +
+ +
+ +
diff --git a/style.css b/style.css index 59ec758..b657544 100644 --- a/style.css +++ b/style.css @@ -884,25 +884,34 @@ input[type="number"]::-webkit-inner-spin-button { } #review-btn{ + padding: 10px 20px; border: none; - border-radius: 20px; - color:yellowgreen; - background-color: #053314; - margin-top: 0; - display: block; - margin-top: 10px; - margin-left: 20px; - text-decoration: underline; - font-size: 14px; + border-radius: 5px 0 0 5px; + background-color: #B19222; + color: white; + font-size: 16px; + writing-mode: vertical-rl; + cursor: pointer; + transition: background-color 0.3s ease; + position: absolute; + right: 0; /* Attach to the right edge */ + top: 50%; /* Vertically center */ + transform: translateY(-50%); /* Adjust for centering */ + white-space: nowrap; /* Prevent text from wrapping */ } #review-btn:hover{ - cursor: pointer; - box-shadow: 0 4px 6px rgba(183, 253, 6, 0.1); + background-color:#B19222 ; +} +.button-container { + position: fixed; + top: 50%; + right: 0; + transform: translateY(-50%); + z-index: 200; /* Ensure it stays on top */ } - /* Modal styles */ .modal {