2022-08-01 08:58:25 +00:00
|
|
|
<template>
|
2024-04-04 22:20:42 +00:00
|
|
|
<i class="relative flex gap-1 content-between w-[13px] aspect-square">
|
|
|
|
<span v-for="i in 3" :key="i" />
|
2022-08-01 08:58:25 +00:00
|
|
|
</i>
|
|
|
|
</template>
|
|
|
|
|
2024-04-04 20:13:35 +00:00
|
|
|
<style lang="postcss" scoped>
|
2022-08-01 08:58:25 +00:00
|
|
|
span {
|
2024-04-04 22:20:42 +00:00
|
|
|
@apply w-[3px] h-full bg-current rounded-full origin-bottom;
|
2022-08-01 08:58:25 +00:00
|
|
|
animation: bounce 2.2s ease-out infinite alternate;
|
|
|
|
|
|
|
|
&:nth-of-type(2) {
|
|
|
|
animation-delay: -2.2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-of-type(3) {
|
|
|
|
animation-delay: -3.7s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes bounce {
|
|
|
|
10% {
|
|
|
|
transform: scaleY(0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
40% {
|
|
|
|
transform: scaleY(.7);
|
|
|
|
}
|
|
|
|
|
|
|
|
60% {
|
|
|
|
transform: scaleY(0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
75% {
|
|
|
|
transform: scaleY(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
transform: scaleY(0.4);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|