پیش‌نمایش زنده
کد 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 class="card__text">Hello World!</div>
</div>

کد CSS
.card {
  position: relative;
  width: 190px;
  height: 254px;
  background: #f4f4f4;
  z-index: 1;
  border-radius: 21px;
  overflow: hidden;
}

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

.card .blob {
  position: absolute;
  z-index: -1;
  border-radius: 5em;
  width: 200px;
  height: 200px;
}

.card .blob:nth-child(2) {
  left: -50px;
  top: -90px;
  background: #08b2e3;
}

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

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

.card .blob:nth-child(5) {
  left: 100px;
  top: 180px;
  background: #9b4c97;
}

.card__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  text-shadow: 0px 0px 10px rgba(0,0,0,0.75);
}
نوع: card
تاریخ ایجاد: 2026/06/06
آخرین بروزرسانی: 2026/06/06