--- title: flex-flow slug: Web/CSS/flex-flow tags: - CSS - CSS Flexible Boxes - Propiedad CSS - Referencia translation_of: Web/CSS/flex-flow --- <div>{{ CSSRef}}</div> <h2 id="Resumen">Resumen</h2> <p>La propiedad <a href="/en-US/docs/CSS" title="CSS">CSS</a> <strong><code>flex-flow</code></strong> es una propiedad atajo para las propiedades individuales <code>flex-direction</code> y <code>flex-wrap</code>.</p> <p>{{cssinfo}}</p> <p>Para más propiedades e información ve <a href="/en-US/docs/CSS/Using_CSS_flexible_boxes" title="/en-US/docs/CSS/Using_CSS_flexible_boxes">Utilizando cajas flexibles CSS</a>.</p> <h2 id="Sintaxis">Sintaxis</h2> <pre class="brush:css">/* flex-flow: <'flex-direction'> */ flex-flow: row; flex-flow: row-reverse; flex-flow: column; flex-flow: column-reverse; /* flex-flow: <'flex-wrap'> */ flex-flow: nowrap; flex-flow: wrap; flex-flow: wrap-reverse; /* flex-flow: <'flex-direction'> and <'flex-wrap'> */ flex-flow: row nowrap; flex-flow: column wrap; flex-flow: column-reverse wrap-reverse; /* valores globales */ flex-flow: inherit; flex-flow: initial; flex-flow: unset; </pre> <h3 id="Valores">Valores</h3> <p>Ve <a href="/en-US/docs/CSS/flex-direction" title="en-US/docs/CSS/flex-direction"><code>flex-direction</code></a> y <a href="/en-US/docs/CSS/flex-wrap" title="flex-wrap"><code>flex-wrap</code></a> para más detalles de los valores.</p> <h3 id="Sintaxis_formal">Sintaxis formal</h3> {{csssyntax}} <h2 id="Ejemplos">Ejemplos</h2> <pre class="brush:css;highlight:3">element { /* Main-axis es la dirección de bloque con main-start y main-end opuesto. Los artículos flex se distribuyen en múltiples líneas */ flex-flow: column-reverse wrap; } </pre> <h2 id="Specifications" name="Specifications">Especificaciones</h2> <table class="standard-table"> <thead> <tr> <th scope="col">Especificación</th> <th scope="col">Estado</th> <th scope="col">Comentario</th> </tr> </thead> <tbody> <tr> <td>{{ SpecName('CSS3 Flexbox','#flex-flow','flex-flow') }}</td> <td>{{ Spec2('CSS3 Flexbox') }}</td> <td>Definición inicial</td> </tr> </tbody> </table> <h2 id="Compatibilidad_de_navegador">Compatibilidad de navegador</h2> <p>{{ CompatibilityTable() }}</p> <div id="compat-desktop"> <table class="compat-table"> <tbody> <tr> <th>Característica</th> <th>Firefox (Gecko)</th> <th>Chrome</th> <th>Internet Explorer</th> <th>Opera</th> <th>Safari</th> </tr> <tr> <td>Soporte básico</td> <td>28.0</td> <td>21.0{{property_prefix("-webkit")}}<br> 29.0</td> <td>11</td> <td>12.10</td> <td>6.1{{ property_prefix("-webkit") }}</td> </tr> </tbody> </table> </div> <div id="compat-mobile"> <table class="compat-table"> <tbody> <tr> <th>Característica</th> <th>Firefox Mobile (Gecko)</th> <th>Android</th> <th>IE Phone</th> <th>Opera Mobile</th> <th>Safari Mobile</th> </tr> <tr> <td>Soporte básico</td> <td>28.0</td> <td>{{ CompatUnknown() }}</td> <td>11</td> <td>12.10</td> <td>7.1{{ property_prefix("-webkit") }}</td> </tr> </tbody> </table> </div> <h2 id="Ver_también">Ver también</h2> <ul> <li><a href="/en-US/docs/CSS/Using_CSS_flexible_boxes" title="/en-US/docs/CSS/Using_CSS_flexible_boxes">Utilizando cajas flexibles CSS</a></li> </ul>