Type Alias VerticalAlign

Source
pub type VerticalAlign = GenericVerticalAlign<LengthPercentage>;
Expand description

A specified value for the vertical-align property.

Aliased Type§

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

Variants§

§

Keyword(VerticalAlignKeyword)

One of the vertical-align keywords.

§

Length(LengthPercentage)

<length-percentage>

Trait Implementations§

Source§

impl Parse for VerticalAlign

Source§

fn parse<'i, 't>( context: &ParserContext<'_>, input: &mut Parser<'i, 't>, ) -> Result<Self, ParseError<'i>>

Parse a value of this type. Read more