W3C home > Mailing lists > Public > www-style@w3.org > October 2014

[css-grid] Varying-width Grids

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 06 Oct 2014 20:02:38 -0400
Message-ID: <54332D9E.8060109@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>
This is one of the complaints about flexbox:
   https://twitter.com/AlanHogan/status/519256635911307265/photo/1

It's really more of a grid-layout problem, but we can't actually
solve it in CSS Grid Layout. Probably something that should be
fixed in this level, as it's quite common.

Constraints as far as I can tell:
   * Size grid columns to >= multiples of X.
   * Flex gutters equally to fill the width of the container.
   * Auto-fill grid.

We could probably leverage 'justify-content' to deal with
the second point. Auto-fill is already there. The main issue
is the first item. Perhaps it's something we can do with a
repeat() function?

Post ideas here. :)

~fantasai
Received on Tuesday, 7 October 2014 00:03:23 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:44 UTC