JSFiddle - React, Tailwind, and code Playground
by TJ VanToll
HTML
<script src="https://cdnjs.cloudflare.com/ajax/libs/document-register-element/0.4.3/document-register-element.js"></script>
<link rel="stylesheet" href="https://rawgit.com/tjvantoll/clock-face/master/clock-face.css">
<script src="https://rawgit.com/tjvantoll/clock-face/master/clock-face.js"></script>
<!-- A static time -->
<clock-face hour="9" minute="30" second="10"></clock-face>
<!-- The current time -->
<clock-face></clock-face>
<!-- A green clock -->
<clock-face class="green"></clock-face>
<!-- A big clock -->
<clock-face class="big"></clock-face>
CSS
.green {
border-color: green;
}
.green .clock-face-container::after {
background: green;
}
.green > .clock-face-container > div {
background: green;
}
.big {
height: 200px;
width: 200px;
}