Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions 03-midu-typing-game/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@
color: var(--yellow);
font-size: 14px;
position: absolute;
left: -65%;
animation: 1s blink infinite ease-in-out;
left: -35%;
transition: 0.1s;
animation: 1s blink infinite ease-in-out, move 0.1s ease-in-out;
}

&.active.is-last::before {
Expand Down Expand Up @@ -94,6 +95,16 @@
}
}

@keyframes move {
0% {
left: -65%;
}

100% {
left: -40%;
}
}

#game {
display: flex;
}
Expand Down Expand Up @@ -344,4 +355,4 @@ <h3 id="results-accuracy"></h3>
$wpm.textContent = wpm
$accuracy.textContent = `${accuracy.toFixed(2)}%`
}
</script>
</script>