From 13a16e52cf1950facb607a577a6ce4b585d13d43 Mon Sep 17 00:00:00 2001 From: jsun969 Date: Sun, 11 Feb 2024 15:39:13 +1030 Subject: [PATCH] feat(duck): add `translate-y` for animation --- src/components/Duck.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Duck.tsx b/src/components/Duck.tsx index 9e4c9661..a92d273e 100644 --- a/src/components/Duck.tsx +++ b/src/components/Duck.tsx @@ -15,7 +15,7 @@ export default function Duck({ colour, outline, size = 60, className }: DuckProp alt={`${colour} duck${outline ? ' outline' : ''}`} width={size} height={size} - className={`${className} cursor-pointer transition-transform duration-200 active:scale-y-75`} + className={`${className} cursor-pointer transition-transform duration-200 active:translate-y-2 active:scale-y-75`} /> );