forked from crowetic/commerce
add scaling animation
This commit is contained in:
parent
cd3a80a381
commit
c28b7589d3
@ -36,7 +36,7 @@ const ProductCard: FC<Props> = ({ className, product: p, variant }) => {
|
||||
>
|
||||
<div className="absolute z-10 inset-0 flex items-center justify-center">
|
||||
<img
|
||||
className="w-full object-cover"
|
||||
className="w-full object-cover transform scale-90 hover:scale-100 transition-transform duration-500"
|
||||
src={p.images.edges?.[0]?.node.urlXL}
|
||||
/>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user