更新动画

This commit is contained in:
weipengfei 2023-10-14 12:06:45 +08:00
parent d50341711e
commit 006e37d3bf
1 changed files with 7 additions and 7 deletions

View File

@ -20,22 +20,22 @@
.div {
display: flex;
width: 3.5em;
height: 3.5em;
border: 3px solid transparent;
width: 20em;
height: 20em;
border: 1em solid transparent;
border-top-color: #3cefff;
border-bottom-color: #3cefff;
border-radius: 50%;
animation: spin 1.5s linear infinite;
}
div:before {
.div:before {
content: '';
display: block;
margin: auto;
width: 0.75em;
height: 0.75em;
border: 3px solid #3cefff;
width: 10em;
height: 10em;
border: 1em solid #3cefff;
border-radius: 50%;
animation: pulse 1s alternate ease-in-out infinite;
}