It’s 2018 and here’s my grid “system”. Doesn’t seem like much, but it…
🍺 makes the appropriate number of columns based on content
🥃 responds to viewport size
🍸 allows you to set minimum/maximum column size and gap without touching your CSS
It’s 2018 and here’s my grid “system”. Doesn’t seem like much, but it…
🍺 makes the appropriate number of columns based on content
🥃 responds to viewport size
🍸 allows you to set minimum/maximum column size and gap without touching your CSS
🔥 There are several ways to create and append content to the DOM using JavaScript. My favorite is insertAdjacentHTML (and its sister method, insertAdjacentElement). #FrontEndTips
https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentHTML