Skip to content

Commit

Permalink
⚡ card bounce
Browse files Browse the repository at this point in the history
  • Loading branch information
4silvertooth committed Mar 3, 2021
1 parent 23dea13 commit c69bf3a
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions main.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,24 @@ body {
foreground-repeat: no-repeat;
transform: translate(-50%, -50%) rotate(0deg);
}
20% {
15% {
foreground-position-top: 0px;
transform: translate(-50%, -50%) rotate(0deg);
}
30% {
foreground-position-top: 55px;
25% {
transform: translate(-50%, -70%) rotate(0deg);
}
40% {
foreground-position-top: 0px;
35% {
transform: translate(-50%, -30%) rotate(0deg);
}
50% {
transform: translate(-50%, -50%) rotate(0deg);
}
60% {
foreground-image: url(assets/images/face2.png) 0px 0px no-repeat;
transform: translate(-50%, -50%) rotate(5deg);
}
70% {
//foreground-image: url(assets/images/face2.png) 0px 0px no-repeat;
80% {
transform: translate(-30%, -50%) rotate(10deg);
}
100% {
Expand Down

0 comments on commit c69bf3a

Please sign in to comment.