Skip to content

Commit

Permalink
add hover effects
Browse files Browse the repository at this point in the history
  • Loading branch information
Anna committed Aug 9, 2024
1 parent 651b9a9 commit b0d7b63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/styles/blocks/expertise-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
display: flex;
flex-direction: column;
align-items: center;
user-select: none;

@include hover(transform, scale(1.05), '.expertise-card__photo');

&__photo {
width: 166px;
Expand Down
3 changes: 3 additions & 0 deletions src/styles/utils/mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@
padding: 32px;
border-radius: 16px;
box-shadow: 0 9px 18px rgba(37, 41, 49, 0.03);
user-select: none;

@include hover(box-shadow, 0 9px 18px #2529312e);
}

@mixin accent($bg-image) {
Expand Down

0 comments on commit b0d7b63

Please sign in to comment.