FANDOM



The CSS -moz-box-flex Mozilla extension property specifies how a box should grow to fill the box that contains it, in the direction of the containing box's layout. This property can also be applied in HTML.

Values

  • 0 - The box does not grow.
  • >0 - The box grows to fill a proportion of the available space.


HTML example:

<span style="background:transparent; padding:10px; border:thin solid white;">
<span style="-moz-box-flex:1;">TEXT</span>
</span>


CSS example:

box.example {
	     -moz-box-flex:1;
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.