hicTech / cssPlus

Robust, fast and cross browser layout scaffolding based on Flexbox.
http://hictech.github.io/cssPlusWebsite/home.html
MIT License
102 stars 15 forks source link

Flexbox spec not up to date :/ #1

Open raphaelgoetter opened 9 years ago

raphaelgoetter commented 9 years ago

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.

hicTech commented 9 years ago

Many thx.... I'll keep in mind for next version.