An image off icon that draws itself on hover and cuts a slash through the picture when images are turned off.
React + HTML
Ücretsiz
Durum
Devamı aşağıda ↓
Yerleşik
Neler alırsınız
Açık ve koyuTema renklerinizi kullanır
Paketler…
Kod boyutu…
Her değişiklikte kontrol edilir
Tür denetimiKatı TypeScript
Lint ve biçimESLint · Prettier
Testler ve derlemeAçık ve koyu ekran görüntüleri
Güvenlik denetimiYüksek veya kritik uyarı yok
Paket yaşıHer sürüm 7+ gündür herkese açık
Boşta CPUDururken yarım çekirdekten az, ≤ 30 fps
Kod
Bu bileşende bir sorun mu var? Geri bildirim gönder ›
image-off-iconHTML
index.htmlpageThe markup to copy, between the copy-from-here comments, on a demo page.
style.cssstyleThe styles: copy them into your CSS.
script.jsscriptThe behavior: load it after the markup.
index.html
The markup to copy, between the copy-from-here comments, on a demo page.
Yükleniyor…
Şunlar için uygun
Hide images toggles, data saver modes, missing image placeholders and media settings.
Nasıl çalışır
Hover it and the frame draws in, then the hills and the sun. Turn images off and a slash draws corner to corner, the frame opens where it crosses, the sun sets and the hills dim.
Nasıl kullanılır
Sayfanıza şu dosyaları bağlayın: style.css ve script.js. Ardından index.html'deki markup'ı olması gereken yere yapıştırın.