drop-initial-size property CSS Reference



Definition and Usage

The 'drop-initial-size' property controls the partial sinking of the initial letter. Using any other value than 'auto' removes the secondary connection line constraint.

Name: drop-initial-size
Value: auto | <line> | <length> | <percentage>
Initial: auto
Applies to: ::first-letter pseudo element
Inherited: no
Percentages: refer to combined line height size as provided by drop-initial-value
Media: visual
Computed value: specified values (except for initial and inherit)

Syntax

drop-initial-size : auto | <line> | <length> | <percentage> ;

Values

auto
The drop initial letter is sized according to the constraints created by the the ink filling strategy and the two connection lines.
<line>
The drop initial letter is sized using the combined line height of the nth lines (as determined by the line value). The letter may be stretched on one dimension if the line height of each line is variable to avoid circular issues.
<length>
The drop initial letter is sized using the length value.
<percentage>
The drop initial letter is sized relatively to the combined line height of the n lines determined by the 'drop-initial-value' property value.

Examples

.class {
    drop-initial-size: 2% ;
}

Relative articles