motionsites中文站 / 加载动画 · Yellow Dragon
加载动画 · Yellow Dragon
aadmin2026-09-19 发布组件0 阅读

加载动画 · Yellow Dragon

类型:组件 · 分类:加载动画 · 收录:2026-09-19 · 源码:会员可见

[hidecontent type="vip1"]
<div class="spinner">
  <span></span>
  <span></span>
  <span></span>
  <span></span>
</div>
<style>
/* From Uiverse.io by satyamchaudharydev - Tags: loader */
.spinner {
 --gap: 5px;
 --clr: #d62d20;
 --height: 23px;
 width: 100px;
 height: 100px;
 display: flex;
 align-items: center;
 justify-content: center;
 gap: var(--gap);
}

.spinner span {
 background: var(--clr);
 width: 6px;
 height: var(--height);
 animation: grow 1s ease-in-out infinite;
}

.spinner span:nth-child(2) {
 animation: grow 1s ease-in-out 0.15s infinite;
}

.spinner span:nth-child(3) {
 animation: grow 1s ease-in-out 0.3s infinite;
}

.spinner span:nth-child(4) {
 animation: grow 1s ease-in-out 0.475s infinite;
}

@keyframes grow {
 0%,100% {
  transform: scaleY(1);
 }

 50% {
  transform: scaleY(1.8);
 }
}
</style>
[/hidecontent]
← 返回首页