Skip to content

Commit

Permalink
Merge pull request #1330 from sanchitc05/sanchitc05/issue1311
Browse files Browse the repository at this point in the history
[style]: Adding hover effect on "Enter your email ID" box
  • Loading branch information
MastanSayyad authored Nov 9, 2024
2 parents 18add59 + c4aaaa9 commit 06f4309
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -12043,3 +12043,22 @@ section .container2 {
margin-bottom: 20px;
}

.email-input {
width: 100%;
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 4px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
outline: none;
}

.email-input:hover {
transform: translateZ(5px) scale(1.02); /* Creates a 3D lift effect */
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow for depth */
}

.email-input:focus {
border-color: #4a90e2; /* Optional: Changes border color on focus */
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3); /* Slightly more intense shadow on focus */
}

0 comments on commit 06f4309

Please sign in to comment.