JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html lang="en">
<head>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
  
        /* All of the same styling to the body */        
        body {
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
			}
  
        /* Sizing, positioning of main dial of the clock */        
        .clock {
            width: 100vw;
            height: 100vw;
            background:#fafafa;
            background-size: cover;
            border-radius: 50%;
            position: relative;
        }
          
        .hr,
        .min,
        .sec {
            width: 1%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -100%);
            transform-origin: bottom;
            z-index: 2;
            border-radius: 2em;
        }
          
        .pin {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 1em;
            height: 1em;
            background: rgb(38, 0, 255);
            border: 2px solid #ffffff;
            border-radius: 10em;
            margin: auto;
            z-index: 10;
        }
  
        /* Different length of different hands of clock */        
        .hr {
            height: 22%;
            background-color: #363636;
            width: 2.5%;
        }
          
        .min {
            height: 30%;
            background-color: #878787;
            width: 2%;
        }
          
        .sec {
            height: 40%;
            background-color: #e91e63;
            transform-origin: 50% 85%;
        }
    </style>
</head>
  
<body>
    <div class="clock">
        
		<svg id="clocksvg" xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 451.155 451.206" viewBox="0 0 451.155 451.206">
 <path d="m5 225.66c0.141-45.718...