property

Box flex group — CSS reference

Deprecated historical CSS. Assigned priority groups for distributing space in the historical box model. Modern Flexbox has no direct priority-group equivalent; use explicit constraints and growth factors instead. The example grows the first item, not a general reproduction of grouped allocation. Do not use the unprefixed historical syntax for new sites.

Formal Syntax & Structure

css syntaxcss
box-flex-group: 1;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>box-flex-group</title><style>body{margin:0;background:white}#a{box-sizing:border-box}#a{display:flex;width:200px;height:100px;align-items:flex-start}#b,#c{width:40px;height:20px;background:lightblue}#a{}#b{flex-grow:1}</style><body><div id="a"><div id="b">A</div><div id="c">B</div></div></body></html>
CSS Reference