پیش‌نمایش زنده
کد HTML
<a class="authorized-reseller-api-btn">
  <svg
    height="42"
    width="40"
    viewBox="0 0 24 24"
    class="document-download_svg__h-6 document-download_svg__w-6"
    stroke-width="2"
    stroke="currentColor"
    fill="none"
    xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink"
  >
    <path
      stroke-width="2px"
      fill="none"
      stroke="#FFFFFF"
      d="M12 10v6m0 0-3-3m3 3 3-3m2 8H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707V19a2 2 0 0 1-2 2"
      stroke-linejoin="round"
      stroke-linecap="round"
    ></path>
  </svg>

  <span class="texts">
    <span class="text-2">API 1.42A</span>
    <span class="text-1">Build #055</span>
  </span>
</a>
کد CSS
.authorized-reseller-api-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 1);
  padding: 0.625rem 0.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 1);
  outline: 0;
  transition: all 0.8s;
  text-decoration: none;
}

.authorized-reseller-api-btn:hover {
  text-decoration: underline;
}

.authorized-reseller-api-btn:active {
}

.texts {
  margin-left: 0.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.text-1 {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-2 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}
نوع: button
تاریخ ایجاد: 2026/06/05
آخرین بروزرسانی: 2026/06/05