{"id":68,"date":"2018-04-21T14:09:47","date_gmt":"2018-04-21T14:09:47","guid":{"rendered":"https:\/\/ucsbwebdev.fzilla.com\/?p=68"},"modified":"2018-04-21T14:10:45","modified_gmt":"2018-04-21T14:10:45","slug":"flex-hell-exercise-2","status":"publish","type":"post","link":"https:\/\/ucsbwebdev.fzilla.com\/?p=68","title":{"rendered":"Flex Hell Exercise #2"},"content":{"rendered":"<h2>Let&#8217;s really get down and dirty with flex<\/h2>\n<p>We&#8217;ll need to recreate the following box\/text setup ourselves<\/p>\n<p id=\"vbHezSq\"><img loading=\"lazy\" decoding=\"async\" width=\"722\" height=\"469\" class=\"alignnone size-full wp-image-69 \" src=\"https:\/\/ucsbwebdev.fzilla.com\/wp-content\/uploads\/2018\/04\/img_5adb445e61e4b.png\" alt=\"\" srcset=\"https:\/\/ucsbwebdev.fzilla.com\/wp-content\/uploads\/2018\/04\/img_5adb445e61e4b.png 722w, https:\/\/ucsbwebdev.fzilla.com\/wp-content\/uploads\/2018\/04\/img_5adb445e61e4b-300x195.png 300w\" sizes=\"auto, (max-width: 722px) 100vw, 722px\" \/><\/p>\n<h2>Tips &amp; Tricks<\/h2>\n<ul>\n<li>Break this down into sections!! (tackle each box one at a time, when done collapse)<\/li>\n<li>If there is text that isn&#8217;t surrounded by a border on every side (like\u00a0<strong>one<\/strong>) it&#8217;s going to have elements appear after it, otherwise there should be a whole box for every other text you see<\/li>\n<li>To save time add a class\u00a0<code class=\"EnlighterJSRAW\" data-enlighter-language=\"css\">.flex { display: flex; }<\/code>\u00a0so you can easily add it to each div that has columns<\/li>\n<\/ul>\n<p><a href=\"https:\/\/codepen.io\/agrublev\/pen\/bMVNzK\">Use this CodePen<\/a> and click the\u00a0<strong>Fork\u00a0<\/strong>button to create your own copy!\u00a0 Scroll down for final working code example:<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p class='codepen'  data-height='500' data-theme-id='0' data-slug-hash='QrjwBB' data-default-tab='html,result' data-animations='run' data-editable='' data-embed-version='2'>\nSee the Pen FlexHell by Angel Grablev (@agrublev) on CodePen.<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s really get down and dirty with flex We&#8217;ll need to recreate the following box\/text setup ourselves Tips &amp; Tricks Break this down into sections!! (tackle each box one at a time, when done collapse) If there is text that isn&#8217;t surrounded by a border on every side (like\u00a0one) it&#8217;s going to have elements appear [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-68","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/ucsbwebdev.fzilla.com\/index.php?rest_route=\/wp\/v2\/posts\/68","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ucsbwebdev.fzilla.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ucsbwebdev.fzilla.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ucsbwebdev.fzilla.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ucsbwebdev.fzilla.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=68"}],"version-history":[{"count":2,"href":"https:\/\/ucsbwebdev.fzilla.com\/index.php?rest_route=\/wp\/v2\/posts\/68\/revisions"}],"predecessor-version":[{"id":71,"href":"https:\/\/ucsbwebdev.fzilla.com\/index.php?rest_route=\/wp\/v2\/posts\/68\/revisions\/71"}],"wp:attachment":[{"href":"https:\/\/ucsbwebdev.fzilla.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=68"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ucsbwebdev.fzilla.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=68"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ucsbwebdev.fzilla.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=68"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}