diff --git a/02 - JS + CSS Clock/index-START.html b/02 - JS + CSS Clock/index-START.html index 2712384201..4a4c0c2c46 100644 --- a/02 - JS + CSS Clock/index-START.html +++ b/02 - JS + CSS Clock/index-START.html @@ -13,6 +13,12 @@
+
+
3
+
6
+
9
+
12
+
@@ -34,8 +40,8 @@ } .clock { - width: 30rem; - height: 30rem; + width: 35rem; + height: 35rem; border:20px solid white; border-radius:50%; margin:50px auto; @@ -56,17 +62,82 @@ } .hand { - width:50%; + width: 50%; height:6px; background:black; position: absolute; top:50%; + transform-origin: 100%; + transform: rotate(90deg); + transition: all 0.05s; + transition-timing-function: cubic-bezier(0.1, 2.7, 0.58, 1); + } + + .second-hand { + height:3px; + background: red; + } + + .hour-hand{ + height:8px; + width: 30%; + top: 50%; + left: 20%; + } + + .number { + font-family: fantasy; + font: status-bar; + position: absolute; + color: white; + } + + .three { + top: 50%; + left: 90%; + } + + .six { + top: 90%; + left: 50%; + } + + .nine { + top: 50%; + left: 5%; + } + + .twelve { + top: 5%; + left: 50%; } diff --git a/03 - CSS Variables/index-START.html b/03 - CSS Variables/index-START.html index bf0f33e3ba..9401d7b339 100644 --- a/03 - CSS Variables/index-START.html +++ b/03 - CSS Variables/index-START.html @@ -21,6 +21,21 @@

Update CSS Variables with JS

+