From cd9f6e206549a5a33037694dd935bcb0c1209657 Mon Sep 17 00:00:00 2001 From: 30secondsofcode <30secondsofcode@gmail.com> Date: Thu, 21 Nov 2019 20:11:03 +0000 Subject: [PATCH] Travis build: 574 --- README.md | 6 +- snippet_data/snippetList.json | 8 +- snippet_data/snippets.json | 190 +++++++++++++++++----------------- 3 files changed, 101 insertions(+), 103 deletions(-) diff --git a/README.md b/README.md index 86c39f8df..b75eb6db4 100644 --- a/README.md +++ b/README.md @@ -839,8 +839,6 @@ html { Ensures that an element self-clears its children. -###### Note: This is only useful if you are still using float to build layouts. Please consider using a modern approach with flexbox layout or grid layout. - ```html
float a
@@ -869,6 +867,8 @@ Ensures that an element self-clears its children. 2. `content: ''` allows the pseudo-element to affect layout. 3. `clear: both` indicates that the left, right or both sides of the element cannot be adjacent to earlier floated elements within the same block formatting context. +_Note: This is only useful if you are still using `float` to build layouts. Please consider using a modern approach with flexbox layout or grid layout._ + #### Browser support @@ -1584,8 +1584,6 @@ CSS variables that contain specific values to be reused throughout a document. Creates a text container with a triangle at the top. -#### HTML - ```html
Border with top triangle diff --git a/snippet_data/snippetList.json b/snippet_data/snippetList.json index d28a27fbc..12ee6f13a 100644 --- a/snippet_data/snippetList.json +++ b/snippet_data/snippetList.json @@ -5,14 +5,14 @@ "type": "snippetListing", "title": "Border with top triangle", "attributes": { - "text": "Creates a text container with a triangle at the top.\n\n#### HTML\n\n", + "text": "Creates a text container with a triangle at the top.\n\n", "tags": [ "visual", "beginner" ] }, "meta": { - "hash": "4fed80c83d37457d5ce111ee5c3272945c203319ccc4f5fe4355c359840f8628" + "hash": "f052c85dc45dcf8bf4d38c714acece6c6c7ffbd483b3ba76815564da79313fa4" } }, { @@ -90,13 +90,13 @@ "type": "snippetListing", "title": "Clearfix", "attributes": { - "text": "Ensures that an element self-clears its children.\n\n###### Note: This is only useful if you are still using float to build layouts. Please consider using a modern approach with flexbox layout or grid layout.\n\n", + "text": "Ensures that an element self-clears its children.\n\n", "tags": [ "layout" ] }, "meta": { - "hash": "55fe4fad743f778816b5923c862484cfa84efd353a4d2a3efe04893db6f5863f" + "hash": "8a1beb75b1efe89f11f1bac944a836feac26604d5bc06bdb026dd0bd6650ad95" } }, { diff --git a/snippet_data/snippets.json b/snippet_data/snippets.json index 64844fa20..d79f24a8f 100644 --- a/snippet_data/snippets.json +++ b/snippet_data/snippets.json @@ -6,7 +6,7 @@ "type": "snippet", "attributes": { "fileName": "border-with-top-triangle.md", - "text": "Creates a text container with a triangle at the top.\n\n#### HTML\n\n", + "text": "Creates a text container with a triangle at the top.\n\n", "explanation": "\n\n- Use the `:before` and `:after` pseudo-elements to create two triangles. \n- The color of the `:before` triangle should be the same as the container's border color. \n- The color of the `:after` triangle should be the same as the container background color.\n- The border width of the `:before` triangle should be `1px` wider than the `:after` triangle, in order to act as the border.\n- The `:after` triangle should be `1px` to the right of the `:before` triangle to allow for its left border to be shown.\n\n", "browserSupport": { "text": "\n", @@ -24,10 +24,10 @@ ] }, "meta": { - "hash": "4fed80c83d37457d5ce111ee5c3272945c203319ccc4f5fe4355c359840f8628", + "hash": "f052c85dc45dcf8bf4d38c714acece6c6c7ffbd483b3ba76815564da79313fa4", "firstSeen": "1547806723", - "lastUpdated": "1569668086", - "updateCount": 3 + "lastUpdated": "1574366685", + "updateCount": 4 } }, { @@ -54,8 +54,8 @@ }, "meta": { "hash": "2934b3aa733591f4964a7c8780f3ec7b273e4bd6a38fce6e0da2a5dd2dd9959f", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -83,8 +83,8 @@ }, "meta": { "hash": "d4e635bb76a083266e08723f25c3db981b39001ea5d513ce65570fe0099eb6b0", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -112,8 +112,8 @@ }, "meta": { "hash": "ff6401cc784b92a9672e74968719c029de224c29fcfdc3eaeaa764274108f648", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -141,8 +141,8 @@ }, "meta": { "hash": "8165e64d1bca7ae3bb0c990712023720dff55c2f6194b557a131901d528be4b7", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -170,8 +170,8 @@ }, "meta": { "hash": "60ac5a7cb7e2c24c936b267ac74d649052c9aaa80810278720b5b5a14fee1562", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -181,8 +181,8 @@ "type": "snippet", "attributes": { "fileName": "clearfix.md", - "text": "Ensures that an element self-clears its children.\n\n###### Note: This is only useful if you are still using float to build layouts. Please consider using a modern approach with flexbox layout or grid layout.\n\n", - "explanation": "\n\n1. `.clearfix::after` defines a pseudo-element.\n2. `content: ''` allows the pseudo-element to affect layout.\n3. `clear: both` indicates that the left, right or both sides of the element cannot be adjacent to earlier floated elements within the same block formatting context.\n\n", + "text": "Ensures that an element self-clears its children.\n\n", + "explanation": "\n\n1. `.clearfix::after` defines a pseudo-element.\n2. `content: ''` allows the pseudo-element to affect layout.\n3. `clear: both` indicates that the left, right or both sides of the element cannot be adjacent to earlier floated elements within the same block formatting context.\n\n_Note: This is only useful if you are still using `float` to build layouts. Please consider using a modern approach with flexbox layout or grid layout._\n\n", "browserSupport": { "text": "\n\n⚠️ For this snippet to work properly you need to ensure that there are no non-floating children in the container and that there are no tall floats before the clearfixed container but in the same formatting context (e.g. floated columns).\n", "supportPercentage": 100 @@ -198,10 +198,10 @@ ] }, "meta": { - "hash": "55fe4fad743f778816b5923c862484cfa84efd353a4d2a3efe04893db6f5863f", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", - "updateCount": 2 + "hash": "8a1beb75b1efe89f11f1bac944a836feac26604d5bc06bdb026dd0bd6650ad95", + "firstSeen": "1567098755", + "lastUpdated": "1574366733", + "updateCount": 3 } }, { @@ -228,8 +228,8 @@ }, "meta": { "hash": "931815035291ba0e6de497d7296fc75e207117c9ff0607fd646f01da53793929", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -258,8 +258,8 @@ }, "meta": { "hash": "7c572c339c0767840bd0fd6f5daab357a8da070988c621e341bc5ce78d0f798e", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -287,8 +287,8 @@ }, "meta": { "hash": "e5544c894ee3cd4ce3352d10331e2f321c6d30b4a0a667434286c6d4951c3b0a", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -316,8 +316,8 @@ }, "meta": { "hash": "bf835c2f1d038e6b08d221c9fef85933757a80c67de555797c6bc63ff7035ae8", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -345,8 +345,8 @@ }, "meta": { "hash": "7a0d1c46beceb336265b2ca27a4f3cf25ad332a5cd2e8c0b692a43ce5b329fef", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -374,8 +374,8 @@ }, "meta": { "hash": "02f6472568975f5897a84f8846d97f8561fc5334ddafac53e73adb52ccda5f29", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -403,8 +403,8 @@ }, "meta": { "hash": "83c7806b0be2e50ca34f313912f9cb90682852790e6d0105a635f781212fa5b1", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -432,8 +432,8 @@ }, "meta": { "hash": "4e7f5ce479955deb9830ca4a72fc8260c8863aa65d6f67f15e88a3f923c10c3a", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -491,8 +491,8 @@ }, "meta": { "hash": "738fae9ee6d0a9fe84cdbdd632a93f651f8377ec7e9f647e1031207d99b819a5", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -520,8 +520,8 @@ }, "meta": { "hash": "94ec3c4e6b02374b61367e8cf4edcb9532bb7297673a28acaee0ad3264adfa3d", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -549,8 +549,8 @@ }, "meta": { "hash": "68da5c2e7399979db3aeb1022d13b0490fc71d55d068597544954706c7027bef", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -578,8 +578,8 @@ }, "meta": { "hash": "86c8c53be49e82365f6d6f54a03b55d9a8888ccc85504fe0480499b0e68c7f5b", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -608,8 +608,8 @@ }, "meta": { "hash": "5d09d5e54b7436f047db61223cff15dce2f17f6cffe5e71e0f9061337de3068e", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -637,8 +637,8 @@ }, "meta": { "hash": "a2bf8cfa4de368cfb10d013b6bbb87c598e0cccacfe816972da4ac668c6abc1a", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -667,8 +667,8 @@ }, "meta": { "hash": "a12b394af0b2df2f7fa6bae2cbbe3a8b01ba74510991dcfe3952b8bd9c0a5a41", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -696,7 +696,7 @@ }, "meta": { "hash": "23cab923692f5e3250be38b3c970dc11f3bab34159812aaf979ea09bce441c30", - "firstSeen": "1567098430", + "firstSeen": "1567098755", "lastUpdated": "1567144393", "updateCount": 3 } @@ -725,8 +725,8 @@ }, "meta": { "hash": "0515f03b1505eafa21e0d0d7377facbe4aaa9159996906dd4ed2857ee137073a", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -754,8 +754,8 @@ }, "meta": { "hash": "9620da48fb82b48a7c6b681854707b622a18c158f2db88c816e3b9c0d9b04523", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -783,8 +783,8 @@ }, "meta": { "hash": "f6fbb076581e63ab9187ca63d8620f88de19d7a78c46f9ded903271461a445bf", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -812,8 +812,8 @@ }, "meta": { "hash": "cd26d0cd1831474afdc784b4459b60062243e2d390975e94cd7d51fa776c603f", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -871,8 +871,8 @@ }, "meta": { "hash": "bff0b57d24dac06ae6a6d71a8d0d628ec0b97760be0cfda66791191957075d73", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -900,8 +900,8 @@ }, "meta": { "hash": "4136aff34ae1b8bf6b525c08881a12c43e9ce7265e864c09ea25fa40e8d86396", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -929,8 +929,8 @@ }, "meta": { "hash": "6e8a53b0b69ab05f54c199f42944746c0e3331712f69a8dc72709eda16428424", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -958,8 +958,8 @@ }, "meta": { "hash": "2f925cc190a9744532de97bb4add65e53cc0b2f3833760f4e7263f5df17cfad5", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -1018,7 +1018,7 @@ }, "meta": { "hash": "97fbac82b526cafe6e48233dda46d0bb87fde7a52027774048b90c9c14818395", - "firstSeen": "1567098430", + "firstSeen": "1567098755", "lastUpdated": "1567151937", "updateCount": 3 } @@ -1077,7 +1077,7 @@ }, "meta": { "hash": "847dbaae8802781fa073cc92c6891ea0a0c39752f95266fcb4db7812dc78640e", - "firstSeen": "1567098430", + "firstSeen": "1567098755", "lastUpdated": "1569415890", "updateCount": 3 } @@ -1107,7 +1107,7 @@ }, "meta": { "hash": "a718446c91f49c73e68bc4f317911ff03f898ac8efe0e832ca1f803709107820", - "firstSeen": "1567098430", + "firstSeen": "1567098755", "lastUpdated": "1571634867", "updateCount": 3 } @@ -1136,7 +1136,7 @@ }, "meta": { "hash": "e25bdb353dc5da5c1c359f91769d85d0b3b0a58ff7085041603e4e685b380ef7", - "firstSeen": "1567098430", + "firstSeen": "1567098755", "lastUpdated": "1567155517", "updateCount": 3 } @@ -1165,8 +1165,8 @@ }, "meta": { "hash": "46d1f9e1a05328d86ffda0dbea7dc60eae44c319eb430632ef384d2f3e7e6d44", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -1194,8 +1194,8 @@ }, "meta": { "hash": "fb3a96cbbb4d59af2566f3d0729c13478a81a572b25a8dd1696e2a67dd8fff79", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -1253,8 +1253,8 @@ }, "meta": { "hash": "f9542b2db5cd49f09e53b3af8348c58c973244bdeede87857e49660c6e713d65", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -1282,8 +1282,8 @@ }, "meta": { "hash": "0b86c444f4d15709a99d1e32c651e9530a294258ba32784d998a56c6f14198b1", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -1311,8 +1311,8 @@ }, "meta": { "hash": "35bfb52929dcbd21c120d555c9d3382154f47b661d31722ffb3d21281021bba3", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -1340,8 +1340,8 @@ }, "meta": { "hash": "97b037f3f463b8cf7de0cc12a607c540ffe8a4869323a4cc17c66eebbc92d612", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -1400,8 +1400,8 @@ }, "meta": { "hash": "e29182514bd83550705267a43d21eec8886ed011c6259f2b3efec9862541f90e", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -1429,8 +1429,8 @@ }, "meta": { "hash": "9ee4bb8713d24b9e6f5367eb05645c6e41d205b120b4d06a9a949984c7cd73b0", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -1488,8 +1488,8 @@ }, "meta": { "hash": "357daaf44bab240518a3c9bdd34a1e8702fab3358171e30f633b7a7f423b9884", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -1517,8 +1517,8 @@ }, "meta": { "hash": "a30287149e833b454deea446359d51554640ad3a57cd2460d8519c376077b8b4", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -1546,8 +1546,8 @@ }, "meta": { "hash": "4ce872446c7950c9450e56ab2251c7cfcd473a1c9b2a64baa7c9d6b029264796", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }, @@ -1575,8 +1575,8 @@ }, "meta": { "hash": "43bc0cd7776468f3b74791017349ef278921c8ded7ba0bd7788d2b01bdb68c7a", - "firstSeen": "1567098430", - "lastUpdated": "1567098430", + "firstSeen": "1567098755", + "lastUpdated": "1567098755", "updateCount": 2 } }