Skip to content

Commit

Permalink
Hover effects added on cards
Browse files Browse the repository at this point in the history
  • Loading branch information
zalabhavy committed Jul 3, 2024
1 parent 6c8c41f commit 050ee43
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 050ee43

Please sign in to comment.