Type Alias style::values::computed::text::TextIndent

source ·
pub type TextIndent = GenericTextIndent<LengthPercentage>;
Expand description

The computed value of text-indent.

Aliased Type§

struct TextIndent {
    pub length: LengthPercentage,
    pub hanging: bool,
    pub each_line: bool,
}

Fields§

§length: LengthPercentage

The amount of indent to be applied to the inline-start of the first line.

§hanging: bool

Apply indent to non-first lines instead of first.

§each_line: bool

Apply to each line after a hard break, not only first in block.