BaselineShift

Type Alias BaselineShift 

Source
pub type BaselineShift = GenericBaselineShift<LengthPercentage>;
Expand description

A computed value for the baseline-shift property.

Aliased Type§

#[repr(C, u8)]
pub enum BaselineShift { Keyword(BaselineShiftKeyword), Length(LengthPercentage), }

Variants§

§

Keyword(BaselineShiftKeyword)

One of the baseline-shift keywords

§

Length(LengthPercentage)

Raise (positive value) or lower (negative value) by the specified length or specified percentage of the line-height.