{"id":6972,"date":"2021-09-23T12:45:47","date_gmt":"2021-09-23T07:15:47","guid":{"rendered":"https:\/\/www.innovationm.com\/blog\/?p=6972"},"modified":"2021-09-23T12:46:36","modified_gmt":"2021-09-23T07:16:36","slug":"css-flexbox","status":"publish","type":"post","link":"https:\/\/www.innovationm.com\/blog\/css-flexbox\/","title":{"rendered":"CSS FLEXBOX"},"content":{"rendered":"<p><span style=\"font-weight: 400;\"><strong>Flexbox<\/strong> &#8211; This term is also called the Flexible-Box which was introduced in 2009. It is a CSS3 Layout that provides a way to arrange items within a container, basically, it is a flexible container with several properties namely width, height position, etc.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you\u2019ve used CSS for a while you have probably been using \u201cthe old block model(for sections), Table (for 2D table data), Inline(for text), Positioned(for the position of an element) in all these methods you have to assign widths whether it\u2019s a percentage or a fixed width and then you use floats to arrange items on the webpage, if you have to show three boxes in a row then by using these methods you have to do factor for the margins and paddings which is somehow a complex way, So to avoid all these we can use flex which is easier to use with zero complexities.<\/span><\/p>\n<p><b>FLEXIBLE BOX MODEL:<\/b><\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-6973\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/blog-1-300x168.png\" alt=\"\" width=\"480\" height=\"269\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/blog-1-300x168.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/blog-1-768x431.png 768w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/blog-1-624x350.png 624w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/blog-1.png 819w\" sizes=\"(max-width: 480px) 100vw, 480px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">This flex model shows the structure of the flex items inside the flex container, with the help of the main axis which is used to move the flex items between main-start to main-end, and similarly for the cross-axis which is vertically aligned.<\/span><\/p>\n<p><strong>FLEX PROPERTIES<\/strong><\/p>\n<p><span style=\"font-weight: 400;\">In Order to use flex inside an HTML document to display the flex layouts, we have to use display property i.e, <\/span><span style=\"font-weight: 400;\">display: flex<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">display: inline-flex<\/span><span style=\"font-weight: 400;\">, however, they both are the same the only difference is inline displays the elements in the same line.<\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-medium wp-image-6974\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/blo-2-300x106.png\" alt=\"\" width=\"300\" height=\"106\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/blo-2-300x106.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/blo-2.png 310w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Let us have a look at how do we add the CSS flex properties inside an HTML webpage.<\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-6975\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/blog-3-300x208.png\" alt=\"\" width=\"500\" height=\"347\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/blog-3-300x208.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/blog-3-768x532.png 768w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/blog-3-624x432.png 624w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/blog-3.png 1001w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">This is the representation of the division tag inside the body of the HTML, and inside it, we have to add the CSS style, now we have to add the flex items inside the flex container,\u00a0<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Flex Direction<\/b><span style=\"font-weight: 400;\">: This property is used to define the flex items from left to right, Right to left, top to bottom to bottom to top.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6976\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-98-300x34.png\" alt=\"\" width=\"397\" height=\"45\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-98-300x34.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-98.png 574w\" sizes=\"(max-width: 397px) 100vw, 397px\" \/><\/p>\n<ul>\n<li><b>Flex-Wrap:<\/b><span style=\"font-weight: 400;\"> This property is used to wrap the items into multiple lines from top to bottom or vice-versa<\/span><b>.<\/b><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6977\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-99-300x37.png\" alt=\"\" width=\"397\" height=\"49\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-99-300x37.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-99.png 566w\" sizes=\"(max-width: 397px) 100vw, 397px\" \/><\/p>\n<ul>\n<li><b>Flex-Basis: <\/b><span style=\"font-weight: 400;\">This property is used to define the default size of the element, it can be keyword (auto, content, etc.) or length (10rem, 2em, 5%, 4px, etc.). The auto keyword means that it takes the width and height according to the main size of the flex container and the width and height of the content keyword are always set according to the content inside the flex items.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6978\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-100-300x32.png\" alt=\"\" width=\"394\" height=\"42\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-100-300x32.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-100.png 583w\" sizes=\"(max-width: 394px) 100vw, 394px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Flex-Grow<\/b><span style=\"font-weight: 400;\">: The flex-items have the ability to grow if needed, and it only takes the numbers, if any flex-item has the value 2 then that item grows twice the others or if every item has the same value then it is by default sets the width according to the flex container.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6979\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-101-300x33.png\" alt=\"\" width=\"391\" height=\"43\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-101-300x33.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-101.png 589w\" sizes=\"(max-width: 391px) 100vw, 391px\" \/><\/p>\n<ul>\n<li><b>Flex and Flex-Shrink:<\/b><span style=\"font-weight: 400;\"> Flex-Shrink has the ability to shrink according to the flex-container with the help of numbers. On the other hand, Flex is used instead of flex-grow, flex-shrink, flex-basis, we can use these all properties inside the flex only, we can also say that flex is the shorthand for all these three.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6980\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-102-300x60.png\" alt=\"\" width=\"390\" height=\"78\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-102-300x60.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-102.png 595w\" sizes=\"(max-width: 390px) 100vw, 390px\" \/><\/p>\n<ul>\n<li><b>Justify-Content<\/b><span style=\"font-weight: 400;\">: This property is used to distribute the extra space of the flex container at the start, end, or in between the flex items towards the main axis.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6981\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-103-300x35.png\" alt=\"\" width=\"386\" height=\"45\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-103-300x35.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-103.png 594w\" sizes=\"(max-width: 386px) 100vw, 386px\" \/><\/p>\n<ul>\n<li><b>Align-Self<\/b><span style=\"font-weight: 400;\">: This property is used for individual flex-item for default alignment.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6982\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-104-300x30.png\" alt=\"\" width=\"390\" height=\"39\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-104-300x30.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-104.png 595w\" sizes=\"(max-width: 390px) 100vw, 390px\" \/><\/p>\n<ul>\n<li><b>Align-Items<\/b><span style=\"font-weight: 400;\">: This property is used for cross-axis to align items inside the flex-container from top to bottom, you can also take this as justify-content for cross-axis<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6983\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-105-300x30.png\" alt=\"\" width=\"390\" height=\"39\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-105-300x30.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-105.png 601w\" sizes=\"(max-width: 390px) 100vw, 390px\" \/><\/p>\n<ul>\n<li><b>Align-Content<\/b><span style=\"font-weight: 400;\">: This is used to distribute the extra space between the flex-items inside the flex-containers towards the cross-axis which is perpendicular to the main axis.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6984\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-106-300x30.png\" alt=\"\" width=\"390\" height=\"39\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-106-300x30.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/Screenshot-106.png 601w\" sizes=\"(max-width: 390px) 100vw, 390px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">So, at the end let us see the representations of Flex properties, through which you will have a neat idea about flex and its properties which are more flexible &amp; more helpful to use for designers.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6985\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/blog-last-300x125.png\" alt=\"\" width=\"406\" height=\"169\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/blog-last-300x125.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/blog-last-1024x426.png 1024w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/blog-last-768x320.png 768w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/blog-last-624x260.png 624w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/blog-last.png 1350w\" sizes=\"(max-width: 406px) 100vw, 406px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Flexbox &#8211; This term is also called the Flexible-Box which was introduced in 2009. It is a CSS3 Layout that provides a way to arrange items within a container, basically, it is a flexible container with several properties namely width, height position, etc. If you\u2019ve used CSS for a while you have probably been using [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6986,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71],"tags":[704,705],"class_list":["post-6972","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mobile","tag-css","tag-flexbox"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>CSS FLEXBOX - InnovationM - Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.innovationm.com\/blog\/css-flexbox\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CSS FLEXBOX - InnovationM - Blog\" \/>\n<meta property=\"og:description\" content=\"Flexbox &#8211; This term is also called the Flexible-Box which was introduced in 2009. It is a CSS3 Layout that provides a way to arrange items within a container, basically, it is a flexible container with several properties namely width, height position, etc. If you\u2019ve used CSS for a while you have probably been using [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.innovationm.com\/blog\/css-flexbox\/\" \/>\n<meta property=\"og:site_name\" content=\"InnovationM - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-23T07:15:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-23T07:16:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/CSS-Flexbox-scaled.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1440\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"InnovationM Admin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InnovationM Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/css-flexbox\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/css-flexbox\\\/\"},\"author\":{\"name\":\"InnovationM Admin\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\"},\"headline\":\"CSS FLEXBOX\",\"datePublished\":\"2021-09-23T07:15:47+00:00\",\"dateModified\":\"2021-09-23T07:16:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/css-flexbox\\\/\"},\"wordCount\":639,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/css-flexbox\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/CSS-Flexbox-scaled.jpg\",\"keywords\":[\"css\",\"flexbox\"],\"articleSection\":[\"Mobile\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/css-flexbox\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/css-flexbox\\\/\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/css-flexbox\\\/\",\"name\":\"CSS FLEXBOX - InnovationM - Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/css-flexbox\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/css-flexbox\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/CSS-Flexbox-scaled.jpg\",\"datePublished\":\"2021-09-23T07:15:47+00:00\",\"dateModified\":\"2021-09-23T07:16:36+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/css-flexbox\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/css-flexbox\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/css-flexbox\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/CSS-Flexbox-scaled.jpg\",\"contentUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/CSS-Flexbox-scaled.jpg\",\"width\":2560,\"height\":1440},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/css-flexbox\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CSS FLEXBOX\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/\",\"name\":\"InnovationM - Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\",\"name\":\"InnovationM Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"caption\":\"InnovationM Admin\"},\"sameAs\":[\"http:\\\/\\\/www.innovationm.com\\\/\"],\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/author\\\/innovationmadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CSS FLEXBOX - InnovationM - Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.innovationm.com\/blog\/css-flexbox\/","og_locale":"en_US","og_type":"article","og_title":"CSS FLEXBOX - InnovationM - Blog","og_description":"Flexbox &#8211; This term is also called the Flexible-Box which was introduced in 2009. It is a CSS3 Layout that provides a way to arrange items within a container, basically, it is a flexible container with several properties namely width, height position, etc. If you\u2019ve used CSS for a while you have probably been using [&hellip;]","og_url":"https:\/\/www.innovationm.com\/blog\/css-flexbox\/","og_site_name":"InnovationM - Blog","article_published_time":"2021-09-23T07:15:47+00:00","article_modified_time":"2021-09-23T07:16:36+00:00","og_image":[{"width":2560,"height":1440,"url":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/CSS-Flexbox-scaled.jpg","type":"image\/jpeg"}],"author":"InnovationM Admin","twitter_misc":{"Written by":"InnovationM Admin","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.innovationm.com\/blog\/css-flexbox\/#article","isPartOf":{"@id":"https:\/\/www.innovationm.com\/blog\/css-flexbox\/"},"author":{"name":"InnovationM Admin","@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed"},"headline":"CSS FLEXBOX","datePublished":"2021-09-23T07:15:47+00:00","dateModified":"2021-09-23T07:16:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.innovationm.com\/blog\/css-flexbox\/"},"wordCount":639,"commentCount":0,"image":{"@id":"https:\/\/www.innovationm.com\/blog\/css-flexbox\/#primaryimage"},"thumbnailUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/CSS-Flexbox-scaled.jpg","keywords":["css","flexbox"],"articleSection":["Mobile"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.innovationm.com\/blog\/css-flexbox\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.innovationm.com\/blog\/css-flexbox\/","url":"https:\/\/www.innovationm.com\/blog\/css-flexbox\/","name":"CSS FLEXBOX - InnovationM - Blog","isPartOf":{"@id":"https:\/\/www.innovationm.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.innovationm.com\/blog\/css-flexbox\/#primaryimage"},"image":{"@id":"https:\/\/www.innovationm.com\/blog\/css-flexbox\/#primaryimage"},"thumbnailUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/CSS-Flexbox-scaled.jpg","datePublished":"2021-09-23T07:15:47+00:00","dateModified":"2021-09-23T07:16:36+00:00","author":{"@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed"},"breadcrumb":{"@id":"https:\/\/www.innovationm.com\/blog\/css-flexbox\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.innovationm.com\/blog\/css-flexbox\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.innovationm.com\/blog\/css-flexbox\/#primaryimage","url":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/CSS-Flexbox-scaled.jpg","contentUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/09\/CSS-Flexbox-scaled.jpg","width":2560,"height":1440},{"@type":"BreadcrumbList","@id":"https:\/\/www.innovationm.com\/blog\/css-flexbox\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.innovationm.com\/blog\/"},{"@type":"ListItem","position":2,"name":"CSS FLEXBOX"}]},{"@type":"WebSite","@id":"https:\/\/www.innovationm.com\/blog\/#website","url":"https:\/\/www.innovationm.com\/blog\/","name":"InnovationM - Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.innovationm.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed","name":"InnovationM Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","caption":"InnovationM Admin"},"sameAs":["http:\/\/www.innovationm.com\/"],"url":"https:\/\/www.innovationm.com\/blog\/author\/innovationmadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts\/6972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/comments?post=6972"}],"version-history":[{"count":0,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts\/6972\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/media\/6986"}],"wp:attachment":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/media?parent=6972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/categories?post=6972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/tags?post=6972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}