İçeriğe geç
LibraryCSS
Kartlar

Discount Voucher Card

Discount voucher card with a percentage burst, expiry, and a tear-off strip.

Görüntülenme
0
Ücretsiz

Önizleme izole bir çerçevede çalışır — efekt sayfanın stillerini etkilemez.

Discount Voucher Card kaynak kodu

Üyelere açık
.fx-card-disc { display: flex; width: 300px; background: #fff; border-radius: 10px; box-shadow: 0 12px 26px rgba(0,0,0,0.15); overflow: hidden; font-family: "Segoe UI", sans-serif; color: #1a1a2e; }
.fx-card-disc-body { flex: 1; padding: 14px 16px; position: relative; }
.fx-card-disc-body::after { content: ""; position: absolute; right: -6px; top: 0; bottom: 0; width: 12px; background-image: radial-gradient(circle at 6px 6px, #fff 4px, transparent 5px); background-size: 12px 12px; border-left: 2px dashed #ddd; }
.fx-card-disc-burst { width: 80px; flex: 0 0 80px; background: linear-gradient(160deg, #c8102e, #7a0a1e); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; clip-path: polygon(20% 0, 80% 0, 100% 30%, 100% 70%, 80% 100%, 20% 100%, 0 70%, 0 30%); }
.fx-card-disc-title { font-size: 14px; font-weight: 900; letter-spacing: 2px; color: #c8102e; }
.fx-card-disc-sub { font-size: 11px; color: #5a6a7e; margin-top: 2px; }
.fx-card-disc-exp { font-size: 10px; opacity: 0.7; margin-top: 6px; }
.fx-card-disc-stub { width: 90px; flex: 0 0 90px; background: #1a1a2e; color: #fff; padding: 14px 8px; display: flex; align-items: center; justify-content: center; text-align: center; font-family: "Courier New", monospace; font-size: 10px; font-weight: 800; letter-spacing: 1px; }

Kalan 0 satırı görmek için ücretsiz üye ol

Tüm efektler ücretsiz. Üyelik yalnızca tam kaynağı, kopyalamayı ve tarayıcı içi editörü açar.

Bu efektte bir sorun mu var, yoksa daha iyisini mi yazdın? Düzeltme gönder — onaylanırsa puan kazanırsın.

Sorun bildir veya düzelt

Katkıda bulunanlar

LibraryCSSEfekti eklediKurucu
#gradient#shadow#border

Discount Voucher Card nasıl kullanılır?

  1. 1. HTML parçasını sayfanda kullanmak istediğin yere yapıştır.
  2. 2. CSS bloğunu stil dosyana veya bir <style> etiketine ekle.
  3. 3. Renkleri ve süreleri kendi tasarımına göre değiştir — bağımlılık yok, saf CSS.

Kartlar kategorisindeki tüm efektler gibi bu efekt de tamamen ücretsizdir; ticari projelerde de kullanabilirsin. Kütüphanenin tamamı için Kartlar koleksiyonuna göz at.

Benzer Kartlar efektleri

Tümü