hyphenate-before property

Image Tutorials

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

1 .class {
2     hyphenate-before: 10;
3 }

Rate article