forked from FoundKeyGang/FoundKey
wip
This commit is contained in:
parent
08d0c46d28
commit
5a0b56f702
2 changed files with 26 additions and 24 deletions
|
@ -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>
|
|
26
src/web/app/common/views/components/ellipsis.vue
Normal file
26
src/web/app/common/views/components/ellipsis.vue
Normal file
|
@ -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 a new issue