{"id":58053,"date":"2023-08-21T09:26:19","date_gmt":"2023-08-21T03:56:19","guid":{"rendered":"https:\/\/tothenewco.pro\/blog\/?p=58053"},"modified":"2023-08-29T09:31:33","modified_gmt":"2023-08-29T04:01:33","slug":"exploring-flex-box-property-in-css","status":"publish","type":"post","link":"https:\/\/tothenewco.pro\/blog\/exploring-flex-box-property-in-css\/","title":{"rendered":"EXPLORING FLEX BOX PROPERTY IN CSS"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Flex is the value of the css display property. By using a flex in the parent, the child elements are automatically shaped like a line or column with their respective initial width and height.<\/span><\/p>\n<h2><b>Properties of Flex Container<\/b><b><\/b><\/h2>\n<h3><b>1.Display Flex:<\/b><\/h3>\n<p><span style=\"font-weight: 400;\"> CSS Display property can have value flex or inline-flex. By using display flex or inline-flex to parent container, the children automatically enable flex content.<\/span><br \/>\n<strong>Display Box:<\/strong><\/p>\n<pre><span style=\"font-weight: 400;\">.container {<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u00a0\u00a0display: block;<\/span>\r\n\r\n<span style=\"font-weight: 400;\">}<\/span><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58029\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/1-1-243x300.png\" alt=\"Blog image\" width=\"243\" height=\"300\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/1-1-243x300.png 243w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/1-1.png 288w\" sizes=\"auto, (max-width: 243px) 100vw, 243px\" \/><\/p>\n<p><strong><i>Display Flex:<\/i><\/strong><\/p>\n<pre><span style=\"font-weight: 400;\">.container {<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u00a0\u00a0display: flex; \/* or inline-flex *\/<\/span>\r\n\r\n<span style=\"font-weight: 400;\">}<\/span><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58030\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/2-1-300x78.png\" alt=\"Blog image\" width=\"300\" height=\"78\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/2-1-300x78.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/2-1.png 457w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><br \/>\n<b><\/b><\/p>\n<h3><b>2. Flex Direction:<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">The Flex Direction property is used to change the direction of flex items. By default, the flex-direction is row.\u00a0 Flex box is a one-way layout concept. Items are usually arranged in horizontal or vertical rows.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Flex Directions values are as follows:<\/span><\/p>\n<ul>\n<li><b>row ( default):<\/b><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58030\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/2-1-300x78.png\" alt=\"Blog image\" width=\"300\" height=\"78\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/2-1-300x78.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/2-1.png 457w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<ul>\n<li><b>row-reverse:<\/b><\/li>\n<\/ul>\n<p><b><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58031\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/3-1-300x65.png\" alt=\"Blog image\" width=\"300\" height=\"65\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/3-1-300x65.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/3-1.png 509w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/b><br \/>\n<b><\/b><\/p>\n<ul>\n<li><b>column:<\/b><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58029\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/1-1-243x300.png\" alt=\"Blog image\" width=\"243\" height=\"300\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/1-1-243x300.png 243w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/1-1.png 288w\" sizes=\"auto, (max-width: 243px) 100vw, 243px\" \/><\/p>\n<ul>\n<li><b>column-reverse:<\/b><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58032\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/4-1-141x300.png\" alt=\"Blog image\" width=\"141\" height=\"300\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/4-1-141x300.png 141w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/4-1.png 189w\" sizes=\"auto, (max-width: 141px) 100vw, 141px\" \/><\/p>\n<h3><b>3. Flex wrap:<\/b><\/h3>\n<p>In this, flex items try to fit on one line.<\/p>\n<p><span style=\"font-weight: 400;\">Flex wrap values are as follows:<\/span><\/p>\n<ul>\n<li><b>nowrap ( default):<\/b><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58030\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/2-1-300x78.png\" alt=\"Blog image\" width=\"300\" height=\"78\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/2-1-300x78.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/2-1.png 457w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<ul>\n<li><b>wrap ( wrap to next line):<\/b><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58033\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/5-1-300x191.png\" alt=\"Blog image\" width=\"300\" height=\"191\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/5-1-300x192.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/5-1.png 302w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<ul>\n<li><b>wrap-reverse ( multiple lines but in reverse from bottom to top ):<\/b><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-58034\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/6-1.png\" alt=\"Blog image\" width=\"296\" height=\"194\" \/><\/p>\n<h3><b>4. Justify Content:<\/b><\/h3>\n<p>This defines the relationship along the major axis. It helps to allocate additional free space when all the flex items in the row are fixed or adjustable but have reached their maximum size.<\/p>\n<p><span style=\"font-weight: 400;\">Justify Content values are as follows:<\/span><\/p>\n<ul>\n<li><b>flex-start (default) \/ start:<\/b><span style=\"font-weight: 400;\"> Items are packed toward the start of the flex-direction.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58030\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/2-1-300x78.png\" alt=\"Blog image\" width=\"300\" height=\"78\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/2-1-300x78.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/2-1.png 457w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<ul>\n<li><b>Flex-end \/ end:<\/b><span style=\"font-weight: 400;\"> Items are packed toward the end of the flex-direction.<\/span><\/li>\n<\/ul>\n<p><b><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58035\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/7-300x61.png\" alt=\"Blog image\" width=\"300\" height=\"61\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/7-300x61.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/7.png 577w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/b><br \/>\n<b><\/b><\/p>\n<ul>\n<li><b>center:<\/b><span style=\"font-weight: 400;\"> Items are centered along the line.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58036\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/8-300x49.png\" alt=\"Blog image\" width=\"300\" height=\"49\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/8-300x49.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/8-624x101.png 624w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/8.png 677w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<ul>\n<li><b>space-between:<\/b><span style=\"font-weight: 400;\"> Items are evenly distributed in the line; the first item is on the start line, and the last item is on the end line.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58037\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/9-300x62.png\" alt=\"Blog image\" width=\"300\" height=\"62\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/9-300x62.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/9.png 597w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<ul>\n<li><b>space-around:<\/b><span style=\"font-weight: 400;\"> Items are evenly spaced in rows with equal space around them. Remember that space is not equal because all objects have equal dimensions.\u00a0<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58038\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/10-300x60.png\" alt=\"Blog image\" width=\"300\" height=\"60\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/10-300x60.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/10.png 594w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<ul>\n<li><b>space-evenly:<\/b><span style=\"font-weight: 400;\"> Items are distributed so that the spacing between any two items (and the space to the edges) is equal.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58039\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/11-300x59.png\" alt=\"Blog image\" width=\"300\" height=\"59\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/11-300x59.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/11.png 596w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">You can combine these results with two additional keywords: secure and unsafe.\u00a0<\/span><\/p>\n<h3><b>5. Align Items: <\/b><\/h3>\n<p><span style=\"font-weight: 400;\">This defines the default behavior for how flex items are laid out along the cross-axis on the current line.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Align item values are as follows:<\/span><\/p>\n<ul>\n<li><b>stretch (default): <\/b><span style=\"font-weight: 400;\">Stretch to fill the container (still respect min-width\/max-width).<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58040\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/12-300x115.png\" alt=\"Blog image\" width=\"300\" height=\"115\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/12-300x115.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/12.png 476w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<ul>\n<li><b>flex-start \/ start \/ self-start:<\/b><span style=\"font-weight: 400;\"> Items are placed at the start of the cross-axis. The difference between these is subtle and is about respecting the flex-direction rules or the writing-mode rules.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58040\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/12-300x115.png\" alt=\"Blog image\" width=\"300\" height=\"115\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/12-300x115.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/12.png 476w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<ul>\n<li><b>flex-end \/ end \/ self-end: <\/b><span style=\"font-weight: 400;\">Items are placed at the end of the cross-axis. The difference, again is subtle and is about respecting flex-direction rules vs. writing-mode rules.<\/span><\/li>\n<\/ul>\n<p><b><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58041\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/13-300x109.png\" alt=\"Blog image\" width=\"300\" height=\"109\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/13-300x109.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/13.png 503w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/b><br \/>\n<b><\/b><\/p>\n<ul>\n<li><b>center:<\/b><span style=\"font-weight: 400;\"> items are centered in the cross-axis.<\/span><\/li>\n<\/ul>\n<p><b><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58042\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/14-300x111.png\" alt=\"Blog image\" width=\"300\" height=\"111\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/14-300x111.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/14.png 497w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/b><br \/>\n<b><\/b><\/p>\n<ul>\n<li><b>baseline: <\/b><span style=\"font-weight: 400;\">Items are aligned such as their baselines align.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58040\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/12-300x115.png\" alt=\"Blog image\" width=\"300\" height=\"115\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/12-300x115.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/12.png 476w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<h2><b>Properties of flex items ( child of container)<\/b><\/h2>\n<h3><b>1. Order:<\/b><\/h3>\n<h4><span style=\"font-weight: 400;\">The order property of flex items sets the order in which they appear in the parent container. The default order is 0. The value of order is always a number. order can be positive or negative.<\/span><\/h4>\n<pre><span style=\"font-weight: 400;\">.item {<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u00a0\u00a0order: 5; \/* default is 0 *\/<\/span>\r\n\r\n<span style=\"font-weight: 400;\">}<\/span><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58044\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/16-300x69.png\" alt=\"Blog image\" width=\"300\" height=\"69\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/16-300x69.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/16.png 494w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58045\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/17-300x76.png\" alt=\"Blog image\" width=\"300\" height=\"76\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/17-300x76.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/17.png 431w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<h3><b>2. Flex grow: <\/b><\/h3>\n<h4><span style=\"font-weight: 400;\">This defines the elastic material&#8217;s ability to grow when needed. It accepts worthlessness as a measure. Determines the area in the flexbox.<\/span><\/h4>\n<p><b>Negative numbers are invalid.<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Flex grow values are as follows:<\/span><\/p>\n<ul>\n<li><b>0:<\/b><span style=\"font-weight: 400;\"> This is the default value of flex-grow.<\/span><\/li>\n<\/ul>\n<p><b><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58045\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/17-300x76.png\" alt=\"Blog image\" width=\"300\" height=\"76\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/17-300x76.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/17.png 431w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/b><br \/>\n<b><\/b><\/p>\n<ul>\n<li><b>Number:<\/b><span style=\"font-weight: 400;\"> Number means the width of the flex item will be distributed equally to all items.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58046\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/18-300x54.png\" alt=\"Blog image\" width=\"300\" height=\"54\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/18-300x54.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/18.png 591w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<h3><b>3. Flex Shrink:<\/b><\/h3>\n<p>This defines the ability for a flex item to shrink if necessary. 1 is the default value of flex-shrink. The value can be any positive value or 0. Flex-shrink 0 means the flex item will not shrink.<\/p>\n<p><span style=\"font-weight: 400;\">Flex shrink values are as follows:<\/span><\/p>\n<ul>\n<li><b>1 (default):<\/b><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58047\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/19-300x55.png\" alt=\"Blog image\" width=\"300\" height=\"55\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/19-300x55.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/19.png 590w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<ul>\n<li><b>0<\/b><span style=\"font-weight: 400;\">: In the below example, we can see that the middle element got shrunk. Rest all remains the same.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58048\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/20px-300x59.png\" alt=\"Blog image\" width=\"300\" height=\"59\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/20px-300x59.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/20px.png 596w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<h3><strong>4. Flex Basis:<\/strong><\/h3>\n<p>This property of flex items defines the initial main size ( width or height ) of flex items. The flex-basis value could be auto, %, px, em, or rem. The default value of flex-basis is 0.<\/p>\n<ul>\n<li><b>flex-basis: <\/b><span style=\"font-weight: 400;\">auto will apply automatic or equal width to flex items. If flex items are two, then it&#8217;s 50%, if flex items are 3, then 33.33%; and if it&#8217;s 4, then 25% each.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58049\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/21-300x57.png\" alt=\"Blog image\" width=\"300\" height=\"57\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/21-300x57.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/21.png 593w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<h4><b>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/b><b><\/b><\/h4>\n<h3>5. Flex:<\/h3>\n<h4><span style=\"font-weight: 400;\">Flex is the shorthand for flex-grow, flex-shrink, and flex-basis. We use <\/span><span style=\"font-weight: 400;\">0 1 0% as the\u00a0<\/span><span style=\"font-weight: 400;\">default value of flex.\u00a0<\/span><\/h4>\n<p><span style=\"font-weight: 400;\">Always prefer flex shorthand property for flex-grow, flex-shrink, and flex-basis for simplicity.<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">.item {<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u00a0\u00a0flex: none | [ &lt;'flex-grow'&gt; &lt;'flex-shrink'&gt;? || &lt;'flex-basis'&gt; ]<\/span>\r\n\r\n<span style=\"font-weight: 400;\">}<\/span><\/pre>\n<h3><strong>6. Align self:<\/strong><\/h3>\n<p>This allows the default alignment (or the one specified by align-items) to be overridden for individual flex items.<\/p>\n<p><span style=\"font-weight: 400;\">Align self values are as follows:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">auto<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">flex-start<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">center<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">flex-end<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">baseline<\/span><\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58050\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/22-300x98.png\" alt=\"Blog image\" width=\"300\" height=\"98\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/22-300x98.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/22.png 412w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58051\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/23-300x263.png\" alt=\"Blog image\" width=\"300\" height=\"263\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/23-300x263.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/23.png 435w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-58052\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/24-300x147.png\" alt=\"Blog image\" width=\"300\" height=\"147\" srcset=\"https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/24-300x147.png 300w, https:\/\/tothenewco.pro\/blog\/wp-content\/uploads\/2023\/08\/24.png 593w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<h4>Conclusion:<\/h4>\n<p><span style=\"font-weight: 400;\">Flexbox is a CSS display-type design. It helps us to craft CSS layouts quite easily. It has a great responsive design. It controls the position, spacing, and size of elements with respect to their parents. It has bundles of properties that define formatting context to control layout.<br \/>\nPlease refer to our blogs for more insightful content.\u00a0<\/span><\/p>\n<div class=\"ap-custom-wrapper\"><\/div><!--ap-custom-wrapper-->","protected":false},"excerpt":{"rendered":"<p>Flex is the value of the css display property. By using a flex in the parent, the child elements are automatically shaped like a line or column with their respective initial width and height. Properties of Flex Container 1.Display Flex: CSS Display property can have value flex or inline-flex. By using display flex or inline-flex [&hellip;]<\/p>\n","protected":false},"author":1505,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":33,"footnotes":""},"categories":[3429],"tags":[245,5370,5369,3259,379],"class_list":["post-58053","post","type-post","status-publish","format-standard","hentry","category-front-end-development","tag-css","tag-displayflex","tag-flexbox","tag-frontend","tag-ui"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Flex is the value of the css display property. By using a flex in the parent, the child elements are automatically shaped like a line or column with their respective initial width and height. Properties of Flex Container 1.Display Flex: CSS Display property can have value flex or inline-flex. By using display flex or inline-flex\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Divyanshi Agarwal\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/tothenewco.pro\/blog\/exploring-flex-box-property-in-css\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"EXPLORING FLEX BOX PROPERTY IN CSS | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Flex is the value of the css display property. By using a flex in the parent, the child elements are automatically shaped like a line or column with their respective initial width and height. Properties of Flex Container 1.Display Flex: CSS Display property can have value flex or inline-flex. By using display flex or inline-flex\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/tothenewco.pro\/blog\/exploring-flex-box-property-in-css\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"EXPLORING FLEX BOX PROPERTY IN CSS | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Flex is the value of the css display property. By using a flex in the parent, the child elements are automatically shaped like a line or column with their respective initial width and height. Properties of Flex Container 1.Display Flex: CSS Display property can have value flex or inline-flex. By using display flex or inline-flex\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/exploring-flex-box-property-in-css\\\/#article\",\"name\":\"EXPLORING FLEX BOX PROPERTY IN CSS | TO THE NEW Blog\",\"headline\":\"EXPLORING FLEX BOX PROPERTY IN CSS\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/divyanshi-agarwal\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2023\\\/08\\\/1-1-243x300.png\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/exploring-flex-box-property-in-css\\\/#articleImage\"},\"datePublished\":\"2023-08-21T09:26:19+05:30\",\"dateModified\":\"2023-08-29T09:31:33+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/exploring-flex-box-property-in-css\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/exploring-flex-box-property-in-css\\\/#webpage\"},\"articleSection\":\"Front End Development, css, displayflex, flexbox, frontend, UI\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/exploring-flex-box-property-in-css\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/front-end-development\\\/#listItem\",\"name\":\"Front End Development\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/front-end-development\\\/#listItem\",\"position\":2,\"name\":\"Front End Development\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/front-end-development\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/exploring-flex-box-property-in-css\\\/#listItem\",\"name\":\"EXPLORING FLEX BOX PROPERTY IN CSS\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/exploring-flex-box-property-in-css\\\/#listItem\",\"position\":3,\"name\":\"EXPLORING FLEX BOX PROPERTY IN CSS\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/front-end-development\\\/#listItem\",\"name\":\"Front End Development\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/divyanshi-agarwal\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/divyanshi-agarwal\\\/\",\"name\":\"Divyanshi Agarwal\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/exploring-flex-box-property-in-css\\\/#authorImage\",\"url\":\"https:\\\/\\\/newersworld-sf-static.tothenew.net\\\/prod\\\/profilePicFolder\\\/a73fbb56-4a84-4e66-ad7f-74e9249db111_3632-Divyanshi-Agarwal-PROFILEPICTURE.jpeg\",\"width\":96,\"height\":96,\"caption\":\"Divyanshi Agarwal\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/exploring-flex-box-property-in-css\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/exploring-flex-box-property-in-css\\\/\",\"name\":\"EXPLORING FLEX BOX PROPERTY IN CSS | TO THE NEW Blog\",\"description\":\"Flex is the value of the css display property. By using a flex in the parent, the child elements are automatically shaped like a line or column with their respective initial width and height. Properties of Flex Container 1.Display Flex: CSS Display property can have value flex or inline-flex. By using display flex or inline-flex\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/exploring-flex-box-property-in-css\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/divyanshi-agarwal\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/divyanshi-agarwal\\\/#author\"},\"datePublished\":\"2023-08-21T09:26:19+05:30\",\"dateModified\":\"2023-08-29T09:31:33+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"EXPLORING FLEX BOX PROPERTY IN CSS | TO THE NEW Blog","description":"Flex is the value of the css display property. By using a flex in the parent, the child elements are automatically shaped like a line or column with their respective initial width and height. Properties of Flex Container 1.Display Flex: CSS Display property can have value flex or inline-flex. By using display flex or inline-flex","canonical_url":"https:\/\/tothenewco.pro\/blog\/exploring-flex-box-property-in-css\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tothenewco.pro\/blog\/exploring-flex-box-property-in-css\/#article","name":"EXPLORING FLEX BOX PROPERTY IN CSS | TO THE NEW Blog","headline":"EXPLORING FLEX BOX PROPERTY IN CSS","author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/divyanshi-agarwal\/#author"},"publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"},"image":{"@type":"ImageObject","url":"\/blog\/wp-ttn-blog\/uploads\/2023\/08\/1-1-243x300.png","@id":"https:\/\/tothenewco.pro\/blog\/exploring-flex-box-property-in-css\/#articleImage"},"datePublished":"2023-08-21T09:26:19+05:30","dateModified":"2023-08-29T09:31:33+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/tothenewco.pro\/blog\/exploring-flex-box-property-in-css\/#webpage"},"isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/exploring-flex-box-property-in-css\/#webpage"},"articleSection":"Front End Development, css, displayflex, flexbox, frontend, UI"},{"@type":"BreadcrumbList","@id":"https:\/\/tothenewco.pro\/blog\/exploring-flex-box-property-in-css\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","position":1,"name":"Home","item":"https:\/\/tothenewco.pro\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/front-end-development\/#listItem","name":"Front End Development"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/front-end-development\/#listItem","position":2,"name":"Front End Development","item":"https:\/\/tothenewco.pro\/blog\/category\/front-end-development\/","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/exploring-flex-box-property-in-css\/#listItem","name":"EXPLORING FLEX BOX PROPERTY IN CSS"},"previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/exploring-flex-box-property-in-css\/#listItem","position":3,"name":"EXPLORING FLEX BOX PROPERTY IN CSS","previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/front-end-development\/#listItem","name":"Front End Development"}}]},{"@type":"Organization","@id":"https:\/\/tothenewco.pro\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/tothenewco.pro\/blog\/"},{"@type":"Person","@id":"https:\/\/tothenewco.pro\/blog\/author\/divyanshi-agarwal\/#author","url":"https:\/\/tothenewco.pro\/blog\/author\/divyanshi-agarwal\/","name":"Divyanshi Agarwal","image":{"@type":"ImageObject","@id":"https:\/\/tothenewco.pro\/blog\/exploring-flex-box-property-in-css\/#authorImage","url":"https:\/\/newersworld-sf-static.tothenew.net\/prod\/profilePicFolder\/a73fbb56-4a84-4e66-ad7f-74e9249db111_3632-Divyanshi-Agarwal-PROFILEPICTURE.jpeg","width":96,"height":96,"caption":"Divyanshi Agarwal"}},{"@type":"WebPage","@id":"https:\/\/tothenewco.pro\/blog\/exploring-flex-box-property-in-css\/#webpage","url":"https:\/\/tothenewco.pro\/blog\/exploring-flex-box-property-in-css\/","name":"EXPLORING FLEX BOX PROPERTY IN CSS | TO THE NEW Blog","description":"Flex is the value of the css display property. By using a flex in the parent, the child elements are automatically shaped like a line or column with their respective initial width and height. Properties of Flex Container 1.Display Flex: CSS Display property can have value flex or inline-flex. By using display flex or inline-flex","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/tothenewco.pro\/blog\/exploring-flex-box-property-in-css\/#breadcrumblist"},"author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/divyanshi-agarwal\/#author"},"creator":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/divyanshi-agarwal\/#author"},"datePublished":"2023-08-21T09:26:19+05:30","dateModified":"2023-08-29T09:31:33+05:30"},{"@type":"WebSite","@id":"https:\/\/tothenewco.pro\/blog\/#website","url":"https:\/\/tothenewco.pro\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"EXPLORING FLEX BOX PROPERTY IN CSS | TO THE NEW Blog","og:description":"Flex is the value of the css display property. By using a flex in the parent, the child elements are automatically shaped like a line or column with their respective initial width and height. Properties of Flex Container 1.Display Flex: CSS Display property can have value flex or inline-flex. By using display flex or inline-flex","og:url":"https:\/\/tothenewco.pro\/blog\/exploring-flex-box-property-in-css\/","og:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"EXPLORING FLEX BOX PROPERTY IN CSS | TO THE NEW Blog","twitter:description":"Flex is the value of the css display property. By using a flex in the parent, the child elements are automatically shaped like a line or column with their respective initial width and height. Properties of Flex Container 1.Display Flex: CSS Display property can have value flex or inline-flex. By using display flex or inline-flex","twitter:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"58053","title":null,"description":null,"keywords":[],"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":{"id":"#aioseo-article-65e0656574c15","slug":"article","graphName":"Article","label":"Article","properties":{"type":"BlogPosting","name":"#post_title","headline":"#post_title","description":"#post_excerpt","image":"","keywords":"","author":{"name":"#author_name","url":"#author_url"},"dates":{"include":true,"datePublished":"","dateModified":""}}},"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"limit_modified_date":false,"created":"2023-08-28 12:18:36","updated":"2024-02-29 11:07:17","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tothenewco.pro\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tothenewco.pro\/blog\/category\/front-end-development\/\" title=\"Front End Development\">Front End Development<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tEXPLORING FLEX BOX PROPERTY IN CSS\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/tothenewco.pro\/blog"},{"label":"Front End Development","link":"https:\/\/tothenewco.pro\/blog\/category\/front-end-development\/"},{"label":"EXPLORING FLEX BOX PROPERTY IN CSS","link":"https:\/\/tothenewco.pro\/blog\/exploring-flex-box-property-in-css\/"}],"_links":{"self":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/58053","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/users\/1505"}],"replies":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/comments?post=58053"}],"version-history":[{"count":3,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/58053\/revisions"}],"predecessor-version":[{"id":58186,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/58053\/revisions\/58186"}],"wp:attachment":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/media?parent=58053"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/categories?post=58053"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/tags?post=58053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}