Skip to content

Commit

Permalink
style: update project card hover effects for improved appearance
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhuxb-Clouds committed Jan 23, 2025
1 parent 8303448 commit ce90c84
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions styles/home.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,9 @@
filter: brightness(0.5) blur(1px);
transition: all 0.25s;
}
.projectCard:hover{
background-color: var(--color);
.projectCard:hover {
background-color: white;
width: 425px;
}
.projectCard:hover img {
transform: scale(2) translate(-10%, 20%);
Expand All @@ -104,6 +105,8 @@
left: 10px;
font-family: Smiley sans;
transition: all 0.25s;

color: white;
}
.projectCard:hover .projectInfo {
opacity: 0;
Expand All @@ -124,6 +127,7 @@
}

.projectCard:hover .imageContainer {
width: 95%;
height: 95%;
--width: calc(100% - 10px);
width: var(--width);
height: var(--width);
}

0 comments on commit ce90c84

Please sign in to comment.