Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeetov authored Oct 10, 2024
1 parent 934591b commit aaa50f6
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,23 +47,20 @@
width: 100%;
height: 100%;
object-fit: contain; /* Ensure the whole image is visible */
transition: none; /* Removed zoom effect */
}

.grid-item .hover-animation {
position: absolute;
bottom: 15px;
left: 50%;
transform: translateX(-50%);
font-size: 16px;
color: #f5f5f7;
font-weight: bold;
opacity: 0;
transition: opacity 0.3s ease-in-out;
transform: translateY(10px); /* Start lower */
transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.grid-item:hover .hover-animation {
opacity: 1;
opacity: 1; /* Fade in */
transform: translateY(0); /* Move to original position */
}

.group-title {
Expand Down

0 comments on commit aaa50f6

Please sign in to comment.