المعالج عند السكونأقل من نصف نواة عند السكون، ≤ 30 إطارًا في الثانية
الكود
هل من خلل في هذا المكوّن؟ أرسل ملاحظة ›
compass-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.
جارٍ التحميل…
مناسب لـ
Heading or compass mode on a map, a locate-me button and travel apps.
كيف يعمل
Hover it and the ring draws in, then the needle spins in. Turn it on and the needle spins one turn past north and settles, its north half fills and an N mark draws at the top.
طريقة الاستخدام
اربط style.css وscript.js من صفحتك، ثم الصق الترميز من index.html في المكان الذي يجب أن يظهر فيه.