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

加载动画 · Rare Otter

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

[hidecontent type="vip1"]
<div class="loader">
  <div class="layer">loading</div>
  <div class="layer">loading</div>
</div>

<style>
/* From Uiverse.io by ayman-ashine  - Tags: loader, animated, multicolor */
.loader {
  --c-1: #a2ff37;
  --c-2: #5bb2ff;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.layer {
  font-size: 25px;
  font-family: "Segoe UI", Tahoma;
  font-weight: 800;
  text-transform: uppercase;
  position: absolute;
}

.layer:nth-child(1) {
  color: var(--c-1);
  animation: kfs-3412 0.5s infinite;
}

.layer:nth-child(2) {
  color: var(--c-2);
  animation: kfs-3412 0.5s 0.25s infinite;
}

@keyframes kfs-3412 {
  0% {
    text-shadow: 0 0 30px var(--c-1);
    transform: scaleY(0);
    z-index: 2;
  }
  50% {
    transform: scaleY(1.5);
    z-index: 2;
  }
  100% {
    transform: scaleY(1.5);
    z-index: 0;
  }
}

</style>
    
[/hidecontent]
← 返回首页