- Görüntülenme
- 0
Ücretsiz
Önizleme izole bir çerçevede çalışır — efekt sayfanın stillerini etkilemez.
Stardust Trail Toggle kaynak kodu
Üyelere açık
.fx-check-stardust { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; user-select: none; font-family: system-ui; }
.fx-check-stardust input { display: none; }
.fx-check-stardust-box { width: 36px; height: 36px; border-radius: 8px; background: radial-gradient(circle, #1e1b4b, #0f172a); border: 2px solid #334155; position: relative; overflow: hidden; transition: border-color .3s ease; }
.fx-check-stardust-box span { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fbbf24; opacity: 0; }
.fx-check-stardust-p1 { top: 6px; left: 10px; }
.fx-check-stardust-p2 { top: 18px; left: 24px; }
.fx-check-stardust-p3 { top: 26px; left: 8px; }
.fx-check-stardust-p4 { top: 12px; left: 18px; }
.fx-check-stardust input:checked + .fx-check-stardust-box { border-color: #fbbf24; }
.fx-check-stardust input:checked + .fx-check-stardust-box span { opacity: 1; }
.fx-check-stardust input:checked + .fx-check-stardust-box .fx-check-stardust-p1 { animation: fx-sd-twinkle 1.4s ease infinite; }
.fx-check-stardust input:checked + .fx-check-stardust-box .fx-check-stardust-p2 { animation: fx-sd-twinkle 1.6s ease infinite .3s; }
.fx-check-stardust input:checked + .fx-check-stardust-box .fx-check-stardust-p3 { animation: fx-sd-twinkle 1.2s ease infinite .6s; }
.fx-check-stardust input:checked + .fx-check-stardust-box .fx-check-stardust-p4 { animation: fx-sd-twinkle 1.8s ease infinite .9s; }
@keyframes fx-sd-twinkle { 0%,100% { opacity: .3; transform: scale(.5); } 50% { opacity: 1; transform: scale(1.5); box-shadow: 0 0 4px #fbbf24; } }
/* … */Kalan 2 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üzeltKatkıda bulunanlar
LibraryCSSEfekti eklediKurucu
Stardust Trail Toggle nasıl kullanılır?
- 1. HTML parçasını sayfanda kullanmak istediğin yere yapıştır.
- 2. CSS bloğunu stil dosyana veya bir
<style>etiketine ekle. - 3. Renkleri ve süreleri kendi tasarımına göre değiştir — bağımlılık yok, saf CSS.
Onay Kutuları kategorisindeki tüm efektler gibi bu efekt de tamamen ücretsizdir; ticari projelerde de kullanabilirsin. Kütüphanenin tamamı için Onay Kutuları koleksiyonuna göz at.
Benzer Onay Kutuları efektleri
TümüCanlı incele Checkboxes
Canlı incele Checkboxes
Canlı incele Checkboxes
Power On Toggle
A power-symbol checkbox that glows green when powered on, dark when off.
Canlı incele Checkboxes
Canlı incele Checkboxes
Canlı incele Checkboxes
Circle Stroke Draw
An SVG circle outline draws itself around a center dot that pops in when checked.
Canlı incele Checkboxes
Canlı incele Checkboxes