CSS hyphens Property


The CSS Hyphens Property specifies how words should be hyphenated in order to create soft wrap opportunities within words.

Syntax

Example

Preview

Property Values

Value Description
none No words are hyphenated.
manual Default. Only words with ‐ or ­ are hyphenated (if needed).
auto Where the algorithm decides, words are hyphenated (if needed).
initial This property is set to its default value.
inherit This property is inherited from its parent element.

Supported Browsers

Property Chrome Firefox Safari Edge / IE Opera
hyphens 55.0 43.0 5.1 -webkit- 79.0
10.0 -ms-
44.0