Skip to content

Flexbox spec not up to date :/ #1

@raphaelgoetter

Description

@raphaelgoetter

Hello,

Why are you using old syntax fox flexbox container ?

.COLS {
    width: 100%;
    height: 100%;
    /* Old Syntax */
    display: -webkit-box;
    display: -moz-box;
    display: box;
    /* New Syntax */
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    box-orient: horizontal;
    display: -ms-flexbox;
    -ms-flex-direction: row;
    /* W3C */
    display: box;
}

display: box is not the W3C actual value. The right value since 2012 is display: flex.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions