المعالج عند السكونأقل من نصف نواة عند السكون، ≤ 30 إطارًا في الثانية
الكود
هل من خلل في هذا المكوّن؟ أرسل ملاحظة ›
candle-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.
جارٍ التحميل…
مناسب لـ
Birthday and memorial pages, calm or focus modes, and cozy theme toggles.
كيف يعمل
Hover it and the candle draws in, then its wick and a curl of smoke. Light it and the smoke lifts away as a colored flame grows from the wick with a sway and wax drips down; put it out and the smoke comes back.
طريقة الاستخدام
اربط style.css وscript.js من صفحتك، ثم الصق الترميز من index.html في المكان الذي يجب أن يظهر فيه.