Caniuse: Add justify-content: space-evenly

Created on 8 Jul 2017  路  12Comments  路  Source: Fyrd/caniuse

Support data suggestion

Most helpful comment

Now available at https://caniuse.com/#feat=justify-content-space-evenly

All 12 comments

Dup of #2537? Related #3580

+1

This page
http://caniuse.com/#search=justify-content
states that ~all browsers support justify-content, this more or less implies that they all support the very useful value "space-evenly" as well. It would be great if the support for "justify-content:space-evenly" would be listed explicitly, somehow.

this more or less implies that they all support the very useful value "space-evenly" as well.

This is atm. not correct, see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content#Browser_compatibility, as space-evenly is a new value.

Per https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout/Box_Alignment_in_CSS_Grid_Layout

If you are familiar with flexbox then you will already have encountered the way in which flex items can be properly aligned inside the flex container. These alignment properties that we first met in the flexbox specification have been moved into a new specification called Box Alignment Level 3. This specification has details for how alignment should work in all of the different layout methods.

which is why I would argue this issue is a duplicate of #2537, as that issue requests box alignment level 3 as a whole. Unless each property and value (!) gets its own entry.

It know it's a new value 馃榾

It would be great if the support for "justify-content:space-evenly" would be listed explicitly, somehow. And yes I'm aware that it's part of the CSS Box Alignment Module, so that would be the right place (and could be refd from the caniuse flexbox page).

In fact, it worked in Chrome and Safari even earlier, but only for Grid, not Flexbox: https://twitter.com/frivoal/status/849198164665970688. The corresponding bug has already been fixed for both browsers.

Is there a way to use space-evenly and fallback to space-around?

div {
    justify-content: space-around;
    justify-content: space-evenly;
}

It still would be great to be able to see browser support for space-evenly
https://www.w3.org/TR/css-align-3/#distribution-values
at caniuse.com ,
eg used with Flexbox https://www.w3.org/TR/css-align-3/#distribution-flex
and used with Grid https://www.w3.org/TR/css-align-3/#distribution-grid .

Agreed. It really should be explicitly stated that space-evenly is not supported by most browsers and mobile browsers on caniuse. Space-evenly is no longer a "new" value. It's also now supported on Chrome.

+1

Now available at https://caniuse.com/#feat=justify-content-space-evenly

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SanderMuller picture SanderMuller  路  3Comments

greigs picture greigs  路  3Comments

mirraj2 picture mirraj2  路  3Comments

36degrees picture 36degrees  路  3Comments

SteveALee picture SteveALee  路  3Comments