diff --git a/01 - JavaScript Drum Kit/style.css b/01 - JavaScript Drum Kit/style.css index 075578c930..0673a8752a 100644 --- a/01 - JavaScript Drum Kit/style.css +++ b/01 - JavaScript Drum Kit/style.css @@ -3,6 +3,7 @@ html { background: url(http://i.imgur.com/b9r5sEL.jpg) bottom center; background-size: cover; } + body,html { margin: 0; padding: 0; diff --git a/02 - JS and CSS Clock/index-FINISHED.html b/02 - JS and CSS Clock/index-FINISHED.html index 37436ed1ca..7449fc52f5 100644 --- a/02 - JS and CSS Clock/index-FINISHED.html +++ b/02 - JS and CSS Clock/index-FINISHED.html @@ -18,9 +18,9 @@ diff --git a/03 - CSS Variables/index-FINISHED.html b/03 - CSS Variables/index-FINISHED.html index c931959a74..2f0d1464ff 100644 --- a/03 - CSS Variables/index-FINISHED.html +++ b/03 - CSS Variables/index-FINISHED.html @@ -55,7 +55,7 @@

Update CSS Variables with JS

} input { - width:100px; + width: 100px; } diff --git a/03 - CSS Variables/index-START.html b/03 - CSS Variables/index-START.html index 8a4f0d556e..6b9b539c09 100644 --- a/03 - CSS Variables/index-START.html +++ b/03 - CSS Variables/index-START.html @@ -40,7 +40,7 @@

Update CSS Variables with JS

} input { - width:100px; + width: 100px; } diff --git a/05 - Flex Panel Gallery/index-FINISHED.html b/05 - Flex Panel Gallery/index-FINISHED.html index f703fed6ae..503695c513 100644 --- a/05 - Flex Panel Gallery/index-FINISHED.html +++ b/05 - Flex Panel Gallery/index-FINISHED.html @@ -9,30 +9,32 @@ diff --git a/05 - Flex Panel Gallery/index-START.html b/05 - Flex Panel Gallery/index-START.html index 0c4838b094..71d1c26f00 100644 --- a/05 - Flex Panel Gallery/index-START.html +++ b/05 - Flex Panel Gallery/index-START.html @@ -9,29 +9,31 @@ diff --git a/06 - Type Ahead/style.css b/06 - Type Ahead/style.css index 65b3164ea7..5203de42a4 100644 --- a/06 - Type Ahead/style.css +++ b/06 - Type Ahead/style.css @@ -1,27 +1,29 @@ html { box-sizing: border-box; - background:#ffc600; - font-family:'helvetica neue'; + background: #ffc600; + font-family: 'helvetica neue'; font-size: 20px; font-weight: 200; } + *, *:before, *:after { box-sizing: inherit; } + input { width: 100%; - padding:20px; + padding: 20px; } .search-form { - max-width:400px; - margin:50px auto; + max-width: 400px; + margin: 50px auto; } input.search { margin: 0; text-align: center; - outline:0; + outline: 0; border: 10px solid #F7F7F7; width: 120%; left: -10%; @@ -33,23 +35,23 @@ box-shadow: 0 0 5px rgba(0, 0, 0, 0.12), inset 0 0 2px rgba(0, 0, 0, 0.19); } - .suggestions { margin: 0; padding: 0; position: relative; - /*perspective:20px;*/ + /*perspective: 20px;*/ } + .suggestions li { - background:white; + background: white; list-style: none; border-bottom: 1px solid #D8D8D8; box-shadow: 0 0 10px rgba(0, 0, 0, 0.14); - margin:0; - padding:20px; - transition:background 0.2s; - display:flex; - justify-content:space-between; + margin: 0; + padding: 20px; + transition: background 0.2s; + display: flex; + justify-content: space-between; text-transform: capitalize; } @@ -57,6 +59,7 @@ transform: perspective(100px) rotateX(3deg) translateY(2px) scale(1.001); background: linear-gradient(to bottom, #ffffff 0%,#EFEFEF 100%); } + .suggestions li:nth-child(odd) { transform: perspective(100px) rotateX(-3deg) translateY(3px); background: linear-gradient(to top, #ffffff 0%,#EFEFEF 100%); @@ -67,5 +70,5 @@ } .hl { - background:#ffc600; - } \ No newline at end of file + background: #ffc600; + } diff --git a/07 - Array Cardio Day 2/index-FINISHED.html b/07 - Array Cardio Day 2/index-FINISHED.html index c8e5b25d3b..24efbf91b0 100644 --- a/07 - Array Cardio Day 2/index-FINISHED.html +++ b/07 - Array Cardio Day 2/index-FINISHED.html @@ -13,7 +13,7 @@ { name: 'Wes', year: 1988 }, { name: 'Kait', year: 1986 }, { name: 'Irv', year: 1970 }, - { name: 'Lux', year: 2015 }, + { name: 'Lux', year: 2015 } ]; const comments = [ diff --git a/08 - Fun with HTML5 Canvas/index-FINISHED.html b/08 - Fun with HTML5 Canvas/index-FINISHED.html index 0791e17d0d..f2c9b120fe 100644 --- a/08 - Fun with HTML5 Canvas/index-FINISHED.html +++ b/08 - Fun with HTML5 Canvas/index-FINISHED.html @@ -65,7 +65,7 @@ diff --git a/08 - Fun with HTML5 Canvas/index-START.html b/08 - Fun with HTML5 Canvas/index-START.html index 37c148df07..9da9b5b3c5 100644 --- a/08 - Fun with HTML5 Canvas/index-START.html +++ b/08 - Fun with HTML5 Canvas/index-START.html @@ -11,7 +11,7 @@ diff --git a/10 - Hold Shift and Check Checkboxes/index-FINISHED.html b/10 - Hold Shift and Check Checkboxes/index-FINISHED.html index 9ccafbcfaa..f2a4a78e43 100644 --- a/10 - Hold Shift and Check Checkboxes/index-FINISHED.html +++ b/10 - Hold Shift and Check Checkboxes/index-FINISHED.html @@ -9,49 +9,47 @@ html { font-family: sans-serif; - background:#ffc600; + background: #ffc600; } .inbox { - max-width:400px; - margin:50px auto; - background:white; - border-radius:5px; - box-shadow:10px 10px 0 rgba(0,0,0,0.1); + max-width: 400px; + margin: 50px auto; + background: white; + border-radius: 5px; + box-shadow: 10px 10px 0 rgba(0,0,0,0.1); } .item { - display:flex; - align-items:center; + display: flex; + align-items: center; border-bottom: 1px solid #F1F1F1; } .item:last-child { - border-bottom:0; + border-bottom: 0; } input:checked + p { - background:#F9F9F9; + background: #F9F9F9; text-decoration: line-through; } input[type="checkbox"] { - margin:20px; + margin: 20px; } p { - margin:0; - padding:20px; - transition:background 0.2s; - flex:1; - font-family:'helvetica neue'; + margin: 0; + padding: 20px; + transition: background 0.2s; + flex: 1; + font-family: 'helvetica neue'; font-size: 20px; font-weight: 200; border-left: 1px solid #D1E2FF; } - -