新增动画
This commit is contained in:
parent
7f6517670b
commit
bbb8eca179
36
src/components/animation/lodingCir.vue
Normal file
36
src/components/animation/lodingCir.vue
Normal file
@ -0,0 +1,36 @@
|
||||
<template>
|
||||
<div />
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
div {
|
||||
width: 2.5em;
|
||||
height: 3em;
|
||||
border: 3px solid transparent;
|
||||
border-top-color: #fc2f70;
|
||||
border-bottom-color: #fc2f70;
|
||||
border-radius: 50%;
|
||||
animation: spin-stretch 2s ease infinite;
|
||||
}
|
||||
|
||||
@keyframes spin-stretch {
|
||||
50% {
|
||||
transform: rotate(360deg) scale(0.4, 0.33);
|
||||
border-width: 8px;
|
||||
}
|
||||
100% {
|
||||
transform: rotate(720deg) scale(1, 1);
|
||||
border-width: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fill {
|
||||
25%,
|
||||
50% {
|
||||
transform: scaleY(0);
|
||||
}
|
||||
100% {
|
||||
transform: scaleY(1);
|
||||
}
|
||||
}
|
||||
</style>
|
Loading…
x
Reference in New Issue
Block a user