data-type
<overflow-position> — CSS reference
Safe or unsafe qualifies positional alignment. Safe alignment falls back toward start when centering would cause data loss through overflow; unsafe preserves requested alignment.
Formal Syntax & Structure
css syntaxcss
justify-content: safe center;Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title><overflow-position></title><style>body{margin:0;background:white}#a{box-sizing:border-box}#a{display:flex;width:100px;justify-content:safe center}#a span{flex:0 0 160px}</style><body><div id="a"><span>Long</span></div></body></html>