From 811fc503cece81d5d80349365ea7cb5c020a201f Mon Sep 17 00:00:00 2001 From: Mark Pinero Date: Mon, 20 Mar 2017 22:58:50 -0700 Subject: [PATCH 1/4] 01 done --- 01 - JavaScript Drum Kit/index-START.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/01 - JavaScript Drum Kit/index-START.html b/01 - JavaScript Drum Kit/index-START.html index 4070d32767..246a3faa9a 100644 --- a/01 - JavaScript Drum Kit/index-START.html +++ b/01 - JavaScript Drum Kit/index-START.html @@ -58,7 +58,24 @@ From 77145f590985f81cc44fa827007cf15ce5c28f1e Mon Sep 17 00:00:00 2001 From: Mark Pinero Date: Tue, 21 Mar 2017 00:30:31 -0700 Subject: [PATCH 2/4] 02 done --- 02 - JS and CSS Clock/index-START.html | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/02 - JS and CSS Clock/index-START.html b/02 - JS and CSS Clock/index-START.html index 2712384201..f5d8a2543b 100644 --- a/02 - JS and CSS Clock/index-START.html +++ b/02 - JS and CSS Clock/index-START.html @@ -61,13 +61,37 @@ background:black; position: absolute; top:50%; + transform-origin: 100%; + transition: all 0.05s; + transition-timing-function: cubic-bezier(0.1, 2.7, .5, 1); } + .second-hand { + + } +setInterval(setDate, 1000); + From 17f36d633e323a9cdf9b9e1d867be53e059bcbba Mon Sep 17 00:00:00 2001 From: Mark Pinero Date: Sun, 28 May 2017 19:35:51 -0700 Subject: [PATCH 3/4] j30 - 2-4 done --- 02 - JS and CSS Clock/index-START.html | 4 ---- 03 - CSS Variables/index-START.html | 23 +++++++++++++++++++ 04 - Array Cardio Day 1/index-START.html | 28 ++++++++++++++++++++++-- 3 files changed, 49 insertions(+), 6 deletions(-) diff --git a/02 - JS and CSS Clock/index-START.html b/02 - JS and CSS Clock/index-START.html index f5d8a2543b..c8c13ea855 100644 --- a/02 - JS and CSS Clock/index-START.html +++ b/02 - JS and CSS Clock/index-START.html @@ -65,10 +65,6 @@ transition: all 0.05s; transition-timing-function: cubic-bezier(0.1, 2.7, .5, 1); } - - .second-hand { - - } diff --git a/04 - Array Cardio Day 1/index-START.html b/04 - Array Cardio Day 1/index-START.html index eec0ffc31d..2ec17e3740 100644 --- a/04 - Array Cardio Day 1/index-START.html +++ b/04 - Array Cardio Day 1/index-START.html @@ -1,9 +1,11 @@ + Array Cardio 💪 +

Psst: have a look at the JavaScript Console 💁

- + + \ No newline at end of file From ceff22948446c97bb1eff0e8678d3801f7d8a35a Mon Sep 17 00:00:00 2001 From: Mark Pinero Date: Mon, 29 May 2017 03:24:37 -0700 Subject: [PATCH 4/4] 5-7 done --- 05 - Flex Panel Gallery/index-START.html | 38 ++++++++++++++++++++++++ 06 - Type Ahead/index-START.html | 33 ++++++++++++++++++++ 07 - Array Cardio Day 2/index-START.html | 23 +++++++++++++- 3 files changed, 93 insertions(+), 1 deletion(-) diff --git a/05 - Flex Panel Gallery/index-START.html b/05 - Flex Panel Gallery/index-START.html index e1d643ad5c..62058b3282 100644 --- a/05 - Flex Panel Gallery/index-START.html +++ b/05 - Flex Panel Gallery/index-START.html @@ -24,6 +24,8 @@ .panels { min-height:100vh; overflow: hidden; + display: flex; + flex-direction: row; } .panel { @@ -32,6 +34,11 @@ color:white; text-align: center; align-items:center; + flex: 1; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; /* Safari transitionend event.propertyName === flex */ /* Chrome + FF transitionend event.propertyName === flex-grow */ transition: @@ -54,6 +61,22 @@ margin:0; width: 100%; transition:transform 0.5s; + flex: 1 0 auto; + align-items: center; + justify-content: center; + display: flex; + } + + .panel > *:first-child { + transform: translateY(-100%); + } + + .panel.open-active > *:first-child, .panel.open-active > *:last-child { + transform: translateY(0%); + } + + .panel > *:last-child { + transform: translateY(100%); } .panel p { @@ -68,6 +91,7 @@ .panel.open { font-size:40px; + flex: 5; } .cta { @@ -107,7 +131,21 @@ diff --git a/06 - Type Ahead/index-START.html b/06 - Type Ahead/index-START.html index 1436886918..479fc42f7b 100644 --- a/06 - Type Ahead/index-START.html +++ b/06 - Type Ahead/index-START.html @@ -16,7 +16,40 @@ diff --git a/07 - Array Cardio Day 2/index-START.html b/07 - Array Cardio Day 2/index-START.html index 969566ff78..a675c387ee 100644 --- a/07 - Array Cardio Day 2/index-START.html +++ b/07 - Array Cardio Day 2/index-START.html @@ -1,9 +1,11 @@ + Array Cardio 💪💪 +

Psst: have a look at the JavaScript Console 💁

- + + \ No newline at end of file