Skip to content

Commit

Permalink
feat(duck): add translate-y for animation
Browse files Browse the repository at this point in the history
  • Loading branch information
jsun969 committed Feb 11, 2024
1 parent 1454548 commit 13a16e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Duck.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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`}
/>
</div>
);
Expand Down

0 comments on commit 13a16e5

Please sign in to comment.