50projects50days/simple-timer/style.css
2024-02-22 11:17:56 -05:00

18 lines
276 B
CSS

: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));
}