- From: Stephen Hay <haymail@gmail.com>
- Date: Tue, 3 Jan 2012 21:44:42 +0100
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: www-style list <www-style@w3.org>
Received on Tuesday, 3 January 2012 20:45:18 UTC
On Jan 3, 2012 8:38 PM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:
> #page {
> width: 800px;
> height: 600px;
> grid-template:
> "aae"
> "bbe"
> "cde";
> grid-rows: min-content 1fr 1fr;
> grid-columns: 1fr 1fr 1fr;
> grid-spacing: 5% 4%;
> }
>
> I'm not sure if percentages in grid-rows/columns should work on the full
width/height of the grid, or the width/height minus the spacing. I've
cleverly avoided percentages in the above example. ^_^
I would suggest having them work on the full width/height of the grid, as
gutters are often (but not always) relative to grid units (columns).
-Stephen Hay
Received on Tuesday, 3 January 2012 20:45:18 UTC