It Is A Package Which Helps You To Create A Clock Which Runs The Exact Present Time. You Can Change The Layout Of The Time Clock In Which You Can Change The CSS Properties Mentioned Below:
- Colour
- The Border
- Border Radius
- Background Colour
- Text Colour
- Display Property In CSS
- Flex-Direction Property
- Align-Items Property
- Class-Name
- Justify-Content Property
- Width
- Margin
- Padding
Classname, Display, Flexdirection, Alignitems, Justifycontent, Width, Margin, Backgroundcolor, Border, Borderradius, Childpadding, Childcolor.
npm i createclock
import { createClock } from "./node_modules/createclock/app.js";
createClock("container", "flex", "row", "center", "center", "18%", "100px auto", "white", "3px solid red", "30px", "30px 40px", "green");
Then Include The File In The HTML Document By Using The Script Tag As Mentioned Below. The File Name (FILE_NAME) Could Be Changed Accordingly Which Needs To Be Entered In src Attribute Of Tag:
<script type="module" src="FILE_NAME"></script>