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
لنٹ اور فارمیٹESLint · Prettier
ٹیسٹ اور بلڈلائٹ اور ڈارک اسکرین شاٹس
سکیورٹی آڈٹکوئی ہائی یا کریٹیکل ایڈوائزری نہیں
پیکج کی عمرہر ورژن 7+ دن سے عوامی
فارغ CPUآرام میں آدھے کور سے کم، ≤ 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 کا مارک اپ وہاں پیسٹ کریں جہاں اسے ہونا چاہیے۔