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.
불러오는 중…
Tree Icon
v1.0
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
무료
이럴 때 좋아요
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의 마크업을 원하는 위치에 붙여 넣으세요.