From 2970353b1489ecf76b90c5129a2633ed86fb222a Mon Sep 17 00:00:00 2001 From: pipercucu Date: Mon, 16 Oct 2023 00:57:00 -0400 Subject: [PATCH] #27 changed so only image enlarges on blog hover over --- src/components/Blog.css | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/Blog.css b/src/components/Blog.css index 19dca03..1a9320e 100644 --- a/src/components/Blog.css +++ b/src/components/Blog.css @@ -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 {