Skip to content

Commit

Permalink
implemented sink effect
Browse files Browse the repository at this point in the history
Signed-off-by: Giuseppe Macri <[email protected]>
  • Loading branch information
Giuseppe Macri committed Sep 5, 2023
1 parent 5da895a commit c64190e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion website/src/components/studio.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,16 @@ const MapCardImage = styled.img`
height: 230px;
width: 386px;
box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.5);
transform: translateZ(0);
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-moz-osx-font-smoothing: grayscale;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-webkit-transition-property: transform;
transition-property: transform;
-webkit-transition-timing-function: ease-out;
transition-timing-function: ease-out;
`;

const MapCard = styled.a`
Expand All @@ -166,7 +176,7 @@ const MapCard = styled.a`
:hover {
${MapCardImage} {
box-shadow: 0 12px 24px 0 rgba(122, 122, 122, 0.5);
transform: translateY(8px);
}
}
`;
Expand Down

0 comments on commit c64190e

Please sign in to comment.