hyphenate-lines property CSS Reference

Definition and Usage

This property indicates the maximum number of successive hyphenated lines in an element. In some cases, user agents may not be able to honor the specified value. The 'no-limit' value means that there is no limit.

Name: hyphenate-lines
Value: no-limit | <integer>
Initial: no-limit
Applies to: all elements
Inherited: yes
Percentages: N/A
Media: visual
Computed value: specified value


hyphenate-lines: no-limit | <integer> ;


.class {
hyphenate-lines: 5;

Relative articles