Skip to content

Commit

Permalink
Transition effect on card
Browse files Browse the repository at this point in the history
  • Loading branch information
ZebaRoohi committed Jan 9, 2024
1 parent 3359deb commit df1a427
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1381,6 +1381,7 @@ header {

.courses {
margin-top: 2rem;
transition: transform 0.3s ease;
}

.headingh2 {
Expand Down Expand Up @@ -1416,6 +1417,7 @@ header {
.course:hover {
background: var(--color-bg2);
box-shadow: 0 3rem 3rem rgba(0, 0, 0, 0.4);
transform: translateY(-20px) !important;
}

.course__info {
Expand Down

0 comments on commit df1a427

Please sign in to comment.