{"id":34553,"date":"2017-11-29T03:01:04","date_gmt":"2017-11-28T17:01:04","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=34553"},"modified":"2017-11-28T19:13:00","modified_gmt":"2017-11-28T09:13:00","slug":"css3-flexbox-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/css3-flexbox-primer-tutorial\/","title":{"rendered":"CSS3 Flexbox Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/flextest.html\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"CSS3 Flexbox Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/\/HTMLCSS\/flextest.jpg\" title=\"CSS3 Flexbox Primer Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">CSS3 Flexbox Primer Tutorial<\/p><\/div>\n<p>Responsive design is an important aspect to modern web design, because of the realities of the online world&#8217;s push to mobile devices, with their smaller device widths.  As the <a target=_blank title='CSS3 Flexbox information from w3schools' href='https:\/\/www.w3schools.com\/css\/css3_flexbox.asp'>W3Schools<\/a> website says &#8230;<\/p>\n<blockquote cite=''><p>\nThe Flexible Box Layout Module, makes it easier to design flexible responsive layout structure without having to use floats or positioning.\n<\/p><\/blockquote>\n<p> &#8230; and, yes, using the <i>display: flex<\/i> property is much more comprehensive a (CSS styling) concept than the <i>float<\/i> usage options web designers often relied on for this time of styling pre-CSS3.<\/p>\n<p>So, today, to try to show you a bit of how this new Flexbox Layout works, we write a proof of concept HTML and CSS and Javascript (source code file) you could call <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/flextest.html_GETME\" title=\"flextest.html\">flextest.html<\/a> offering &#8230;<\/p>\n<ul>\n<li>all the four CSS <i>flex-direction<\/i> property variations (row, row-reverse, column, column-reverse) are offered for user-definement in an HTML select &#8220;dropdown&#8221; element &#8230; and &#8230;<\/li>\n<li>content of the &#8220;parent&#8221; HTML element that Flexbox Layout makes sense to apply to, are also offered for user-definement (with some generic lists, which always reminds me of the genius of Paul Kelly&#8217;s <a target=_blank title='Careless by Paul Kelly lyrics' href='https:\/\/genius.com\/Paul-kelly-careless-lyrics'>Careless<\/a> (whenever I think of lists))<\/li>\n<\/ul>\n<p>Why not try it out with a <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/flextest.html\" title=\"Click picture\">live run<\/a> link yourself.<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d34553' onclick='var dv=document.getElementById(\"d34553\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/css3\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d34553' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Responsive design is an important aspect to modern web design, because of the realities of the online world&#8217;s push to mobile devices, with their smaller device widths. As the W3Schools website says &#8230; The Flexible Box Layout Module, makes it &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/css3-flexbox-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,37],"tags":[281,282,341,576,652,997,1991,1212,1319],"class_list":["post-34553","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","tag-css","tag-css3","tag-display","tag-html","tag-javascript","tag-programming","tag-responsive-design","tag-styling","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/34553"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=34553"}],"version-history":[{"count":2,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/34553\/revisions"}],"predecessor-version":[{"id":34555,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/34553\/revisions\/34555"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=34553"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=34553"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=34553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}