Word Break

Specify how words should break when reaching the edge of a line.

Widely available

This feature is well established and works across many devices and browser versions.

Chrome
Edge
Firefox
Safari

wb-ap
word-break: auto-phrase;
wb-ba
word-break: break-all;
wb-ka
word-break: keep-all;
wb-n
word-break: normal;

Responsiveness

Use breakpoint prefixes to target different screen sizes.

sm:wb-(value)
Small640px
md:wb-(value)
Medium768px
lg:wb-(value)
Large1024px
xxl:wb-(value)
Extra Large1536px

Hover State

Apply styles conditionally on hover using the h: prefix.

Add the h: prefix to apply styles only when the user hovers over the element.

Syntax:h:wb-(value)