Skip to content

Commit

Permalink
#27 changed so only image enlarges on blog hover over
Browse files Browse the repository at this point in the history
  • Loading branch information
pipercucu committed Oct 16, 2023
1 parent 730b4a7 commit 2970353
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/Blog.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,15 @@
align-items: flex-start;
overflow: hidden;
border-radius: 2.4rem;

transform: scale(1);
transition: transform 0.3s ease-in-out;
}

.blog-post:hover {
.blog-post:hover .blog-post-image {
transform: scale(1.05);
}

.blog-post-image {
width: 100%;
transition: transform 0.3s ease-in-out;
}

.blog-post-content {
Expand Down

0 comments on commit 2970353

Please sign in to comment.