Skip to content

Commit

Permalink
add blinking to heart motivation levels relates #15
Browse files Browse the repository at this point in the history
  • Loading branch information
vlbee committed May 25, 2018
1 parent 5f44296 commit b846dbd
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions src/components/css/game.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,20 @@
margin: 0;
}

/* .motivation__level:last-child {
.motivation {
color: transparent;
text-shadow: 0 0 0 hsla(0, 0%, 20%, 1);
animation: blink 1s step-end infinite;
} */
/*
@keyframes blink {
from {
opacity: 0%;
}
to {
opacity: 100%;
}
} */
margin-top: 0.3rem;
}

.motivation {
.motivation:last-child {
color: transparent;
text-shadow: 0 0 0 hsla(0, 0%, 20%, 1);
margin-top: 0.3rem;
animation: blinker 500ms ease-in-out infinite;
}

@keyframes blinker {
50% {
opacity: 0;
}
}

0 comments on commit b846dbd

Please sign in to comment.