Skip to content

Commit

Permalink
Merge pull request #204 from Jazz-45/issue-158-fix
Browse files Browse the repository at this point in the history
Solved Issue where image does not overlaps text.
  • Loading branch information
hiteashgupta1 authored Oct 4, 2024
2 parents 386daba + 661d991 commit 5db54b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,7 @@ a {
max-width: 300px;
overflow: hidden;
transition: transform 0.3s ease;
z-index: -2;
}

.overflow-img img {
Expand All @@ -706,7 +707,7 @@ a {
}

.overflow-img:hover {
transform: scale(1.1);
transform: translate(-5%, -5%) scale(1.1); /* Zoom from all directions */
}

.overflow-img a {
Expand Down

0 comments on commit 5db54b8

Please sign in to comment.