A stopwatch icon that draws itself on hover and, when a lap is taken, presses its side button and marks the lap round its rim, then goes back on its own.
React + HTML
مفت
حالت
نیچے مزید ↓
پہلے سے شامل
آپ کو کیا ملتا ہے
لائٹ اور ڈارکآپ کی تھیم کے رنگ استعمال کرتا ہے
پیکجز…
کوڈ کا سائز…
ہر تبدیلی پر جانچ
ٹائپ چیکTypeScript strict
لنٹ اور فارمیٹESLint · Prettier
ٹیسٹ اور بلڈلائٹ اور ڈارک اسکرین شاٹس
سکیورٹی آڈٹکوئی ہائی یا کریٹیکل ایڈوائزری نہیں
پیکج کی عمرہر ورژن 7+ دن سے عوامی
فارغ CPUآرام میں آدھے کور سے کم، ≤ 30 fps
کوڈ
اس کمپوننٹ میں کچھ گڑبڑ ہے؟ فیڈبیک بھیجیں ›
stopwatch-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.
لوڈ ہو رہا ہے…
کس کے لیے بہتر
Lap and split buttons in stopwatch, workout and race timing apps.
یہ کیسے کام کرتا ہے
Hover it and the face draws in, then the crown, the side button and the hand. Take a lap and the side button clicks in as the hand ticks round and a colored arc marks the lap along the rim, then it goes back.
استعمال کا طریقہ
اپنے صفحے سے style.css اور script.js کو لنک کریں، پھر index.html کا مارک اپ وہاں پیسٹ کریں جہاں اسے ہونا چاہیے۔