Skip to content

Commit

Permalink
Set the fixed image height and hover cursor effect
Browse files Browse the repository at this point in the history
  • Loading branch information
Aanchalll18 committed Nov 10, 2024
1 parent 8ec8bcc commit b8dbd5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/scholarship-feature/scholarships.css
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ p {
.card:hover {
transform: scale(1.08) rotateZ(2deg);
box-shadow: 6px 6px 25px rgb(0, 0, 0);
cursor: pointer;
}

/* Card image styling */
Expand All @@ -150,7 +151,7 @@ p {
border: 2px solid rgb(234, 231, 231);
border-radius: 5px;
width: 100%;
height: 150px; /* Smaller image to reduce height */
height: auto; /* Smaller image to reduce height */
object-fit: cover;
margin-bottom: 10px; /* Reduced margin below the image */
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow effect */
Expand Down

0 comments on commit b8dbd5e

Please sign in to comment.