Skip to content

Commit

Permalink
fix: Refactor CSS styles for card hover effect (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmelto authored Oct 14, 2024
1 parent d003ef7 commit d0e6c3f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -361,17 +361,11 @@ a.nav-link:hover {
overflow: hidden;
break-inside: avoid;
padding: 0;
margin : 15px;
border : 1px solid grey;
border-radius: 3px;
box-shadow: rgba(201, 198, 198, 0.24) 0px 3px 8px;
}

.flex-card:hover{
transform:translateY(-5px);
transition: transform 320ms ease-out 50ms;
transform: scale(0.98);
transition: transform 0.5s;
}

.card-text {
color: black;
}
Expand All @@ -395,6 +389,7 @@ a.nav-link:hover {
}

.card {
margin-bottom: 1rem;
background-color: #333a43;
}

Expand Down

0 comments on commit d0e6c3f

Please sign in to comment.