mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-17 15:11:04 +00:00
22 lines
654 B
JavaScript
22 lines
654 B
JavaScript
/*!
|
|
{
|
|
"name": "Flexbox",
|
|
"property": "flexbox",
|
|
"caniuse": "flexbox",
|
|
"tags": ["css"],
|
|
"notes": [{
|
|
"name": "The _new_ flexbox",
|
|
"href": "https://www.w3.org/TR/css-flexbox-1/"
|
|
}],
|
|
"warnings": [
|
|
"A `true` result for this detect does not imply that the `flex-wrap` property is supported; see the `flexwrap` detect."
|
|
]
|
|
}
|
|
!*/
|
|
/* DOC
|
|
Detects support for the Flexible Box Layout model, a.k.a. Flexbox, which allows easy manipulation of layout order and sizing within a container.
|
|
*/
|
|
define(['Modernizr', 'testAllProps'], function(Modernizr, testAllProps) {
|
|
Modernizr.addTest('flexbox', testAllProps('flexBasis', '1px', true));
|
|
});
|