CSS box-flex Property Reference

The CSS box-flex property is a nonstandard property in Mozilla Extensions. Review its formal syntax, computed behavior, and practical declarations.

CSS box-flex Property Reference

The CSS box-flex property is a nonstandard property in Mozilla Extensions. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

box-flex overview

The CSS box-flex property is a nonstandard property in Mozilla Extensions. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

box-flex formal syntax
FieldValue
Formal syntax<number>
Initial value0
Applies todirectChildrenOfElementsWithDisplayMozBoxMozInlineBox
InheritedNo
Percentagesno
Computed valueasSpecified
Animation typediscrete
Mediavisual
Specification groupMozilla Extensions
StatusNonstandard

Practical examples

These declarations demonstrate valid ways to set box-flex. The initial and inherit global keywords remain available even when a property-specific value is preferable.

box-flex live example
CSS .reset-example { box-flex: initial; } .inherit-example { box-flex: inherit; } @supports (box-flex: initial) { .supported { box-flex: initial; } }

Description

The CSS box-flex property is a nonstandard property in Mozilla Extensions. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: box-flex
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies