/* loader样式 */
.loader {
  margin: 0 auto;
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(45deg, transparent, transparent 40%, #e5f403);
  animation: animate 2s linear infinite;
  z-index: 1000;

}

.loader img {
  z-index: 1001;
  width: 50px;
  height: 50px;
  left: 0;
  top: 0;
  position: absolute;
}

/* 渐变动画 */
@keyframes animate {
  from {
    transform: rotate(0deg);
    filter: hue-rotate(0deg);
  }

  to {
    transform: rotate(360deg);
    filter: hue-rotate(360deg);
  }
}

.loader::before,
.loader::after {
  content: '';
  position: absolute;
  background: #000;
  border-radius: 50%;
  z-index: 100;
}

/* 主要用于遮挡loader成环形 */
.loader::before {
  top: 6px;
  left: 6px;
  bottom: 6px;
  right: 6px;
}

/* 主要作用是设计外发光 */
.loader::after {
  top: 0px;
  left: 0px;
  bottom: 0px;
  right: 0px;
  background: linear-gradient(45deg, transparent, transparent 40%, #e5f403);
  filter: blur(30px);
  z-index: 1;
}