wip
This commit is contained in:
parent
08d0c46d28
commit
5a0b56f702
|
@ -1,24 +0,0 @@
|
||||||
<mk-ellipsis><span>.</span><span>.</span><span>.</span>
|
|
||||||
<style lang="stylus" scoped>
|
|
||||||
:scope
|
|
||||||
display inline
|
|
||||||
|
|
||||||
> span
|
|
||||||
animation ellipsis 1.4s infinite ease-in-out both
|
|
||||||
|
|
||||||
&:nth-child(1)
|
|
||||||
animation-delay 0s
|
|
||||||
|
|
||||||
&:nth-child(2)
|
|
||||||
animation-delay 0.16s
|
|
||||||
|
|
||||||
&:nth-child(3)
|
|
||||||
animation-delay 0.32s
|
|
||||||
|
|
||||||
@keyframes ellipsis
|
|
||||||
0%, 80%, 100%
|
|
||||||
opacity 1
|
|
||||||
40%
|
|
||||||
opacity 0
|
|
||||||
</style>
|
|
||||||
</mk-ellipsis>
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
<template>
|
||||||
|
<span class="mk-ellipsis">
|
||||||
|
<span>.</span><span>.</span><span>.</span>
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style lang="stylus" scoped>
|
||||||
|
.mk-ellipsis
|
||||||
|
> span
|
||||||
|
animation ellipsis 1.4s infinite ease-in-out both
|
||||||
|
|
||||||
|
&:nth-child(1)
|
||||||
|
animation-delay 0s
|
||||||
|
|
||||||
|
&:nth-child(2)
|
||||||
|
animation-delay 0.16s
|
||||||
|
|
||||||
|
&:nth-child(3)
|
||||||
|
animation-delay 0.32s
|
||||||
|
|
||||||
|
@keyframes ellipsis
|
||||||
|
0%, 80%, 100%
|
||||||
|
opacity 1
|
||||||
|
40%
|
||||||
|
opacity 0
|
||||||
|
</style>
|
Loading…
Reference in New Issue