50projects50days/simple-timer/style.css

18 lines
276 B
CSS
Raw Normal View History

2024-02-22 16:17:56 +00:00
:root {
--degrees: 0deg;
}
.bg-conic {
background: conic-gradient(
transparent 0deg,
transparent var(--degrees),
white var(--degrees),
white 360deg
);
}
.hand {
transform-origin: bottom center;
transform: rotate(var(--degrees));
}