پیش‌نمایش زنده
کد HTML
<div class="card">
  <div class="card__content"></div>
  <div class="blob"></div>
  <div class="blob"></div>
  <div class="blob"></div>
  <div class="blob"></div>
</div>
کد CSS
.card {
  position: relative;
  width: 190px;
  height: 254px;
  background: linear-gradient(to bottom right, #ff2ab7, #7522a1);
  box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
  z-index: 1;
  border-radius: 21px;
  overflow: hidden;
}

.card__content {
  background: linear-gradient(rgba(255, 255, 255, 0.15), rgba(150, 150, 150, 0.1));
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 21px;
  backdrop-filter: blur(35px);
}

.card .blob {
  position: absolute;
  z-index: -1;
  border-radius: 5em;
  width: 200px;
  height: 200px;
  animation-name: blob-animation;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.card .blob:nth-child(1) {
  left: -50px;
  top: -90px;
  background: #c52791;
}

.card .blob:nth-child(2) {
  left: 110px;
  top: -20px;
  z-index: -1;
  background: #6d1d7f;
}

.card .blob:nth-child(3) {
  left: -40px;
  top: 100px;
  background: #a31c72;
}

.card .blob:nth-child(4) {
  left: 100px;
  top: 180px;
  background: #4a158a;
}

@keyframes blob-animation {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(10%, 10%) scale(1.1);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}
نوع: card
تاریخ ایجاد: 2026/06/06
آخرین بروزرسانی: 2026/06/06