concept
Grid partial flex fill — CSS reference
When total flexible factors are below one and the base sizes do not force a larger allocation, the tracks consume only that fraction of the available remainder. This is a request for partial fill, not a normalization to 100%.
Formal Syntax & Structure
css syntaxcss
grid-template-columns: .2fr .3fr;Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>grid-partial-flex-fill</title><style>body{margin:0}#g{display:grid;width:300px;grid-template-columns:100px 1fr;grid-auto-rows:40px;justify-content:start;align-content:start;background:#e8edf1}#g>*{background:#126f70;color:white}#b{background:#325d8c}#g{grid-template-columns:.2fr .3fr}</style><body><div id="g"><div id="a">A</div><div id="b">B</div></div></body></html>