المعالج عند السكونأقل من نصف نواة عند السكون، ≤ 30 إطارًا في الثانية
الكود
هل من خلل في هذا المكوّن؟ أرسل ملاحظة ›
dice-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.
جارٍ التحميل…
مناسب لـ
Roll and randomize buttons, shuffle a pick, games and random name or color pickers.
كيف يعمل
Hover it and the die draws in, then its five pips pop in. Roll it and the die hops and tumbles half a turn, lands with a squash, and its middle pip splits in two so it shows six, in the result color. Then it goes back.
طريقة الاستخدام
اربط style.css وscript.js من صفحتك، ثم الصق الترميز من index.html في المكان الذي يجب أن يظهر فيه.