word-break
Determines if the browser can break a single word into multiple lines when it's too long to fit. This is essential for preventing long URLs or unbroken strings of text from breaking your layout on small screens.
Quick example
.sidebar-url {
/* forces long links to break and wrap to the next line */
word-break: break-all;
} Quick facts
Initial value
normalInherited
Yes
Applies to
all elements
Animation type
discrete
Values
normalbreak-allkeep-allbreak-wordauto-phrase word-break Browser Support
Widely available Since 2015 96% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.
Safe to use without fallbacks.
1+
15+
3+
12+