W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2017

Re: [csswg-drafts] [css-flexbox] Make it easier to define margins that only apply between flex-items

From: Erik Jung via GitHub <sysbot+gh@w3.org>
Date: Mon, 13 Feb 2017 19:13:07 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-279491532-1487013185-sysbot+gh@w3.org>
Rather than a `flex-` prefixed property, I would like to see a 
normalized property name to handle gutter definitions for columns, 
flex containers, and grid containers. This seems logical considering 
how `align-` and `justify-` properties have currently been implemented
 for grid.

`item-gap` perhaps?

```css
example {
  display: flex;
  item-gap: 1rem;
}

example {
  display: grid;
  item-gap: 1rem;
}

example {
  columns: 4;
  item-gap: 1rem;
}
```

-- 
GitHub Notification of comment by erikjung
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/592#issuecomment-279491532 
using your GitHub account
Received on Monday, 13 February 2017 19:13:51 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:29 UTC