Difference between revisions of "Template:Box-flex"
Jump to navigation
Jump to search
imported>Edokter ({{doc}}) |
imported>Andrybak m (use Template:Flex templates for documentation) |
||
| (4 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <includeonly>-ms-flex: {{{1|1 | + | <includeonly>-ms-flex: {{{1|0 1 auto}}}; -webkit-flex: {{{1|0 1 auto}}}; flex: {{{1|0 1 auto}}};</includeonly><noinclude> |
{{documentation|content= | {{documentation|content= | ||
| − | This template sets up the parameters for the <code>flex</code> CSS property. Despite its name, it does ''not'' support the old <code>-''n''-box-flex</code> syntax. | + | This template sets up the parameters for the <code>flex</code> CSS property. Default is <code>0 1 auto</code>. |
| + | |||
| + | Despite its name, it does ''not'' support the old <code>-''n''-box-flex</code> syntax. | ||
| + | |||
| + | === Compatibility === | ||
| + | * See [https://developer.mozilla.org/en-US/docs/CSS/flex#Browser_compatibility flex] on the Mozilla Developer Network for all browser compatibility details. | ||
===See also=== | ===See also=== | ||
| − | + | {{Flex templates}} | |
| − | |||
[[Category:Cross-browser compatibility templates]] | [[Category:Cross-browser compatibility templates]] | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 11:55, 19 June 2020
50px Template documentation
This template sets up the parameters for the flex CSS property. Default is 0 1 auto.
Despite its name, it does not support the old -n-box-flex syntax.
Compatibility
- See flex on the Mozilla Developer Network for all browser compatibility details.
See also
- {{box-flex}}
- {{display-flex}}
- {{flex-direction}}
- {{flex-wrap}}
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |