property
overflow-wrap — CSS reference
Allows emergency breaks in otherwise unbreakable strings. Initial normal and inherited. Anywhere includes its added opportunities in min-content sizing, unlike break-word.
Formal Syntax & Structure
css syntaxcss
normal | break-word | anywhereWorking Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>Text geometry lab</title><style>#a,#b{width:80px;font:16px/20px monospace;margin:0}#a{overflow-wrap:anywhere}#b{overflow-wrap:normal}</style><body><p id="a">unbreakablelongidentifier</p><p id="b">unbreakablelongidentifier</p></body></html>