Skip to content
Snippets Groups Projects
Commit 3c69a7ce authored by Raghav's avatar Raghav
Browse files

Hover effects added for sign-in button

parent c2fffc09
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,6 @@
Remember me
</label>
</div>
<button class="btn btn-primary w-100 py-2" type="submit">Sign in</button>
<p class="mt-5 mb-3 text-body-secondary">&copy; 2017–2024</p>
<button class="hvr-grow-shadow btn btn-primary w-100 py-2 " type="submit">Sign in</button>
</form>
......@@ -29,4 +29,22 @@ body {
margin-right: auto;
width: 50%;
}
/* Hover effects for sign-in button */
.hvr-grow-shadow {
display: inline-block;
vertical-align: middle;
-webkit-transform: perspective(1px) translateZ(0);
transform: perspective(1px) translateZ(0);
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-webkit-transition-property: box-shadow, transform;
transition-property: box-shadow, transform;
}
.hvr-grow-shadow:hover, .hvr-grow-shadow:focus, .hvr-grow-shadow:active {
box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5);
-webkit-transform: scale(1.1);
transform: scale(1.1);
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment