{"id":1912,"date":"2025-03-11T02:27:18","date_gmt":"2025-03-11T02:27:18","guid":{"rendered":"https:\/\/appliedartand.design\/lj\/?p=1912"},"modified":"2025-03-11T02:27:18","modified_gmt":"2025-03-11T02:27:18","slug":"flexbox-torture","status":"publish","type":"post","link":"https:\/\/appliedartand.design\/lj\/2025\/03\/11\/flexbox-torture\/","title":{"rendered":"Flexbox Torture"},"content":{"rendered":"\n<p class=\"has-bright-blue-color has-text-color has-link-color wp-elements-c8562ff7e7c86c6ce6e6701efcd30602\">You would think learning would be fun. But it turns out<\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"has-bright-blue-color has-text-color has-link-color wp-elements-754ff907eed1e36dfa06817944fbbe06\">sometimes it&#8217;s just a massive, head splitting, torture session. But studies have shown that if the student continues to try, and fail, then try again, that sometimes they will eventually figure it out.  <\/p>\n\n\n\n<p class=\"has-bright-blue-color has-text-color has-link-color wp-elements-fb420aff3850cc03ed037c0914d2672f\">This week in this students adventures, she&#8217;s almost learned how to do flexbox and grid. It&#8217;s still a joke when put together but getting closer with each try. But luckily there is couple of months until the end of the semester!<\/p>\n\n\n\n<p class=\"has-bright-blue-color has-text-color has-link-color wp-elements-392ec11bbf105b3f4407b593a5a73a7c\"><strong>Flexbox<\/strong> (Flexible Box Layout) is a CSS layout model designed for arranging items in a one-dimensional space\u2014either <strong>row-wise or column-wise<\/strong>. It provides efficient alignment, spacing, and distribution of elements, making it ideal for <strong>dynamic, flexible UI designs<\/strong>. Common properties include <code>justify-content<\/code>, <code>align-items<\/code>, and <code>flex-wrap<\/code>.<\/p>\n\n\n\n<p class=\"has-bright-blue-color has-text-color has-link-color wp-elements-5219f6bfe75f282b0fcfb3516ab4c414\"><strong>Grid<\/strong> (CSS Grid Layout) is a powerful <strong>two-dimensional layout system<\/strong> that allows web designers to define rows and columns explicitly. It provides <strong>precise control<\/strong> over placement and alignment, making it ideal for <strong>complex layouts<\/strong>. Common properties include <code>grid-template-columns<\/code>, <code>grid-template-rows<\/code>, and <code>gap<\/code>.<\/p>\n\n\n\n<p class=\"has-bright-blue-color has-text-color has-link-color wp-elements-3d2a209d60b03043311067a081f58d57\">Flexbox is best for <strong>linear, flexible layouts<\/strong>, while Grid is ideal for <strong>structured, grid-based layouts<\/strong>.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You would think learning would be fun. But it turns out<\/p>\n","protected":false},"author":96,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[240],"tags":[4,23,22,18],"class_list":["post-1912","post","type-post","status-publish","format-standard","hentry","category-aad-086-sp25","tag-css","tag-css-layout","tag-flexbox","tag-web-design"],"_links":{"self":[{"href":"https:\/\/appliedartand.design\/lj\/wp-json\/wp\/v2\/posts\/1912","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/appliedartand.design\/lj\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/appliedartand.design\/lj\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/appliedartand.design\/lj\/wp-json\/wp\/v2\/users\/96"}],"replies":[{"embeddable":true,"href":"https:\/\/appliedartand.design\/lj\/wp-json\/wp\/v2\/comments?post=1912"}],"version-history":[{"count":1,"href":"https:\/\/appliedartand.design\/lj\/wp-json\/wp\/v2\/posts\/1912\/revisions"}],"predecessor-version":[{"id":1913,"href":"https:\/\/appliedartand.design\/lj\/wp-json\/wp\/v2\/posts\/1912\/revisions\/1913"}],"wp:attachment":[{"href":"https:\/\/appliedartand.design\/lj\/wp-json\/wp\/v2\/media?parent=1912"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/appliedartand.design\/lj\/wp-json\/wp\/v2\/categories?post=1912"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/appliedartand.design\/lj\/wp-json\/wp\/v2\/tags?post=1912"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}