motionsites中文站 / 加载动画 · Fast Parrot
加载动画 · Fast Parrot
aadmin2026-09-19 发布组件3 阅读

加载动画 · Fast Parrot

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

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

<style>
/* From Uiverse.io by vikramsinghnegi  - Tags: loader, svg, ice cream */
.loader {
  height: 150px;
  width: 100px;
  border-radius: 55px 55px 10px 10px;
  position: relative;
  background: #f0744f;

  background-image: linear-gradient(
    0deg,
    #f63a99 25%,
    #30dcf6 20%,
    #30dcf6 20%,
    #668c92 50%,
    #85782a 40%,
    #f2d200 50%,
    #f2d200 75%,
    #70ca5c 75%
  );
  background-position: 0px 0px;
  background-size: auto 175px;
  background-repeat: repeat-y;
  animation: colorShift 2s linear infinite;
}
.loader:before {
  content: "";
  position: absolute;
  left: 10px;
  bottom: 15px;
  width: 15px;
  height: 100px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.5);
}

.loader:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 0);
  box-shadow: 0 15px 2px rgba(0, 0, 0, 0.25) inset;
  width: 32px;
  height: 45px;
  background: #534b44;
  border-radius: 0 0 12px 12px;
}

@keyframes colorShift {
  to {
    background-position: 0 175px;
  }
}

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