پیش‌نمایش زنده
کد HTML
<div class="card wallet gradient">
  <div class="overlay"></div>
  <div class="circle">
    <svg
      width="78px"
      height="60px"
      viewBox="23 29 78 60"
      version="1.1"
      xmlns="http://www.w3.org/2000/svg"
      xmlns:xlink="http://www.w3.org/1999/xlink"
    >
      <g
        id="icon"
        stroke="none"
        stroke-width="1"
        fill="none"
        fill-rule="evenodd"
        transform="translate(23.000000, 29.500000)"
      >
        <rect
          fill="#FF8A80"
          x="67.84"
          y="26.03"
          width="9.4"
          height="21.88"
          rx="4.7"
        ></rect>
        <rect
          fill="#FF5252"
          x="67.84"
          y="38.78"
          width="9.4"
          height="10.96"
          rx="4.7"
        ></rect>
        <polygon
          fill="#FF5252"
          points="57.31 0 67.16 26.38 14.44 45.07 4.59 18.69"
        ></polygon>
        <path
          d="M0,19.61 C0,16.29 2.69,13.60 6.00,13.60 L67.64,13.60 C70.95,13.60 73.64,16.29 73.64,19.61 L73.64,52.66 C73.64,55.98 70.95,58.67 67.64,58.67 L6.00,58.67 C2.69,58.67 0,55.98 0,52.66 Z"
          fill="#FFAB91"
        ></path>
        <path
          d="M47.52,27.08 C45.01,24.54 40.93,24.54 38.42,27.08 L36.91,28.62 L35.39,27.08 C32.88,24.54 28.81,24.54 26.30,27.08 C23.79,29.63 23.79,33.76 26.30,36.30 L36.91,47.05 L47.52,36.30 C50.03,33.76 50.03,29.63 47.52,27.08"
          fill="#FFF3E0"
        ></path>
        <rect
          fill="#FF8A80"
          x="58.03"
          y="26.12"
          width="15.61"
          height="12.86"
        ></rect>
        <ellipse
          fill="#FFFFFF"
          cx="65.83"
          cy="33.09"
          rx="2.20"
          ry="2.23"
        ></ellipse>
      </g>
    </svg>
  </div>
  <p>Wallet</p>
</div>
کد CSS
/* Gradient theme variables */
.wallet.gradient {
  --bg-color: linear-gradient(135deg, #ff8a80, #ff5252);
  --bg-color-light: linear-gradient(135deg, #ffab91, #ff7043);
  --text-color-hover: #ffffff;
  --box-shadow-color: rgba(255, 138, 128, 0.4);
}

.card {
  width: 220px;
  height: 321px;
  background: linear-gradient(135deg, #ffe0b2, #ffcc80);
  border-top-right-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-out;
  text-decoration: none;
}

.card:hover {
  transform: translateY(-5px) scale(1.005);
  box-shadow:
    0 24px 36px rgba(0, 0, 0, 0.1),
    0 24px 46px var(--box-shadow-color);
}

.card:hover .overlay {
  transform: scale(3.5);
}

.card:hover .circle {
  border-color: var(--bg-color-light);
  background: var(--bg-color);
}

.card:hover .circle:after {
  background: var(--bg-color-light);
}

.card:hover p {
  color: var(--text-color-hover);
}

.card p {
  font-size: 17px;
  color: #5d4037;
  margin-top: 30px;
  z-index: 1000;
  transition: color 0.3s ease-out;
}

.circle {
  width: 131px;
  height: 131px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease-out;
}

.circle:after {
  content: "";
  width: 118px;
  height: 118px;
  display: block;
  position: absolute;
  background: var(--bg-color);
  border-radius: 50%;
  top: 7px;
  left: 7px;
  transition: opacity 0.3s ease-out;
}

.circle svg {
  z-index: 10000;
}

.overlay {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--bg-color);
  position: absolute;
  top: 70px;
  left: 50px;
  z-index: 0;
  transition: transform 0.3s ease-out;
}
نوع: card
تاریخ ایجاد: 2026/06/06
آخرین بروزرسانی: 2026/06/06