A football (soccer ball) icon that draws itself on hover and flies off along a dashed kick path when kicked, then goes back on its own.
React + HTML
Gratis
Status
Selengkapnya di bawah ↓
Sudah termasuk
Yang Anda dapat
Terang dan gelapMemakai warna tema Anda
Paket…
Ukuran kode…
Dicek di setiap perubahan
Pengecekan tipeTypeScript strict
Lint dan formatESLint · Prettier
Tes dan buildTangkapan layar terang dan gelap
Audit keamananTanpa advisori tinggi atau kritis
Usia paketSetiap versi sudah publik 7+ hari
CPU saat diamDi bawah setengah core saat diam, ≤ 30 fps
Kode
Ada yang janggal dengan komponen ini? Kirim masukan ›
football-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.
Memuat…
Cocok untuk
Sports apps, match trackers, kick-off and shoot buttons.
Cara kerjanya
Hover it and the ball draws in, then its middle patch and the seams. Once kicked, the ball spins once as it flies up and away, a dashed kick path draws in behind it and its patch fills with color, then it goes back.
Cara memakai
Tautkan style.css dan script.js dari halaman Anda, lalu tempel markup dari index.html di tempat yang diinginkan.