feat: animation of finals table
This commit is contained in:
parent
5f58208140
commit
4ba02e5881
@ -12,6 +12,7 @@
|
||||
<td class="final__table-col-score">{{ player.score }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr class="final__progress" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -139,6 +140,13 @@ export default {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
&__progress {
|
||||
opacity: 0;
|
||||
color: #ffffff;
|
||||
animation: finals-progress 4s ease forwards;
|
||||
animation-delay: 2s;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes finals-gradient__fade-in {
|
||||
@ -156,4 +164,9 @@ export default {
|
||||
0% { opacity: 0; }
|
||||
100% { opacity: 1; }
|
||||
}
|
||||
@keyframes finals-progress {
|
||||
0% { margin-left: 50%; margin-right: 50%; opacity: 0.5; }
|
||||
85% { margin-left: 20px; margin-right: 20px; opacity: 0.5; }
|
||||
100% { margin-left: 20px; margin-right: 20px; opacity: 0; }
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user