Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add green glow hover effect to cards #5019

Merged
merged 3 commits into from
Oct 28, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -5,6 +5,13 @@ const CardWrapper = styled.div`
min-height: 16rem;
margin: auto;
border-radius: 1rem;
cursor: pointer;
box-shadow: rgba(0, 179, 158, 0.9) 0px 2px 10px 1px;
Copy link
Member

Choose a reason for hiding this comment

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

changes looks good, but the box shadow does not have the perfect curve effect at corners if you see
image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok I'll look into it

transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s;

&:hover{
box-shadow: rgba(0, 179, 158, 0.7) 0px 2px 18px 5px;
}

.card-link{
color: black;