Skip to content

Commit

Permalink
Merge pull request #184 from zalabhavy/cards
Browse files Browse the repository at this point in the history
Hover effects added on cards
  • Loading branch information
Avdhesh-Varshney authored Jul 5, 2024
2 parents 6c8c41f + 050ee43 commit 80fbe19
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion src/css/Home.css
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,19 @@
background-color: #eef1ff;
}

.feat-card:hover {
transform: translateY(-10px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.feat-card:hover img {
transform: scale(1.05);
}

.feat-card:hover .card-line {
width: 100%;
}

.feat-card-content {
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -171,7 +184,10 @@
border-radius: 100%;
}


.feat-card:hover, .feat-card-2:hover {
transform: translateY(-10px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.gap-10{
gap: 40px;
Expand Down

0 comments on commit 80fbe19

Please sign in to comment.