Pens

Morphing Organic Blob Loader

CSS Animation bởi acmatvjrus
Mở Studio
<div class="blob-center">
  <div class="blob">
    <span>LOADING</span>
  </div>
</div>
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a1410;
  font-family: sans-serif;
}
.blob-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.blob {
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, #10a37a, #06b6d4, #10b681);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morphBlob 4s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(16, 163, 122, 0.5);
}
.blob span {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
@keyframes morphBlob {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: rotate(0deg) scale(1);
  }
  33% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    transform: rotate(120deg) scale(1.08);
  }
  66% {
    border-radius: 70% 30% 50% 60% / 30% 40% 70% 50%;
    transform: rotate(240deg) scale(0.95);
  }
}
// Border-radius 8 coordinates organic morphing
Đã sao chép vào bộ nhớ tạm!