A tree icon that draws itself on hover and settles onto a mound with a colored crown when a tree is planted, then goes back on its own.
React + HTML
मुफ़्त
स्थिति
नीचे और ↓
पहले से मौजूद
आपको क्या मिलता है
लाइट और डार्कआपकी थीम के रंग इस्तेमाल करता है
पैकेज…
कोड साइज़…
हर बदलाव पर जाँचा गया
टाइप जाँचTypeScript स्ट्रिक्ट
लिंट और फ़ॉर्मैटESLint · Prettier
टेस्ट और बिल्डलाइट और डार्क स्क्रीनशॉट
सिक्योरिटी ऑडिटकोई हाई या क्रिटिकल एडवाइज़री नहीं
पैकेज की उम्रहर वर्शन 7+ दिन से पब्लिक
आइडल CPUरुके रहने पर आधे कोर से कम, ≤ 30 fps
कोड
इस कंपोनेंट में कुछ गड़बड़ है? फ़ीडबैक भेजें ›
tree-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.
लोड हो रहा है…
इनके लिए अच्छा
Plant-a-tree buttons, carbon offsets, donations and eco rewards.
यह कैसे काम करता है
Hover it and the crown draws in, then the trunk and branches. Once planted, a mound draws under it, the tree rises onto it with a little bounce and the crown fills with color, then it goes back.
कैसे इस्तेमाल करें
अपने पेज से style.css और script.js लिंक करें, फिर index.html का मार्कअप वहाँ पेस्ट करें जहाँ उसे जाना है।