Skip to content

Commit

Permalink
feat(app-dashboard): improve dashboard animation
Browse files Browse the repository at this point in the history
  • Loading branch information
rams23 committed Feb 16, 2021
1 parent a0235db commit faf0916
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export const ReviewContainer = styled(EmptyCardContainer)`
`;

export const GameRuleContainer = styled(EmptyCardContainer)`
top: 43vh;
top: 38vh;
right: calc(11vw);
transform: scale(${scaleAtResolution(0.7)}) perspective(1500px) rotate3d(1, 2, -1, 15deg);
Expand All @@ -117,10 +117,10 @@ export const GameRuleContainer = styled(EmptyCardContainer)`
export const ScenarioContainer = styled(EmptyCardContainer)`
bottom: 20%;
right: -120px;
transform: scale(${scaleAtResolution(0.6)}) perspective(1500px) rotate3d(0, -1, -1, 5deg);
transform: scale(${scaleAtResolution(0.7)}) perspective(400px) rotate3d(0, 18, 3, 10deg);
:hover {
transform: scale(${scaleAtResolution(0.6)});
transform: scale(${scaleAtResolution(0.7)});
}
`;

Expand Down

0 comments on commit faf0916

Please sign in to comment.