Difference between revisions of "Template:Box-flex"

From blackwiki
Jump to navigation Jump to search
(typo)
imported>Andrybak
m (use Template:Flex templates for documentation)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>-ms-flex: {{{1|1 0 auto}}}; -webkit-flex: {{{1|1 0 auto}}}; flex: {{{1|1 0 auto}}};</includeonly><noinclude>
+
<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 ===
 
=== Compatibility ===
Line 7: Line 9:
  
 
===See also===
 
===See also===
* {{tl|display-flex}}
+
{{Flex templates}}
* {{tl|flex-direction}}
 
  
 
[[Category:Cross-browser compatibility templates]]
 
[[Category:Cross-browser compatibility templates]]
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 11:55, 19 June 2020

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