A sunset icon that draws itself on hover and sinks the sun to the horizon at dusk, then rises again by day.
React + HTML
رایگان
وضعیت
بیشتر در پایین ↓
داخلی
آنچه میگیرید
روشن و تیرهاز رنگهای تم شما استفاده میکند
پکیجها…
حجم کد…
با هر تغییر بررسی میشود
بررسی نوعTypeScript strict
لینت و قالببندیESLint · Prettier
تست و بیلدتصاویر روشن و تیره
ممیزی امنیتیبدون هشدار بالا یا بحرانی
قدمت پکیجهر نسخه حداقل 7 روز عمومی بوده
پردازنده در حالت بیکارکمتر از نیم هسته در حالت ساکن، حداکثر 30 فریم بر ثانیه
کد
مشکلی با این کامپوننت دارید؟ ارسال بازخورد ›
sunset-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.
در حال بارگذاری…
مناسب برای
Weather widgets, sunset times and day-to-night switches.
چگونه کار میکند
Hover it and the horizon and sun draw in and the rays grow out. Turn set on and the rays pull in, the sun sinks to a sliver and a down arrow draws in above it.
نحوه استفاده
style.css و script.js را به صفحه خود پیوند دهید، سپس کد HTML فایل index.html را در جایی که میخواهید بچسبانید.