Skip to content

Commit

Permalink
add funky transition for images on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
petar-i-todorov committed Jan 8, 2024
1 parent e02beac commit 736b17e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/blurrable-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const BlurrableImage = ({
<div
className={clsx(
getWidthAndHeight(props.className ?? ''),
'relative isolate',
'relative isolate overflow-clip',
)}
>
<div
Expand All @@ -72,7 +72,7 @@ export const BlurrableImage = ({
hidden: !isLoaded,
},
props.className,
'relative z-[1] animate-fade-in',
'relative z-[1] animate-fade-in transition-transform hover:scale-105',
)}
ref={imageRef}
/>
Expand Down

0 comments on commit 736b17e

Please sign in to comment.