Skip to content

Commit

Permalink
style: add transition
Browse files Browse the repository at this point in the history
  • Loading branch information
Anvaqta Tangguh Wisesa committed Sep 3, 2021
1 parent f7ce512 commit 3ad02d5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/SnippetCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ const SnippetCard = ({ logo, title, description, tags, slug }: SnippetType) => {
borderWidth="1px"
role="group"
p="4"
_hover={{ bgColor: bgHoverColor, transition: "0.2s ease all" }}
transition="0.2s ease all"
_hover={{
bgColor: bgHoverColor,
transition: "0.2s ease all",
}}
>
<Flex
bg="whiteAlpha.600"
Expand Down

2 comments on commit 3ad02d5

@vercel
Copy link

@vercel vercel bot commented on 3ad02d5 Sep 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 3ad02d5 Sep 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.