From 766218878d41a68b8e2d73bcd6ceca9d6a1b41f9 Mon Sep 17 00:00:00 2001 From: Durok <43138030+FreeDurok@users.noreply.github.com> Date: Sat, 3 Aug 2024 16:19:10 +0200 Subject: [PATCH] Update styles.css --- styles.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/styles.css b/styles.css index d9fe10c..ed7810b 100644 --- a/styles.css +++ b/styles.css @@ -24,7 +24,7 @@ body { } .arm { - border-radius: 100%; + border-radius: 50%; position: absolute; display: flex; justify-content: center; @@ -32,6 +32,7 @@ body { box-shadow: 0 0 15px #f8f8f8, inset 0 0 15px #f8f8f8; + transform-origin: center center; } .hours { @@ -56,11 +57,15 @@ body { width: 4vh; height: 4vh; background-color: white; - border-radius: 100%; + border-radius: 50%; position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%) translateY(-50%); box-shadow: 0 0 15px #f8f8f8, inset 0 0 15px #f8f8f8; + transform-origin: center center; } /* Media Queries per dispositivi mobili */