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

[csswg-drafts] [css-align][css-flexbox]Can align-content be used in a single-line of flex-containers?

From: 一丝 via GitHub <sysbot+gh@w3.org>
Date: Fri, 21 Apr 2017 06:54:53 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-223294356-1492757691-sysbot+gh@w3.org>
yisibl has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-align][css-flexbox]Can align-content be used in a single-line of flex-containers? ==
```html
<div class="test"><div>foo</div></div>
```

```css
.test {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid black;
  width: 200px;
  height: 100px;
  align-content: center;
  justify-content: center;
  margin: 30px auto;
}
```
Chrome ignores the align-content property, which does not seem to be explicitly defined in the specification.

![image](https://cloud.githubusercontent.com/assets/2784308/25266046/43d0a65c-26a2-11e7-9f1c-0d095373dc36.png)
![image](https://cloud.githubusercontent.com/assets/2784308/25266054/5390e2fa-26a2-11e7-949e-d8d315b7c1c6.png)




Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1268 using your GitHub account
Received on Friday, 21 April 2017 06:54:59 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:11 UTC