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 स्ट्रिक्ट
लिंट और फ़ॉर्मैट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 का मार्कअप वहाँ पेस्ट करें जहाँ उसे जाना है।