A pizza slice icon that draws itself on hover and becomes a whole pie with colored toppings when an order is placed, then goes back on its own.
React + HTML
חינם
מצב
עוד למטה ↓
מובנה
מה מקבלים
בהיר וכההמשתמש בצבעי ערכת העיצוב שלכם
חבילות…
גודל הקוד…
נבדק בכל שינוי
בדיקת טיפוסיםTypeScript strict
Lint ועיצוב קודESLint · Prettier
בדיקות ובנייהצילומי מסך בהיר וכהה
בדיקת אבטחהללא התראות חמורות או קריטיות
גיל החבילותכל גרסה פומבית 7 ימים לפחות
מעבד במנוחהפחות מחצי ליבה במנוחה, ≤ 30 fps
קוד
יש בעיה ברכיב הזה? שליחת משוב ›
pizza-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.
טוען…
מתאים ל
Food ordering and delivery apps, add-to-order buttons and restaurant menus.
איך זה עובד
Hover it and the slice draws in with its crust and toppings. Once ordered, the slice slides into place and the whole pie draws in around it, its toppings pop on in color, then it goes back.
איך משתמשים
קשרו את style.css ו-script.js מהעמוד שלכם, ואז הדביקו את הקוד מ-index.html במקום שבו הוא צריך להופיע.