Reputation: 2800
Having the code:
.vc_tta-panels-container {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 1;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
But getting following error in W3C validation:
auto is not a flex-flow value : 1 1 auto
Upvotes: 2
Views: 215
Reputation: 288260
flex: 1 1 auto
is standard, as said by the spec:
flex: auto
. Equivalent toflex: 1 1 auto
. Sizes the item based on thewidth
/height
properties, but makes them fully flexible, so that they absorb any free space along the main axis.
You can just ignore the error, it's a bug of the validator. Alternatively, use the equivalent flex: auto
, which is accepted as valid.
Upvotes: 4