Merge pull request #61 from gmallios/card-hover-effect

Change Card hover effect
This commit is contained in:
the-rarbg 2023-10-10 09:58:20 +05:30 committed by GitHub
commit 46599e757c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ export default function CardNormal({ id, category, rating, src, title, year }) {
return (
<div
className='card-hover-animation mb-4 grow basis-1/5 2xs:w-[130px] xs:w-full cursor-pointer'
className='transition duration-300 ease-in-out hover:scale-110 mb-4 grow basis-1/5 2xs:w-[130px] xs:w-full cursor-pointer'
onClick={handleClick}>
<CardImage src={src} alt={title} />
<CardInfo