concept

flex-specified-size-suggestion — CSS reference

A definite, non-auto preferred main size can cap the content-based automatic minimum. It is not synonymous with flex-basis: a definite basis alone is not the specified-size suggestion.

Formal Syntax & Structure

css syntaxcss
width: 90px; min-width: auto;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS flexible sizing lab</title><style>body {margin:0} .sample {background:#dcebe9;color:#182e32}#p{display:flex;width:300px;align-items:flex-start;background:#e6eef2} #p>*{box-sizing:content-box;min-width:0;height:30px;background:#128579;color:white} #b{background:#326c9d}#p{width:180px}#a{flex:1 1 0;min-width:auto}#b{flex:0 0 60px}#a{width:90px;flex:0 1 90px}</style><body><div id="p"><div id="a"><div style="width:200px">Wide content</div></div><div id="b">B</div></div></body></html>
CSS Reference