Skip to content

Commit

Permalink
Add tempting animation for those who have an addiction
Browse files Browse the repository at this point in the history
  • Loading branch information
nyikozoli committed Feb 25, 2021
1 parent cc10351 commit 41bd7d3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/features/beers/list/Beers.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,29 @@
cursor: pointer;
overflow: hidden;

&:hover {
animation: bouncedScale 1.3s linear infinite;
}

img {
padding-top: 8px;
height: 92px;
object-fit: scale-down;
max-width: 100%;
}

@keyframes bouncedScale {
0% {
transform: scale(1);
}
50% {
transform: scale(1.06);
}
100% {
transform: scale(1);
}
}

.beer_info {
margin: 10px;

Expand Down

0 comments on commit 41bd7d3

Please sign in to comment.