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

加载动画 · Shy Treefrog

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

[hidecontent type="vip1"]
<div class="follow-the-leader-line">
  <div></div>
  <div></div>
  <div></div>
  <div></div>
  <div></div>
</div>
<style>
/* From Uiverse.io by boryanakrasteva - Tags: loader */
@-webkit-keyframes follow-the-leader {
  0% {
    -webkit-transform: rotate(0deg) translateY(-200%);
    transform: rotate(0deg) translateY(-200%);
  }

  60%,
  100% {
    -webkit-transform: rotate(360deg) translateY(-200%);
    transform: rotate(360deg) translateY(-200%);
  }
}

@keyframes follow-the-leader {
  0% {
    -webkit-transform: rotate(0deg) translateY(-200%);
    transform: rotate(0deg) translateY(-200%);
  }

  60%,
  100% {
    -webkit-transform: rotate(360deg) translateY(-200%);
    transform: rotate(360deg) translateY(-200%);
  }
}

.follow-the-leader-line {
  height: 14px;
  position: relative;
  width: 14px;
}

.follow-the-leader-line div {
  -webkit-animation: follow-the-leader 1.25s infinite backwards;
  animation: follow-the-leader 1.25s infinite backwards;
  background-color: #ffffff;
  border-radius: 100%;
  height: 100%;
  width: 100%;
}

.follow-the-leader-line div:nth-child(1) {
  -webkit-animation-delay: 0.15s;
  animation-delay: 0.15s;
  background-color: rgba(255, 255, 255, 0.9);
}

.follow-the-leader-line div:nth-child(2) {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
  background-color: rgba(255, 255, 255, 0.8);
}

.follow-the-leader-line div:nth-child(3) {
  -webkit-animation-delay: 0.45s;
  animation-delay: 0.45s;
  background-color: rgba(255, 255, 255, 0.7);
}

.follow-the-leader-line div:nth-child(4) {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
  background-color: rgba(255, 255, 255, 0.6);
}

.follow-the-leader-line div:nth-child(5) {
  -webkit-animation-delay: 0.75s;
  animation-delay: 0.75s;
  background-color: rgba(255, 255, 255, 0.5);
}
</style>
[/hidecontent]
← 返回首页