hyphenate-before property CSS Reference



Definition and Usage

This property specifies the minimum number of characters in a hyphenated word before the hyphenation character. The 'auto' value means that the UA chooses a value that adapts to the current layout.

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

Syntax

hyphenate-before: <integer> | auto;

Examples

.class {
    hyphenate-before: 10;
}

Relative articles