💫 (interval) add animation to plus and minus
This commit is contained in:
@@ -24,12 +24,16 @@
|
||||
v-if="timeState === 'stopped'"
|
||||
src="@/assets/play.svg"
|
||||
alt="play"
|
||||
width="44px"
|
||||
height="44px"
|
||||
/>
|
||||
<img
|
||||
key="pause"
|
||||
v-if="timeState === 'started'"
|
||||
src="@/assets/pause.svg"
|
||||
alt="pause"
|
||||
width="44px"
|
||||
height="44px"
|
||||
/>
|
||||
</transition>
|
||||
</button>
|
||||
@@ -140,11 +144,4 @@ footer {
|
||||
font-style: italic;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
$button-size: 44px;
|
||||
|
||||
button {
|
||||
width: $button-size;
|
||||
height: $button-size;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user