better background, enlarge cards on hover
This commit is contained in:
@@ -10,7 +10,7 @@ type CardProps = {
|
||||
export default function Card({ card: { aria, url }, flipAction }: CardProps) {
|
||||
return (
|
||||
<div
|
||||
className="h-[21vh] w-[15vh] flex items-center justify-center cursor-pointer"
|
||||
className="h-[21vh] w-[15vh] flex items-center justify-center cursor-pointer transform transition-transform duration-200 hover:scale-150 relative z-0 hover:z-10"
|
||||
onClick={flipAction}
|
||||
>
|
||||
<img
|
||||
|
||||
Reference in New Issue
Block a user