Pill Morph Toggle
Track morphs from pill to square corners and changes color when toggled.
Canlı önizleme herkese açıktır. Kod sekmeleri, kopyalama, kaynak API'si ve izole önizleme belgesi üyelik gerektirir.
HTML, CSS, React çıktısı, kopyalama ve tarayıcı editörü giriş yaptıktan sonra açılır.
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üzeltBu efektte kullanılan CSS teknikleri — her biri canlı örnekli bir rehbere ya da özelliğin referans sayfasına bağlanır.
<style> etiketine ekle.Anahtarlar kategorisindeki tüm efektler gibi bu efekt de tamamen ücretsizdir; ticari projelerde de kullanabilirsin. Kütüphanenin tamamı için Anahtarlar koleksiyonuna göz at.
Track morphs from pill to square corners and changes color when toggled.
A gray heart pulses red and scales up with a glow when you follow.
Classic iOS-style toggle with a smooth knob slide and color fade.
Sad face morphs into a happy face as the knob slides across the track.
Monospace T/F letters light up in red or green as the knob slides.
Track fills with an animated wavy liquid that sloshes as the knob slides.
Knob flips in 3D space revealing an ON/OFF face as it travels across.