A hotel icon that draws itself on hover and hangs a swinging room key on its front when a room is booked, then goes back on its own.
React + HTML
मुफ़्त
स्थिति
नीचे और ↓
पहले से मौजूद
आपको क्या मिलता है
लाइट और डार्कआपकी थीम के रंग इस्तेमाल करता है
पैकेज…
कोड साइज़…
हर बदलाव पर जाँचा गया
टाइप जाँचTypeScript स्ट्रिक्ट
लिंट और फ़ॉर्मैटESLint · Prettier
टेस्ट और बिल्डलाइट और डार्क स्क्रीनशॉट
सिक्योरिटी ऑडिटकोई हाई या क्रिटिकल एडवाइज़री नहीं
पैकेज की उम्रहर वर्शन 7+ दिन से पब्लिक
आइडल CPUरुके रहने पर आधे कोर से कम, ≤ 30 fps
कोड
इस कंपोनेंट में कुछ गड़बड़ है? फ़ीडबैक भेजें ›
hotel-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.
लोड हो रहा है…
इनके लिए अच्छा
Book buttons, stay confirmations, travel apps and hotel listings.
यह कैसे काम करता है
Hover it and the walls, door and H draw in. Once booked, the H steps aside and a room key tag drops in on its ring and swings twice before it hangs still, then it goes back.
कैसे इस्तेमाल करें
अपने पेज से style.css और script.js लिंक करें, फिर index.html का मार्कअप वहाँ पेस्ट करें जहाँ उसे जाना है।