CSS Hyphenate-Lines Property

CSS 1

CSS 2

CSS 3

No No Yes

Description

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.

Syntax

hyphenate-lines: [value];

Possible values

  • no-limit
  • [integer]

Initial Value

no-limit

Applies To

All elements

Inherited

Yes

Media

Visual

Example

.class {
  hyphenate-lines: 5  ;
}


View All CSS Properties