This commit is contained in:
こぴなたみぽ 2018-02-14 14:04:18 +09:00
parent 08d0c46d28
commit 5a0b56f702
2 changed files with 26 additions and 24 deletions

View file

@ -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>

View 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>