From 3ac60fe2217e87c6b1ef1ccb31b2544cc193c785 Mon Sep 17 00:00:00 2001 From: Matt Gershowitz Date: Sat, 4 Feb 2017 10:58:21 -0500 Subject: [PATCH 1/3] clock functions --- 02 - JS + CSS Clock/index-START.html | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/02 - JS + CSS Clock/index-START.html b/02 - JS + CSS Clock/index-START.html index 2712384201..306ee17cab 100644 --- a/02 - JS + CSS Clock/index-START.html +++ b/02 - JS + CSS Clock/index-START.html @@ -14,7 +14,8 @@
- + + - From 32f0f04e94037e712ab0ea8fa45995c32d4ab055 Mon Sep 17 00:00:00 2001 From: Matt Gershowitz Date: Sat, 4 Feb 2017 10:58:45 -0500 Subject: [PATCH 2/3] drum kit solid --- 01 - JavaScript Drum Kit/index-START.html | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/01 - JavaScript Drum Kit/index-START.html b/01 - JavaScript Drum Kit/index-START.html index 4070d32767..e8ecc905ec 100644 --- a/01 - JavaScript Drum Kit/index-START.html +++ b/01 - JavaScript Drum Kit/index-START.html @@ -59,6 +59,29 @@ From dd33b565c1c341d7a5491ba518b281b3e05d9237 Mon Sep 17 00:00:00 2001 From: Matt Gershowitz Date: Sat, 4 Feb 2017 11:17:04 -0500 Subject: [PATCH 3/3] got that css var going --- 03 - CSS Variables/index-START.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/03 - CSS Variables/index-START.html b/03 - CSS Variables/index-START.html index bf0f33e3ba..d3f14f7e7b 100644 --- a/03 - CSS Variables/index-START.html +++ b/03 - CSS Variables/index-START.html @@ -25,6 +25,21 @@

Update CSS Variables with JS

/* misc styles, nothing to do with CSS variables */ + :root { + --base: #ffc600; + --padding: 10px; + --blur: 10px; + } + + img { + background: var(--base); + padding: var(--padding); + filter: blur(var(--blur)); + } + + h1 { + color: var(--base); + } body { text-align: center; @@ -53,6 +68,19 @@

Update CSS Variables with JS