{"id":194,"date":"2019-03-05T11:45:57","date_gmt":"2019-03-05T11:45:57","guid":{"rendered":"https:\/\/appliedartand.design\/lj\/?p=194"},"modified":"2019-08-19T19:33:36","modified_gmt":"2019-08-19T19:33:36","slug":"positioning-float-flex","status":"publish","type":"post","link":"https:\/\/appliedartand.design\/lj\/2019\/03\/05\/positioning-float-flex\/","title":{"rendered":"Positioning, Float and Flex"},"content":{"rendered":"\n<p style=\"color:#0e9613\" class=\"has-text-color\">Thinking of hanging a picture on the wall,  I could hear the voices &#8220;Move it to the left&#8221; or &#8220;Move it to the right&#8221; or &#8220;move it to the above&#8221;  and so on.  During the design process, we sometimes need to put one element on a certain position. <\/p>\n\n\n\n<!--more-->\n\n\n\n<p style=\"color:#0e9613\" class=\"has-text-color\">How to position the element is very tricky sometimes as we might need put a minus sign in front of a number.  We&#8217;ve learned where we should put &#8220;relative&#8221; or  &#8220;absolute&#8221; when positioning an element.  <em>My fatal typing mistake made the elements hanging there.  <\/em>By the way, &#8220;Position: Fixed&#8221; is also a great thing to learn. I really like this feature.<\/p>\n\n\n\n<p style=\"color:#0e9613\" class=\"has-text-color\">To align block elements with Floats rather than Flex, it is very complicated. Flex make things easier.  I need to practice more with &#8220;justify-content&#8221; and &#8220;display: column&#8221; and so on.  Wish to learn more about Flex properties including &#8220;Flex-shrink&#8221; and &#8220;Flex grow&#8221; etc.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Thinking of hanging a picture on the wall, I could hear the voices &#8220;Move it to the left&#8221; or &#8220;Move it to the right&#8221; or &#8220;move it to the above&#8221; and so on. During the design process, we sometimes need to put one element on a certain position.<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[79],"tags":[30,19,20,28,29],"class_list":["post-194","post","type-post","status-publish","format-standard","hentry","category-aad-086-sp19","tag-absolute-fixed","tag-flex","tag-float","tag-positioning","tag-relative"],"_links":{"self":[{"href":"https:\/\/appliedartand.design\/lj\/wp-json\/wp\/v2\/posts\/194","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\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/appliedartand.design\/lj\/wp-json\/wp\/v2\/comments?post=194"}],"version-history":[{"count":4,"href":"https:\/\/appliedartand.design\/lj\/wp-json\/wp\/v2\/posts\/194\/revisions"}],"predecessor-version":[{"id":199,"href":"https:\/\/appliedartand.design\/lj\/wp-json\/wp\/v2\/posts\/194\/revisions\/199"}],"wp:attachment":[{"href":"https:\/\/appliedartand.design\/lj\/wp-json\/wp\/v2\/media?parent=194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/appliedartand.design\/lj\/wp-json\/wp\/v2\/categories?post=194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/appliedartand.design\/lj\/wp-json\/wp\/v2\/tags?post=194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}