const round = hh.getTotalLength(); /* 둘레길이 */
hh.style.strokeDashoffset = round - (round * h) / 12;
mm.style.strokeDashoffset = round - (round * m) / 60;
ss.style.strokeDashoffset = round - (round * s) / 60;
dothh.style.transform = 'rotate('+ h * 360 / 12 +'deg)';
dotmm.style.transform = 'rotate('+ m * 360 / 60 +'deg)';
dotss.style.transform = 'rotate('+ s * 360 / 60 +'deg)';
-
Notifications
You must be signed in to change notification settings - Fork 0
Clock SVG
kimkee/clock
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Clock SVG
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published