From c3a58d0e7b4fe78eb3a7693fd14e6177fd3b5df2 Mon Sep 17 00:00:00 2001 From: Viraj Chandra Date: Fri, 6 Jan 2023 00:48:15 +0530 Subject: [PATCH] animation modified --- src/components/problemCard/ProblemCard.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/problemCard/ProblemCard.css b/src/components/problemCard/ProblemCard.css index 2f8f526..0808bf9 100644 --- a/src/components/problemCard/ProblemCard.css +++ b/src/components/problemCard/ProblemCard.css @@ -26,7 +26,7 @@ @keyframes fadeOut { 0% { opacity: 1; - } + } 100% { opacity: 0; } @@ -56,6 +56,8 @@ .codeutsava__section8-image { transition: all 0.2s ease-in-out; width: 100%; + height: 20rem; + object-fit: cover; } .codeutsava__section8-image:hover {