Skip to content

Commit

Permalink
feat: 結算畫面,第一名的光芒會轉動
Browse files Browse the repository at this point in the history
  • Loading branch information
Parsons committed Sep 29, 2024
1 parent 1f8fa2b commit 1bbdd15
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/components/GameOverModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ const otherPlayers = computed(() => {
background-repeat: no-repeat;
background-position: center;
background-size: contain;
animation: animate-shine 5s linear infinite;
}
.character {
Expand Down Expand Up @@ -247,6 +248,16 @@ const otherPlayers = computed(() => {
}
}
@keyframes animate-shine {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.game-over-modal-container {
position: relative;
Expand Down

0 comments on commit 1bbdd15

Please sign in to comment.