This property (which applies to inline elements) sets whether line breaks should be inserted within an otherwise unbreakable string to prevent text from overflowing its line box.
Values for "overflow-wrap"
CSS Level | Value |
CSS Text Level 3 | "normal | break-word | anywhere" |
Notes
- This property only has an effect when 'white-space' allows wrapping.
- This property was originally a Microsoft proprietary property (implemented by most browsers) named "word-wrap", but has been renamed to "overflow-wrap". For maximum compatibility (especially with IE and Edge) use "word-wrap" (which is now considered an alternate name for "overflow-wrap") instead of, or in addition to, "overflow-wrap".
Recommended Links
Search Engine Links (for more information)