İçeriğe geç
LibraryCSS
Formlar

Tree Dropdown

Hierarchical tree dropdown for nested option selection.

Görüntülenme
0
Ücretsiz

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

Tree Dropdown kaynak kodu

Üyelere açık
.fx-form-dropdown-tree { width: 220px; }
.fx-form-dropdown-tree details { position: relative; }
.fx-form-dropdown-tree summary { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: #15151f; border: 1px solid #2a2a40; border-radius: 8px; cursor: pointer; list-style: none; color: #e8e8f0; font-size: 14px; transition: all .25s; }
.fx-form-dropdown-tree summary::-webkit-details-marker { display: none; }
.fx-form-dropdown-tree .arrow { color: #6b7280; transition: transform .25s; font-size: 12px; }
.fx-form-dropdown-tree details[open] summary { border-color: #10b981; }
.fx-form-dropdown-tree details[open] .arrow { transform: rotate(180deg); color: #10b981; }
.fx-form-dropdown-tree .menu { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #1f1f33; border: 1px solid #2a2a40; border-radius: 8px; padding: 4px; z-index: 10; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.fx-form-dropdown-tree .group { padding: 8px 10px; color: #c0c0d4; font-size: 13px; font-weight: 600; cursor: pointer; border-radius: 6px; }
.fx-form-dropdown-tree .group:hover { background: rgba(16,185,129,.1); }
.fx-form-dropdown-tree .sub { padding: 6px 10px 6px 28px; color: #9ca3af; font-size: 13px; cursor: pointer; border-radius: 6px; }
.fx-form-dropdown-tree .sub:hover { background: rgba(99,102,241,.1); color: #e8e8f0; }

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
#hover#transform#shadow#border

Tree Dropdown 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.

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

Benzer Formlar efektleri

Tümü