subtle bounce effect on print button
This commit is contained in:
@@ -18,6 +18,17 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
|
|
||||||
|
animation: float 2.2s ease-in-out infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes float {
|
||||||
|
0%, 100% {
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
50% {
|
||||||
|
transform: translateY(-6px);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.floating-print-btn:hover {
|
.floating-print-btn:hover {
|
||||||
|
|||||||
Reference in New Issue
Block a user