{"id":65881,"date":"2019-05-24T04:21:41","date_gmt":"2019-05-24T11:21:41","guid":{"rendered":"http:\/\/www.taterboy.com\/blog\/2019\/05\/digging-into-the-display-property-grids-all-the-way-down\/"},"modified":"2019-05-24T04:21:41","modified_gmt":"2019-05-24T11:21:41","slug":"digging-into-the-display-property-grids-all-the-way-down","status":"publish","type":"post","link":"https:\/\/www.taterboy.com\/blog\/2019\/05\/digging-into-the-display-property-grids-all-the-way-down\/","title":{"rendered":"Digging Into The Display Property: Grids All The Way Down"},"content":{"rendered":"<link rel=\"canonical\" href=\"https:\/\/www.smashingmagazine.com\/2019\/05\/display-grid-subgrid\/\"><title>Digging Into The Display Property: Grids All The Way Down<\/title><\/p>\n<article>\n<header>\n<h1>Digging Into The Display Property: Grids All The Way Down<\/h1>\n<address>Rachel Andrew<\/address>\n<p>                  <time datetime=\"2019-05-24T13:00:59+02:00\">2019-05-24T13:00:59+02:00<\/time><time datetime=\"2019-05-24T11:09:32+00:00\">2019-05-24T11:09:32+00:00<\/time><\/header>\n<p>Today, we are going to take a look at what happens when we use <code>display: grid<\/code> and how we might use the new subgrid value of <code>grid-template-columns<\/code> and <code>grid-template-rows<\/code> to allow for grids all the way down through our markup, which relate to each other.<\/p>\n<p>This article is part of a series that look at various aspects of the CSS <code>display<\/code> property, and is a follow-on to the first two articles:<\/p>\n<ol>\n<li><a href=\"https:\/\/www.smashingmagazine.com\/2019\/04\/display-two-value\/\">The Two Values Of <code>display<\/code><\/a><\/li>\n<li><a href=\"https:\/\/www.smashingmagazine.com\/2019\/05\/display-box-generation\/\">Box Generation<\/a><\/li>\n<li><strong>Grids All The Way Down<\/strong><\/li>\n<\/ol>\n<h3>What Happens When We Create A Grid Container?<\/h3>\n<p>CSS Grid Layout is switched on by using <code>display: grid<\/code>. If you have read the first article in this series, you will know that what this single value property actually means is <code>display: block grid<\/code>. We get a block level box which is defined as a <strong>grid container<\/strong>, with direct children that are grid items and participate in grid layout.<\/p>\n<p>If you take a look at the display specification, you will see that in the table that defines all of the different values for <code>display<\/code>. The words <em>grid container<\/em> are linked to <a href=\"https:\/\/drafts.csswg.org\/css-grid-1\/#grid-container\">the definition of a grid container in the Grid Specification<\/a>. Therefore, to find out what this actually means we need to go look there. When we do, we get some useful clarification of the behavior of a grid container.<\/p>\n<div data-component=\"FeaturePanel\" data-audience=\"non-subscriber\" data-remove=\"true\"><\/div>\n<p>A grid container is said to establish a Grid Formatting Context which is similar to a Block Formatting Context (BFC). I\u2019ve written <a href=\"https:\/\/www.smashingmagazine.com\/2017\/12\/understanding-css-layout-block-formatting-context\/\">an extensive guide to the Block Formatting Context<\/a>. In that article you will discover two things about a BFC that are the same for a grid formatting context. Floats do not intrude into the grid container, and the margins on the container do not collapse with those of the contents.<\/p>\n<p>There are differences, however, only once we get inside the grid container. The children of a grid container and not participating in block and inline layout, they are grid items and therefore participating in grid layout. This means that a few things we are used to in block and inline layout do not hold true.<\/p>\n<p>If any item in the layout is floated or cleared, the <code>float<\/code> and <code>clear<\/code> properties do not have an effect once the item becomes a grid item. The <code>vertical-align<\/code> property has no effect, and the <code>::first-letter<\/code> and <code>::first-line<\/code> pseudo-elements cannot be used.<\/p>\n<p>The fact that an item <strong>cannot be both floated and a grid item<\/strong> is helpful in terms of creating fallbacks. When creating a fallback for browsers which do not support grid using floats (when grid is supported), you don\u2019t need to do anything special: the float is overwritten.<\/p>\n<p>I outline this approach in my article on <a href=\"https:\/\/www.smashingmagazine.com\/2017\/11\/css-grid-supporting-browsers-without-grid\/\">supporting browsers without grid<\/a>. There are situations where the behavior has turned out to be problematic, although these issues could be solved by using another part of CSS as described in this post unpacking an issue with grid and floats, \u201c<a href=\"https:\/\/rachelandrew.co.uk\/archives\/2018\/11\/09\/editorial-layouts-exclusions-and-css-grid\/\">Editorial Layouts, Exclusions, and CSS Grid<\/a>\u201d.<\/p>\n<p>With all that said, if we do nothing else than change the value of <code>display<\/code> to <code>grid<\/code>, we won\u2019t see much of a difference to our layout. The direct children are grid items, however, by default we end up with a one-column grid. A grid always has one column and one row. The rest of the rows that we can see after doing this are implicit rows, i.e. rows created to hold the content.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/97efbe8f-165b-4039-8ec8-474dabf528cd\/sm-display-grid-one-column.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/05\/sm-display-grid-one-column.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/97efbe8f-165b-4039-8ec8-474dabf528cd\/sm-display-grid-one-column.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/97efbe8f-165b-4039-8ec8-474dabf528cd\/sm-display-grid-one-column.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/97efbe8f-165b-4039-8ec8-474dabf528cd\/sm-display-grid-one-column.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/97efbe8f-165b-4039-8ec8-474dabf528cd\/sm-display-grid-one-column.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/05\/sm-display-grid-one-column.png?w=900\" sizes=\"100vw\" alt=\"A set of cards laid out one below the other in a single column.\"><\/a><figcaption>\n      When we create a grid container with no columns, we get a one column grid. (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/97efbe8f-165b-4039-8ec8-474dabf528cd\/sm-display-grid-one-column.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>We can start to form something that looks more like a grid to us by giving the property <code>grid-template-rows<\/code> a value. The property takes a track listing as a value; if I give it three 1fr tracks, we now find ourselves with a three-column grid, and using the <code>gap<\/code> property gives me spacing between those cards.<\/p>\n<p>We now have something that looks to us like a grid:<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/34f11f8b-328e-41b7-a070-3ee7c1bb7ce4\/sm-display-grid-three-columns.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/05\/sm-display-grid-three-columns.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/34f11f8b-328e-41b7-a070-3ee7c1bb7ce4\/sm-display-grid-three-columns.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/34f11f8b-328e-41b7-a070-3ee7c1bb7ce4\/sm-display-grid-three-columns.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/34f11f8b-328e-41b7-a070-3ee7c1bb7ce4\/sm-display-grid-three-columns.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/34f11f8b-328e-41b7-a070-3ee7c1bb7ce4\/sm-display-grid-three-columns.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/05\/sm-display-grid-three-columns.png?w=900\" sizes=\"100vw\" alt=\"Cards laid out in three columns and two rows\"><\/a><figcaption>\n      We define some column tracks and a gap to get an obvious grid layout (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/34f11f8b-328e-41b7-a070-3ee7c1bb7ce4\/sm-display-grid-three-columns.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>Each of the grid items in our example has children of its own. The cards have headers and footers and an area for the main content of the card. These children are grid items, but their children have returned to block and inline layout. The header, content area and footer do not do any grid like things. This is because when we change the value of <code>display<\/code> to <code>grid<\/code>, it doesn\u2019t inherit but instead only the children become grid items; their children return to block layout.<\/p>\n<div><\/div>\n<h3>Nesting Grids<\/h3>\n<p>If a card has more content than the other cards, the cards in that row get taller. The initial value of <code>align-items<\/code> for grid items is <code>stretch<\/code>. Our cards stretch to full height. The items inside, however, are in normal block and inline flow and so they don\u2019t stretch magically to fill the card. (This is why in the image above you can see that the cards with less content have a gap at the bottom.)<\/p>\n<p>If we wanted them to (in order to make that footer always sit at the bottom), we could make our grid item a grid, too. In this case, a single-column grid is all we need. We can then define row tracks, giving the area into which the <code>div<\/code> with a class of content sits, a track size of <code>1fr<\/code>. This causes it to take up all of the available space in the container, and will push the footer to the bottom of the card.<\/p>\n<figure>\n<p data-height=\"500\" data-theme-id=\"light\" data-slug-hash=\"PvQzeG\" data-user=\"rachelandrew\" data-default-tab=\"result\">See the Pen <a href=\"https:\/\/www.smashingmagazine.com\/articles\/\">display: subgrid is not what we want<\/a> by <a href=\"https:\/\/codepen.io\/rachelandrew\">Rachel Andrew<\/a>.<\/p><figcaption><a href=\"https:\/\/www.smashingmagazine.com\/articles\/#ZgotmplZ\">See on Codepen<\/a><\/figcaption><\/figure>\n<p>You can do this nesting of grids as much as you need. I don\u2019t really think of it as nesting since we\u2019re not creating nested tables here, and we are usually using the structural HTML elements already in place. We are just changing the value of <code>display<\/code> one level at a time to what is most appropriate for the children of that element. That might be flex layout or grid layout, but most often it will be block and inline layout. In that case, we don\u2019t need to do anything because that is what happens by default.<\/p>\n<h3>Lining Up The Headers And Footers<\/h3>\n<p>As we have now seen, if we want a set of cards laid out on a grid, and we want them to display as tall as the tallest card, and we want the footers pushed to the bottom of the card, we need very little CSS. The layout CSS for the above example is as follows:<\/p>\n<pre><code>.cards {\n  display: grid;\n  gap: 20px;\n  grid-template-columns: 1fr 1fr 1fr;\n}\n\narticle {\n  display: grid;\n  grid-template-rows: auto 1fr auto;\n  row-gap: 20px;\n}\n<\/code><\/pre>\n<p>What if we want the background color on the headers and footers to line up though? Each card is a grid item, but the headers and footers are in the grid on the item. They have no relationship to each other and so we can\u2019t line them up. Here it would be nice if we could somehow inherit the grid through the children.<\/p>\n<p>If we could define a grid on the parent which had three rows, then place the cards across these three rows and have the header, content and footer each sit in one of the rows. That way, each header would be in the same row, and therefore if one header got taller, the whole row would get taller.<\/p>\n<p>We don\u2019t have a good solution to that in browsers today, but it is on the way. The subgrid feature of CSS Grid Layout Level 2 will enable this exact pattern. You will be able to create a grid on the parent and then selectively opt the rows and\/or columns to use that grid, rather than define a new grid on the <code>child<\/code> element which is completely independent of that grid.<\/p>\n<p><em>Note that the examples which follow only work at the time of writing in Firefox Nightly. The subgrid value of<\/em> <code>grid-template-columns<\/code> <em>and<\/em> <code>grid-template-rows<\/code> <em>is a new feature and part of Level 2 of the CSS Grid Specification. To try out this feature, download a copy of Firefox Nightly.<\/em><\/p>\n<div><\/div>\n<p>You can see how this works in the images below. In the first image, I have created three row tracks on the parent and spanned the card across them. With the Firefox Grid Inspector highlighting the grid, you can see that the rows of the parent don\u2019t relate to the rows used by the children.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/de47667e-4197-4b94-82df-984f373a4f3c\/sm-span-three-rows.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/05\/sm-span-three-rows.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/de47667e-4197-4b94-82df-984f373a4f3c\/sm-span-three-rows.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/de47667e-4197-4b94-82df-984f373a4f3c\/sm-span-three-rows.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/de47667e-4197-4b94-82df-984f373a4f3c\/sm-span-three-rows.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/de47667e-4197-4b94-82df-984f373a4f3c\/sm-span-three-rows.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/05\/sm-span-three-rows.png?w=900\" sizes=\"100vw\" alt=\"An image of a three column grid with the Firefox Grid Inspector tracks overlaid.\"><\/a><figcaption>\n      Inspecting the grid with the Firefox Grid Inspector shows the elements are not displaying in the tracks of the parent. (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/de47667e-4197-4b94-82df-984f373a4f3c\/sm-span-three-rows.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>If, instead of defining three rows on the child, I use the subgrid value for <code>grid-template-rows<\/code>, the card now uses those rows on the parent. You can see how the two are now aligned and therefore the headers and footers align as well:<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/76f08a5b-1e9c-4796-9ee1-53a78aba8d13\/sm-span-three-rows-subgrid.png?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/05\/sm-span-three-rows-subgrid.png 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/76f08a5b-1e9c-4796-9ee1-53a78aba8d13\/sm-span-three-rows-subgrid.png 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/76f08a5b-1e9c-4796-9ee1-53a78aba8d13\/sm-span-three-rows-subgrid.png 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/76f08a5b-1e9c-4796-9ee1-53a78aba8d13\/sm-span-three-rows-subgrid.png 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/76f08a5b-1e9c-4796-9ee1-53a78aba8d13\/sm-span-three-rows-subgrid.png 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/05\/sm-span-three-rows-subgrid.png?w=900\" sizes=\"100vw\" alt=\"An image of a three column grid, all elements inside the cards aligned.\"><\/a><figcaption>\n      Using subgrid each part of the card goes into its own track (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/76f08a5b-1e9c-4796-9ee1-53a78aba8d13\/sm-span-three-rows-subgrid.png\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>What we are doing here with subgrid isn\u2019t a new value of <code>display<\/code>. The item which is a subgrid is a grid container itself, as we have set <code>display: grid<\/code> on it. The grid items are behaving as grid items normally do. This is regular grid layout \u2014 no different from the original nested grid except that (instead of the item having its own row track sizing) it is using the tracks of the parent.<\/p>\n<pre><code>.cards {\n  display: grid;\n  gap: 20px;\n  grid-template-columns: 1fr 1fr 1fr;\n  grid-template-rows: repeat(2,auto 1fr auto);\n}\n\narticle {\n  grid-row-end: span 3;\n  display: grid;\n  grid-template-rows: subgrid;\n}\n<\/code><\/pre>\n<p>This is the nice thing about subgrid; there isn\u2019t a whole lot to learn if you already know how to use grid layout. You can read about the rest of the details in my previous post here on Smashing Magazine, \u201c<a href=\"https:\/\/www.smashingmagazine.com\/2018\/07\/css-grid-2\/\">CSS Grid Level 2: Here Comes Subgrid<\/a>\u201d.<\/p>\n<p>Yesterday (23<sup>rd<\/sup> May 2019), subgrid landed in Firefox Nightly, so we have a testable implementation of the subgrid value of <code>grid-template-columns<\/code> and <code>grid-template-rows<\/code>. Please do grab a copy of Nightly and try this out. With a copy of Nightly, you can see the final example working in this CodePen:<\/p>\n<figure>\n<p data-height=\"500\" data-theme-id=\"light\" data-slug-hash=\"WBMGwy\" data-user=\"rachelandrew\" data-default-tab=\"result\">See the Pen <a href=\"https:\/\/www.smashingmagazine.com\/articles\/\">display: subgrid is not what we want<\/a> by <a href=\"https:\/\/codepen.io\/rachelandrew\">Rachel Andrew<\/a>.<\/p><figcaption><a href=\"https:\/\/www.smashingmagazine.com\/articles\/#ZgotmplZ\">See on Codepen<\/a><\/figcaption><\/figure>\n<p>See if you can think up other use cases that are solved by having the subgrid feature, or perhaps things which you think are missing. While a feature is only available in a Nightly browser, that\u2019s the time where it is possible to make changes to the spec if some issue are discovered. So, do a favor to your future web developing self and try out features like this in order that you can help contribute to the web platform and make things better.<\/p>\n<p>If you think you have found a bug in the Firefox implementation, you can take a look at the <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=1240834\">main implementation bug<\/a> on Bugzilla which links to related issues in the <em>Depends on<\/em> section. If you can\u2019t see your issue, create as a simple a reduced test case as possible and raise the bug. If you think that subgrid should do something in order to solve a use case, and that is something not detailed in the specification, you can <a href=\"https:\/\/github.com\/w3c\/csswg-drafts\/issues\">raise an issue on the CSS Working Group GitHub<\/a> for a potential enhancement.<\/p>\n<h3>What About <code>display: contents<\/code>?<\/h3>\n<p>If you have been following along, you might think that <code>display: contents<\/code> (as described in the <a href=\"https:\/\/www.smashingmagazine.com\/2019\/05\/display-box-generation\/\">previous article about <code>display<\/code><\/a>) might solve the problems that subgrid seeks to solve \u2014 that of allowing indirect children to participate in a grid layout. That isn\u2019t the case, and our example of cards is a perfect way to demonstrate the difference.<\/p>\n<p>If, instead of making our card a grid layout with <code>display: grid<\/code>, we removed the box using <code>display: contents<\/code>, we would get this result in this next CodePen. (Try removing the <code>display: contents<\/code> line from the rules for <code>.card<\/code> to see the difference.)<\/p>\n<figure>\n<p data-height=\"500\" data-theme-id=\"light\" data-slug-hash=\"VOQKrp\" data-user=\"rachelandrew\" data-default-tab=\"result\">See the Pen <a href=\"https:\/\/www.smashingmagazine.com\/articles\/\">display: subgrid is not what we want<\/a> by <a href=\"https:\/\/codepen.io\/rachelandrew\">Rachel Andrew<\/a>.<\/p><figcaption><a href=\"https:\/\/www.smashingmagazine.com\/articles\/#ZgotmplZ\">See on Codepen<\/a><\/figcaption><\/figure>\n<p>In this example, the box of the card has been removed and so the header, content and footer directly participate in grid layout and are autoplaced across the grid. This wasn\u2019t what we wanted at all! The <code>contents<\/code> value of display will be really helpful once the accessibility issues in browsers mentioned in my last article are dealt with, however, it solves different problems to the one that we are exploring.<\/p>\n<h4>More Reading And Examples<\/h4>\n<p>I\u2019ve been creating a number of examples and demos to help everyone understand subgrid. You can try those out at the links below:<\/p>\n<ul>\n<li><a href=\"https:\/\/gridbyexample.com\/examples\/#css-grid-level-2-examples\">CSS Grid Level 2 Examples<\/a><\/li>\n<li><a href=\"https:\/\/www.smashingmagazine.com\/2018\/07\/css-grid-2\/\">CSS Grid Level 2: Here Comes Subgrid<\/a><\/li>\n<li><a href=\"https:\/\/noti.st\/rachelandrew\/R1WpMJ\/grids-all-the-way-down\">Grids All The Way Down<\/a> (Presentation)<\/li>\n<li><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\/CSS_Grid_layout\/Subgrid\">MDN Documentation For Subgrid<\/a><\/li>\n<\/ul>\n<div>\n  <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/05\/logo-red-18.png?w=900\" alt=\"Smashing Editorial\"><span>(il)<\/span>\n<\/div>\n<\/article>\n<p class=\"wpematico_credit\"><small>Powered by <a href=\"http:\/\/www.wpematico.com\" target=\"_blank\">WPeMatico<\/a><\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Digging Into The Display Property: Grids All The Way Down Digging Into The Display Property: Grids All The Way Down Rachel Andrew 2019-05-24T13:00:59+02:002019-05-24T11:09:32+00:00 Today, we are going to take a look at what happens when we use display: grid and how we might use the new subgrid value of grid-template-columns and grid-template-rows to allow for&#8230;<a class=\"moretag\" href=\"https:\/\/www.taterboy.com\/blog\/2019\/05\/digging-into-the-display-property-grids-all-the-way-down\/\"> Read the full article&#8230;<\/a><\/p>\n","protected":false},"author":4,"featured_media":65882,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[371],"tags":[],"class_list":["post-65881","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-user-experience"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Digging Into The Display Property: Grids All The Way DownDigging Into The Display Property: Grids All The Way Down Rachel Andrew 2019-05-24T13:00:59+02:002019-05-24T11:09:32+00:00Today, we are going to take a look at what happens when we use display: grid and how we might use the new subgrid value of grid-template-columns and grid-template-rows to allow for grids all\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Guest Contribution\"\/>\n\t<meta name=\"keywords\" content=\"user experience\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.taterboy.com\/blog\/2019\/05\/digging-into-the-display-property-grids-all-the-way-down\/\" \/>\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=\"Design for Immersive Technologies | User Experience for Games, Virtual Reality (VR) and Augmented\/Mixed Reality (AR\/MR)\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Digging Into The Display Property: Grids All The Way Down | Design for Immersive Technologies\" \/>\n\t\t<meta property=\"og:description\" content=\"Digging Into The Display Property: Grids All The Way DownDigging Into The Display Property: Grids All The Way Down Rachel Andrew 2019-05-24T13:00:59+02:002019-05-24T11:09:32+00:00Today, we are going to take a look at what happens when we use display: grid and how we might use the new subgrid value of grid-template-columns and grid-template-rows to allow for grids all\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.taterboy.com\/blog\/2019\/05\/digging-into-the-display-property-grids-all-the-way-down\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-05-24T11:21:41+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-05-24T11:21:41+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Digging Into The Display Property: Grids All The Way Down | Design for Immersive Technologies\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Digging Into The Display Property: Grids All The Way DownDigging Into The Display Property: Grids All The Way Down Rachel Andrew 2019-05-24T13:00:59+02:002019-05-24T11:09:32+00:00Today, we are going to take a look at what happens when we use display: grid and how we might use the new subgrid value of grid-template-columns and grid-template-rows to allow for grids all\" \/>\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.taterboy.com\\\/blog\\\/2019\\\/05\\\/digging-into-the-display-property-grids-all-the-way-down\\\/#article\",\"name\":\"Digging Into The Display Property: Grids All The Way Down | Design for Immersive Technologies\",\"headline\":\"Digging Into The Display Property: Grids All The Way Down\",\"author\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/author\\\/guestcontribution\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.taterboy.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/sm-display-grid-one-column.png?fit=400%2C243&ssl=1\",\"width\":400,\"height\":243},\"datePublished\":\"2019-05-24T04:21:41-07:00\",\"dateModified\":\"2019-05-24T04:21:41-07:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/05\\\/digging-into-the-display-property-grids-all-the-way-down\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/05\\\/digging-into-the-display-property-grids-all-the-way-down\\\/#webpage\"},\"articleSection\":\"User Experience\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/05\\\/digging-into-the-display-property-grids-all-the-way-down\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.taterboy.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/category\\\/user-experience\\\/#listItem\",\"name\":\"User Experience\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/category\\\/user-experience\\\/#listItem\",\"position\":2,\"name\":\"User Experience\",\"item\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/category\\\/user-experience\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/05\\\/digging-into-the-display-property-grids-all-the-way-down\\\/#listItem\",\"name\":\"Digging Into The Display Property: Grids All The Way Down\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/05\\\/digging-into-the-display-property-grids-all-the-way-down\\\/#listItem\",\"position\":3,\"name\":\"Digging Into The Display Property: Grids All The Way Down\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/category\\\/user-experience\\\/#listItem\",\"name\":\"User Experience\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/#organization\",\"name\":\"Design for Immersive Technologies\",\"description\":\"User Experience for Games, Virtual Reality (VR) and Augmented\\\/Mixed Reality (AR\\\/MR)\",\"url\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/author\\\/guestcontribution\\\/#author\",\"url\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/author\\\/guestcontribution\\\/\",\"name\":\"Guest Contribution\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/05\\\/digging-into-the-display-property-grids-all-the-way-down\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d2aad73eb0f48c67b141e9fc978a0e498969791ed623346e361d02d19775b0bb?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Guest Contribution\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/05\\\/digging-into-the-display-property-grids-all-the-way-down\\\/#webpage\",\"url\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/05\\\/digging-into-the-display-property-grids-all-the-way-down\\\/\",\"name\":\"Digging Into The Display Property: Grids All The Way Down | Design for Immersive Technologies\",\"description\":\"Digging Into The Display Property: Grids All The Way DownDigging Into The Display Property: Grids All The Way Down Rachel Andrew 2019-05-24T13:00:59+02:002019-05-24T11:09:32+00:00Today, we are going to take a look at what happens when we use display: grid and how we might use the new subgrid value of grid-template-columns and grid-template-rows to allow for grids all\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/05\\\/digging-into-the-display-property-grids-all-the-way-down\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/author\\\/guestcontribution\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/author\\\/guestcontribution\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.taterboy.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/sm-display-grid-one-column.png?fit=400%2C243&ssl=1\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/05\\\/digging-into-the-display-property-grids-all-the-way-down\\\/#mainImage\",\"width\":400,\"height\":243},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/05\\\/digging-into-the-display-property-grids-all-the-way-down\\\/#mainImage\"},\"datePublished\":\"2019-05-24T04:21:41-07:00\",\"dateModified\":\"2019-05-24T04:21:41-07:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/\",\"name\":\"Design for Immersive Technologies\",\"description\":\"User Experience for Games, Virtual Reality (VR) and Augmented\\\/Mixed Reality (AR\\\/MR)\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Digging Into The Display Property: Grids All The Way Down | Design for Immersive Technologies","description":"Digging Into The Display Property: Grids All The Way DownDigging Into The Display Property: Grids All The Way Down Rachel Andrew 2019-05-24T13:00:59+02:002019-05-24T11:09:32+00:00Today, we are going to take a look at what happens when we use display: grid and how we might use the new subgrid value of grid-template-columns and grid-template-rows to allow for grids all","canonical_url":"https:\/\/www.taterboy.com\/blog\/2019\/05\/digging-into-the-display-property-grids-all-the-way-down\/","robots":"max-image-preview:large","keywords":"user experience","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.taterboy.com\/blog\/2019\/05\/digging-into-the-display-property-grids-all-the-way-down\/#article","name":"Digging Into The Display Property: Grids All The Way Down | Design for Immersive Technologies","headline":"Digging Into The Display Property: Grids All The Way Down","author":{"@id":"https:\/\/www.taterboy.com\/blog\/author\/guestcontribution\/#author"},"publisher":{"@id":"https:\/\/www.taterboy.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/05\/sm-display-grid-one-column.png?fit=400%2C243&ssl=1","width":400,"height":243},"datePublished":"2019-05-24T04:21:41-07:00","dateModified":"2019-05-24T04:21:41-07:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.taterboy.com\/blog\/2019\/05\/digging-into-the-display-property-grids-all-the-way-down\/#webpage"},"isPartOf":{"@id":"https:\/\/www.taterboy.com\/blog\/2019\/05\/digging-into-the-display-property-grids-all-the-way-down\/#webpage"},"articleSection":"User Experience"},{"@type":"BreadcrumbList","@id":"https:\/\/www.taterboy.com\/blog\/2019\/05\/digging-into-the-display-property-grids-all-the-way-down\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.taterboy.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.taterboy.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.taterboy.com\/blog\/category\/user-experience\/#listItem","name":"User Experience"}},{"@type":"ListItem","@id":"https:\/\/www.taterboy.com\/blog\/category\/user-experience\/#listItem","position":2,"name":"User Experience","item":"https:\/\/www.taterboy.com\/blog\/category\/user-experience\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.taterboy.com\/blog\/2019\/05\/digging-into-the-display-property-grids-all-the-way-down\/#listItem","name":"Digging Into The Display Property: Grids All The Way Down"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.taterboy.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.taterboy.com\/blog\/2019\/05\/digging-into-the-display-property-grids-all-the-way-down\/#listItem","position":3,"name":"Digging Into The Display Property: Grids All The Way Down","previousItem":{"@type":"ListItem","@id":"https:\/\/www.taterboy.com\/blog\/category\/user-experience\/#listItem","name":"User Experience"}}]},{"@type":"Organization","@id":"https:\/\/www.taterboy.com\/blog\/#organization","name":"Design for Immersive Technologies","description":"User Experience for Games, Virtual Reality (VR) and Augmented\/Mixed Reality (AR\/MR)","url":"https:\/\/www.taterboy.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.taterboy.com\/blog\/author\/guestcontribution\/#author","url":"https:\/\/www.taterboy.com\/blog\/author\/guestcontribution\/","name":"Guest Contribution","image":{"@type":"ImageObject","@id":"https:\/\/www.taterboy.com\/blog\/2019\/05\/digging-into-the-display-property-grids-all-the-way-down\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/d2aad73eb0f48c67b141e9fc978a0e498969791ed623346e361d02d19775b0bb?s=96&d=mm&r=g","width":96,"height":96,"caption":"Guest Contribution"}},{"@type":"WebPage","@id":"https:\/\/www.taterboy.com\/blog\/2019\/05\/digging-into-the-display-property-grids-all-the-way-down\/#webpage","url":"https:\/\/www.taterboy.com\/blog\/2019\/05\/digging-into-the-display-property-grids-all-the-way-down\/","name":"Digging Into The Display Property: Grids All The Way Down | Design for Immersive Technologies","description":"Digging Into The Display Property: Grids All The Way DownDigging Into The Display Property: Grids All The Way Down Rachel Andrew 2019-05-24T13:00:59+02:002019-05-24T11:09:32+00:00Today, we are going to take a look at what happens when we use display: grid and how we might use the new subgrid value of grid-template-columns and grid-template-rows to allow for grids all","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.taterboy.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.taterboy.com\/blog\/2019\/05\/digging-into-the-display-property-grids-all-the-way-down\/#breadcrumblist"},"author":{"@id":"https:\/\/www.taterboy.com\/blog\/author\/guestcontribution\/#author"},"creator":{"@id":"https:\/\/www.taterboy.com\/blog\/author\/guestcontribution\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/05\/sm-display-grid-one-column.png?fit=400%2C243&ssl=1","@id":"https:\/\/www.taterboy.com\/blog\/2019\/05\/digging-into-the-display-property-grids-all-the-way-down\/#mainImage","width":400,"height":243},"primaryImageOfPage":{"@id":"https:\/\/www.taterboy.com\/blog\/2019\/05\/digging-into-the-display-property-grids-all-the-way-down\/#mainImage"},"datePublished":"2019-05-24T04:21:41-07:00","dateModified":"2019-05-24T04:21:41-07:00"},{"@type":"WebSite","@id":"https:\/\/www.taterboy.com\/blog\/#website","url":"https:\/\/www.taterboy.com\/blog\/","name":"Design for Immersive Technologies","description":"User Experience for Games, Virtual Reality (VR) and Augmented\/Mixed Reality (AR\/MR)","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.taterboy.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Design for Immersive Technologies | User Experience for Games, Virtual Reality (VR) and Augmented\/Mixed Reality (AR\/MR)","og:type":"article","og:title":"Digging Into The Display Property: Grids All The Way Down | Design for Immersive Technologies","og:description":"Digging Into The Display Property: Grids All The Way DownDigging Into The Display Property: Grids All The Way Down Rachel Andrew 2019-05-24T13:00:59+02:002019-05-24T11:09:32+00:00Today, we are going to take a look at what happens when we use display: grid and how we might use the new subgrid value of grid-template-columns and grid-template-rows to allow for grids all","og:url":"https:\/\/www.taterboy.com\/blog\/2019\/05\/digging-into-the-display-property-grids-all-the-way-down\/","article:published_time":"2019-05-24T11:21:41+00:00","article:modified_time":"2019-05-24T11:21:41+00:00","twitter:card":"summary","twitter:title":"Digging Into The Display Property: Grids All The Way Down | Design for Immersive Technologies","twitter:description":"Digging Into The Display Property: Grids All The Way DownDigging Into The Display Property: Grids All The Way Down Rachel Andrew 2019-05-24T13:00:59+02:002019-05-24T11:09:32+00:00Today, we are going to take a look at what happens when we use display: grid and how we might use the new subgrid value of grid-template-columns and grid-template-rows to allow for grids all"},"aioseo_meta_data":{"post_id":"65881","title":null,"description":null,"keywords":null,"keyphrases":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_custom_image_width":null,"og_custom_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema_type":null,"schema_type_options":null,"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":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"created":"2021-02-07 19:50:33","updated":"2026-09-01 11:12:05","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"twitter_image_url":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"limit_modified_date":false,"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:\/\/www.taterboy.com\/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:\/\/www.taterboy.com\/blog\/category\/user-experience\/\" title=\"User Experience\">User Experience<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tDigging Into The Display Property: Grids All The Way Down\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.taterboy.com\/blog"},{"label":"User Experience","link":"https:\/\/www.taterboy.com\/blog\/category\/user-experience\/"},{"label":"Digging Into The Display Property: Grids All The Way Down","link":"https:\/\/www.taterboy.com\/blog\/2019\/05\/digging-into-the-display-property-grids-all-the-way-down\/"}],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8wzr5-h8B","jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/05\/sm-display-grid-one-column.png?fit=400%2C243&ssl=1","_links":{"self":[{"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/posts\/65881","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/comments?post=65881"}],"version-history":[{"count":0,"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/posts\/65881\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/media\/65882"}],"wp:attachment":[{"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/media?parent=65881"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/categories?post=65881"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/tags?post=65881"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}