Padding

Type Alias Padding 

Source
pub type Padding = Spacing;
Expand description

Represents CSS padding

Aliased Type§

pub enum Padding {
    All(Length),
    VH(Length, Length),
    THB(Length, Length, Length),
    TRBL(Length, Length, Length, Length),
}

Variants§

§

All(Length)

Single value (all sides)

§

VH(Length, Length)

Vertical and horizontal

§

THB(Length, Length, Length)

Top, horizontal, bottom

§

TRBL(Length, Length, Length, Length)

Top, right, bottom, left