pub enum Property<'i> {
Show 335 variants BackgroundColor(CssColor), BackgroundImage(SmallVec<[Image<'i>; 1]>), BackgroundPositionX(SmallVec<[HorizontalPosition; 1]>), BackgroundPositionY(SmallVec<[VerticalPosition; 1]>), BackgroundPosition(SmallVec<[BackgroundPosition; 1]>), BackgroundSize(SmallVec<[BackgroundSize; 1]>), BackgroundRepeat(SmallVec<[BackgroundRepeat; 1]>), BackgroundAttachment(SmallVec<[BackgroundAttachment; 1]>), BackgroundClip(SmallVec<[BackgroundClip; 1]>, VendorPrefix), BackgroundOrigin(SmallVec<[BackgroundOrigin; 1]>), Background(SmallVec<[Background<'i>; 1]>), BoxShadow(SmallVec<[BoxShadow; 1]>, VendorPrefix), Opacity(AlphaValue), Color(CssColor), Display(Display), Visibility(Visibility), Width(Size), Height(Size), MinWidth(Size), MinHeight(Size), MaxWidth(MaxSize), MaxHeight(MaxSize), BlockSize(Size), InlineSize(Size), MinBlockSize(Size), MinInlineSize(Size), MaxBlockSize(MaxSize), MaxInlineSize(MaxSize), BoxSizing(BoxSizingVendorPrefix), Overflow(Overflow), OverflowX(OverflowKeyword), OverflowY(OverflowKeyword), TextOverflow(TextOverflowVendorPrefix), Position(Position), Top(LengthPercentageOrAuto), Bottom(LengthPercentageOrAuto), Left(LengthPercentageOrAuto), Right(LengthPercentageOrAuto), InsetBlockStart(LengthPercentageOrAuto), InsetBlockEnd(LengthPercentageOrAuto), InsetInlineStart(LengthPercentageOrAuto), InsetInlineEnd(LengthPercentageOrAuto), InsetBlock(InsetBlock), InsetInline(InsetInline), Inset(Inset), BorderTopColor(CssColor), BorderBottomColor(CssColor), BorderLeftColor(CssColor), BorderRightColor(CssColor), BorderBlockStartColor(CssColor), BorderBlockEndColor(CssColor), BorderInlineStartColor(CssColor), BorderInlineEndColor(CssColor), BorderTopStyle(LineStyle), BorderBottomStyle(LineStyle), BorderLeftStyle(LineStyle), BorderRightStyle(LineStyle), BorderBlockStartStyle(LineStyle), BorderBlockEndStyle(LineStyle), BorderInlineStartStyle(LineStyle), BorderInlineEndStyle(LineStyle), BorderTopWidth(BorderSideWidth), BorderBottomWidth(BorderSideWidth), BorderLeftWidth(BorderSideWidth), BorderRightWidth(BorderSideWidth), BorderBlockStartWidth(BorderSideWidth), BorderBlockEndWidth(BorderSideWidth), BorderInlineStartWidth(BorderSideWidth), BorderInlineEndWidth(BorderSideWidth), BorderTopLeftRadius(Size2D<LengthPercentage>, VendorPrefix), BorderTopRightRadius(Size2D<LengthPercentage>, VendorPrefix), BorderBottomLeftRadius(Size2D<LengthPercentage>, VendorPrefix), BorderBottomRightRadius(Size2D<LengthPercentage>, VendorPrefix), BorderStartStartRadius(Size2D<LengthPercentage>), BorderStartEndRadius(Size2D<LengthPercentage>), BorderEndStartRadius(Size2D<LengthPercentage>), BorderEndEndRadius(Size2D<LengthPercentage>), BorderRadius(BorderRadiusVendorPrefix), BorderImageSource(Image<'i>), BorderImageOutset(Rect<LengthOrNumber>), BorderImageRepeat(BorderImageRepeat), BorderImageWidth(Rect<BorderImageSideWidth>), BorderImageSlice(BorderImageSlice), BorderImage(BorderImage<'i>, VendorPrefix), BorderColor(BorderColor), BorderStyle(BorderStyle), BorderWidth(BorderWidth), BorderBlockColor(BorderBlockColor), BorderBlockStyle(BorderBlockStyle), BorderBlockWidth(BorderBlockWidth), BorderInlineColor(BorderInlineColor), BorderInlineStyle(BorderInlineStyle), BorderInlineWidth(BorderInlineWidth), Border(Border), BorderTop(BorderTop), BorderBottom(BorderBottom), BorderLeft(BorderLeft), BorderRight(BorderRight), BorderBlock(BorderBlock), BorderBlockStart(BorderBlockStart), BorderBlockEnd(BorderBlockEnd), BorderInline(BorderInline), BorderInlineStart(BorderInlineStart), BorderInlineEnd(BorderInlineEnd), Outline(Outline), OutlineColor(CssColor), OutlineStyle(OutlineStyle), OutlineWidth(BorderSideWidth), FlexDirection(FlexDirectionVendorPrefix), FlexWrap(FlexWrapVendorPrefix), FlexFlow(FlexFlowVendorPrefix), FlexGrow(CSSNumberVendorPrefix), FlexShrink(CSSNumberVendorPrefix), FlexBasis(LengthPercentageOrAutoVendorPrefix), Flex(FlexVendorPrefix), Order(CSSIntegerVendorPrefix), AlignContent(AlignContentVendorPrefix), JustifyContent(JustifyContentVendorPrefix), PlaceContent(PlaceContent), AlignSelf(AlignSelfVendorPrefix), JustifySelf(JustifySelf), PlaceSelf(PlaceSelf), AlignItems(AlignItemsVendorPrefix), JustifyItems(JustifyItems), PlaceItems(PlaceItems), RowGap(GapValue), ColumnGap(GapValue), Gap(Gap), BoxOrient(BoxOrientVendorPrefix), BoxDirection(BoxDirectionVendorPrefix), BoxOrdinalGroup(CSSIntegerVendorPrefix), BoxAlign(BoxAlignVendorPrefix), BoxFlex(CSSNumberVendorPrefix), BoxFlexGroup(CSSIntegerVendorPrefix), BoxPack(BoxPackVendorPrefix), BoxLines(BoxLinesVendorPrefix), FlexPack(FlexPackVendorPrefix), FlexOrder(CSSIntegerVendorPrefix), FlexAlign(BoxAlignVendorPrefix), FlexItemAlign(FlexItemAlignVendorPrefix), FlexLinePack(FlexLinePackVendorPrefix), FlexPositive(CSSNumberVendorPrefix), FlexNegative(CSSNumberVendorPrefix), FlexPreferredSize(LengthPercentageOrAutoVendorPrefix), GridTemplateColumns(TrackSizing<'i>), GridTemplateRows(TrackSizing<'i>), GridAutoColumns(TrackSizeList), GridAutoRows(TrackSizeList), GridAutoFlow(GridAutoFlow), GridTemplateAreas(GridTemplateAreas), GridTemplate(GridTemplate<'i>), Grid(Grid<'i>), GridRowStart(GridLine<'i>), GridRowEnd(GridLine<'i>), GridColumnStart(GridLine<'i>), GridColumnEnd(GridLine<'i>), GridRow(GridRow<'i>), GridColumn(GridColumn<'i>), GridArea(GridArea<'i>), MarginTop(LengthPercentageOrAuto), MarginBottom(LengthPercentageOrAuto), MarginLeft(LengthPercentageOrAuto), MarginRight(LengthPercentageOrAuto), MarginBlockStart(LengthPercentageOrAuto), MarginBlockEnd(LengthPercentageOrAuto), MarginInlineStart(LengthPercentageOrAuto), MarginInlineEnd(LengthPercentageOrAuto), MarginBlock(MarginBlock), MarginInline(MarginInline), Margin(Margin), PaddingTop(LengthPercentageOrAuto), PaddingBottom(LengthPercentageOrAuto), PaddingLeft(LengthPercentageOrAuto), PaddingRight(LengthPercentageOrAuto), PaddingBlockStart(LengthPercentageOrAuto), PaddingBlockEnd(LengthPercentageOrAuto), PaddingInlineStart(LengthPercentageOrAuto), PaddingInlineEnd(LengthPercentageOrAuto), PaddingBlock(PaddingBlock), PaddingInline(PaddingInline), Padding(Padding), ScrollMarginTop(LengthPercentageOrAuto), ScrollMarginBottom(LengthPercentageOrAuto), ScrollMarginLeft(LengthPercentageOrAuto), ScrollMarginRight(LengthPercentageOrAuto), ScrollMarginBlockStart(LengthPercentageOrAuto), ScrollMarginBlockEnd(LengthPercentageOrAuto), ScrollMarginInlineStart(LengthPercentageOrAuto), ScrollMarginInlineEnd(LengthPercentageOrAuto), ScrollMarginBlock(ScrollMarginBlock), ScrollMarginInline(ScrollMarginInline), ScrollMargin(ScrollMargin), ScrollPaddingTop(LengthPercentageOrAuto), ScrollPaddingBottom(LengthPercentageOrAuto), ScrollPaddingLeft(LengthPercentageOrAuto), ScrollPaddingRight(LengthPercentageOrAuto), ScrollPaddingBlockStart(LengthPercentageOrAuto), ScrollPaddingBlockEnd(LengthPercentageOrAuto), ScrollPaddingInlineStart(LengthPercentageOrAuto), ScrollPaddingInlineEnd(LengthPercentageOrAuto), ScrollPaddingBlock(ScrollPaddingBlock), ScrollPaddingInline(ScrollPaddingInline), ScrollPadding(ScrollPadding), FontWeight(FontWeight), FontSize(FontSize), FontStretch(FontStretch), FontFamily(Vec<FontFamily<'i>>), FontStyle(FontStyle), FontVariantCaps(FontVariantCaps), LineHeight(LineHeight), Font(Font<'i>), VerticalAlign(VerticalAlign), FontPalette(DashedIdentReference<'i>), TransitionProperty(SmallVec<[PropertyId<'i>; 1]>, VendorPrefix), TransitionDuration(SmallVec<[Time; 1]>, VendorPrefix), TransitionDelay(SmallVec<[Time; 1]>, VendorPrefix), TransitionTimingFunction(SmallVec<[EasingFunction; 1]>, VendorPrefix), Transition(SmallVec<[Transition<'i>; 1]>, VendorPrefix), AnimationName(AnimationNameList<'i>, VendorPrefix), AnimationDuration(SmallVec<[Time; 1]>, VendorPrefix), AnimationTimingFunction(SmallVec<[EasingFunction; 1]>, VendorPrefix), AnimationIterationCount(SmallVec<[AnimationIterationCount; 1]>, VendorPrefix), AnimationDirection(SmallVec<[AnimationDirection; 1]>, VendorPrefix), AnimationPlayState(SmallVec<[AnimationPlayState; 1]>, VendorPrefix), AnimationDelay(SmallVec<[Time; 1]>, VendorPrefix), AnimationFillMode(SmallVec<[AnimationFillMode; 1]>, VendorPrefix), Animation(AnimationList<'i>, VendorPrefix), Transform(TransformListVendorPrefix), TransformOrigin(PositionVendorPrefix), TransformStyle(TransformStyleVendorPrefix), TransformBox(TransformBox), BackfaceVisibility(BackfaceVisibilityVendorPrefix), Perspective(PerspectiveVendorPrefix), PerspectiveOrigin(PositionVendorPrefix), Translate(Translate), Rotate(Rotate), Scale(Scale), TextTransform(TextTransform), WhiteSpace(WhiteSpace), TabSize(LengthOrNumberVendorPrefix), WordBreak(WordBreak), LineBreak(LineBreak), Hyphens(HyphensVendorPrefix), OverflowWrap(OverflowWrap), WordWrap(OverflowWrap), TextAlign(TextAlign), TextAlignLast(TextAlignLastVendorPrefix), TextJustify(TextJustify), WordSpacing(Spacing), LetterSpacing(Spacing), TextIndent(TextIndent), TextDecorationLine(TextDecorationLineVendorPrefix), TextDecorationStyle(TextDecorationStyleVendorPrefix), TextDecorationColor(CssColorVendorPrefix), TextDecorationThickness(TextDecorationThickness), TextDecoration(TextDecorationVendorPrefix), TextDecorationSkipInk(TextDecorationSkipInkVendorPrefix), TextEmphasisStyle(TextEmphasisStyle<'i>, VendorPrefix), TextEmphasisColor(CssColorVendorPrefix), TextEmphasis(TextEmphasis<'i>, VendorPrefix), TextEmphasisPosition(TextEmphasisPositionVendorPrefix), TextShadow(SmallVec<[TextShadow; 1]>), BoxDecorationBreak(BoxDecorationBreakVendorPrefix), Resize(Resize), Cursor(Cursor<'i>), CaretColor(ColorOrAuto), CaretShape(CaretShape), Caret(Caret), UserSelect(UserSelectVendorPrefix), AccentColor(ColorOrAuto), Appearance(Appearance<'i>, VendorPrefix), ListStyleType(ListStyleType<'i>), ListStyleImage(Image<'i>), ListStylePosition(ListStylePosition), ListStyle(ListStyle<'i>), MarkerSide(MarkerSide), Composes(Composes<'i>), Fill(SVGPaint<'i>), FillRule(FillRule), FillOpacity(AlphaValue), Stroke(SVGPaint<'i>), StrokeOpacity(AlphaValue), StrokeWidth(LengthPercentage), StrokeLinecap(StrokeLinecap), StrokeLinejoin(StrokeLinejoin), StrokeMiterlimit(CSSNumber), StrokeDasharray(StrokeDasharray), StrokeDashoffset(LengthPercentage), MarkerStart(Marker<'i>), MarkerMid(Marker<'i>), MarkerEnd(Marker<'i>), Marker(Marker<'i>), ColorInterpolation(ColorInterpolation), ColorInterpolationFilters(ColorInterpolation), ColorRendering(ColorRendering), ShapeRendering(ShapeRendering), TextRendering(TextRendering), ImageRendering(ImageRendering), ClipPath(ClipPath<'i>, VendorPrefix), ClipRule(FillRule), MaskImage(SmallVec<[Image<'i>; 1]>, VendorPrefix), MaskMode(SmallVec<[MaskMode; 1]>), MaskRepeat(SmallVec<[BackgroundRepeat; 1]>, VendorPrefix), MaskPositionX(SmallVec<[HorizontalPosition; 1]>), MaskPositionY(SmallVec<[VerticalPosition; 1]>), MaskPosition(SmallVec<[Position; 1]>, VendorPrefix), MaskClip(SmallVec<[MaskClip; 1]>, VendorPrefix), MaskOrigin(SmallVec<[GeometryBox; 1]>, VendorPrefix), MaskSize(SmallVec<[BackgroundSize; 1]>, VendorPrefix), MaskComposite(SmallVec<[MaskComposite; 1]>), MaskType(MaskType), Mask(SmallVec<[Mask<'i>; 1]>, VendorPrefix), MaskBorderSource(Image<'i>), MaskBorderMode(MaskBorderMode), MaskBorderSlice(BorderImageSlice), MaskBorderWidth(Rect<BorderImageSideWidth>), MaskBorderOutset(Rect<LengthOrNumber>), MaskBorderRepeat(BorderImageRepeat), MaskBorder(MaskBorder<'i>), WebKitMaskComposite(SmallVec<[WebKitMaskComposite; 1]>), WebKitMaskSourceType(SmallVec<[WebKitMaskSourceType; 1]>, VendorPrefix), WebKitMaskBoxImage(BorderImage<'i>, VendorPrefix), WebKitMaskBoxImageSource(Image<'i>, VendorPrefix), WebKitMaskBoxImageSlice(BorderImageSliceVendorPrefix), WebKitMaskBoxImageWidth(Rect<BorderImageSideWidth>, VendorPrefix), WebKitMaskBoxImageOutset(Rect<LengthOrNumber>, VendorPrefix), WebKitMaskBoxImageRepeat(BorderImageRepeatVendorPrefix), Filter(FilterList<'i>, VendorPrefix), BackdropFilter(FilterList<'i>, VendorPrefix), ZIndex(ZIndex), ContainerType(ContainerType), ContainerName(ContainerNameList<'i>), Container(Container<'i>), Unparsed(UnparsedProperty<'i>), Custom(CustomProperty<'i>),
}
Expand description

A CSS property.

Variants

BackgroundColor(CssColor)

The background-color property.

BackgroundImage(SmallVec<[Image<'i>; 1]>)

The background-image property.

BackgroundPositionX(SmallVec<[HorizontalPosition; 1]>)

The background-position-x property.

BackgroundPositionY(SmallVec<[VerticalPosition; 1]>)

The background-position-y property.

BackgroundPosition(SmallVec<[BackgroundPosition; 1]>)

The background-position property.

BackgroundSize(SmallVec<[BackgroundSize; 1]>)

The background-size property.

BackgroundRepeat(SmallVec<[BackgroundRepeat; 1]>)

The background-repeat property.

BackgroundAttachment(SmallVec<[BackgroundAttachment; 1]>)

The background-attachment property.

BackgroundClip(SmallVec<[BackgroundClip; 1]>, VendorPrefix)

The background-clip property.

BackgroundOrigin(SmallVec<[BackgroundOrigin; 1]>)

The background-origin property.

Background(SmallVec<[Background<'i>; 1]>)

The background property.

BoxShadow(SmallVec<[BoxShadow; 1]>, VendorPrefix)

The box-shadow property.

Opacity(AlphaValue)

The opacity property.

Color(CssColor)

The color property.

Display(Display)

The display property.

Visibility(Visibility)

The visibility property.

Width(Size)

The width property.

Height(Size)

The height property.

MinWidth(Size)

The min-width property.

MinHeight(Size)

The min-height property.

MaxWidth(MaxSize)

The max-width property.

MaxHeight(MaxSize)

The max-height property.

BlockSize(Size)

The block-size property.

InlineSize(Size)

The inline-size property.

MinBlockSize(Size)

The min-block-size property.

MinInlineSize(Size)

The min-inline-size property.

MaxBlockSize(MaxSize)

The max-block-size property.

MaxInlineSize(MaxSize)

The max-inline-size property.

BoxSizing(BoxSizingVendorPrefix)

The box-sizing property.

Overflow(Overflow)

The overflow property.

OverflowX(OverflowKeyword)

The overflow-x property.

OverflowY(OverflowKeyword)

The overflow-y property.

TextOverflow(TextOverflowVendorPrefix)

The text-overflow property.

Position(Position)

The position property.

Top(LengthPercentageOrAuto)

The top property.

Bottom(LengthPercentageOrAuto)

The bottom property.

Left(LengthPercentageOrAuto)

The left property.

Right(LengthPercentageOrAuto)

The right property.

InsetBlockStart(LengthPercentageOrAuto)

The inset-block-start property.

InsetBlockEnd(LengthPercentageOrAuto)

The inset-block-end property.

InsetInlineStart(LengthPercentageOrAuto)

The inset-inline-start property.

InsetInlineEnd(LengthPercentageOrAuto)

The inset-inline-end property.

InsetBlock(InsetBlock)

The inset-block property.

InsetInline(InsetInline)

The inset-inline property.

Inset(Inset)

The inset property.

BorderTopColor(CssColor)

The border-top-color property.

BorderBottomColor(CssColor)

The border-bottom-color property.

BorderLeftColor(CssColor)

The border-left-color property.

BorderRightColor(CssColor)

The border-right-color property.

BorderBlockStartColor(CssColor)

The border-block-start-color property.

BorderBlockEndColor(CssColor)

The border-block-end-color property.

BorderInlineStartColor(CssColor)

The border-inline-start-color property.

BorderInlineEndColor(CssColor)

The border-inline-end-color property.

BorderTopStyle(LineStyle)

The border-top-style property.

BorderBottomStyle(LineStyle)

The border-bottom-style property.

BorderLeftStyle(LineStyle)

The border-left-style property.

BorderRightStyle(LineStyle)

The border-right-style property.

BorderBlockStartStyle(LineStyle)

The border-block-start-style property.

BorderBlockEndStyle(LineStyle)

The border-block-end-style property.

BorderInlineStartStyle(LineStyle)

The border-inline-start-style property.

BorderInlineEndStyle(LineStyle)

The border-inline-end-style property.

BorderTopWidth(BorderSideWidth)

The border-top-width property.

BorderBottomWidth(BorderSideWidth)

The border-bottom-width property.

BorderLeftWidth(BorderSideWidth)

The border-left-width property.

BorderRightWidth(BorderSideWidth)

The border-right-width property.

BorderBlockStartWidth(BorderSideWidth)

The border-block-start-width property.

BorderBlockEndWidth(BorderSideWidth)

The border-block-end-width property.

BorderInlineStartWidth(BorderSideWidth)

The border-inline-start-width property.

BorderInlineEndWidth(BorderSideWidth)

The border-inline-end-width property.

BorderTopLeftRadius(Size2D<LengthPercentage>, VendorPrefix)

The border-top-left-radius property.

BorderTopRightRadius(Size2D<LengthPercentage>, VendorPrefix)

The border-top-right-radius property.

BorderBottomLeftRadius(Size2D<LengthPercentage>, VendorPrefix)

The border-bottom-left-radius property.

BorderBottomRightRadius(Size2D<LengthPercentage>, VendorPrefix)

The border-bottom-right-radius property.

BorderStartStartRadius(Size2D<LengthPercentage>)

The border-start-start-radius property.

BorderStartEndRadius(Size2D<LengthPercentage>)

The border-start-end-radius property.

BorderEndStartRadius(Size2D<LengthPercentage>)

The border-end-start-radius property.

BorderEndEndRadius(Size2D<LengthPercentage>)

The border-end-end-radius property.

BorderRadius(BorderRadiusVendorPrefix)

The border-radius property.

BorderImageSource(Image<'i>)

The border-image-source property.

BorderImageOutset(Rect<LengthOrNumber>)

The border-image-outset property.

BorderImageRepeat(BorderImageRepeat)

The border-image-repeat property.

BorderImageWidth(Rect<BorderImageSideWidth>)

The border-image-width property.

BorderImageSlice(BorderImageSlice)

The border-image-slice property.

BorderImage(BorderImage<'i>, VendorPrefix)

The border-image property.

BorderColor(BorderColor)

The border-color property.

BorderStyle(BorderStyle)

The border-style property.

BorderWidth(BorderWidth)

The border-width property.

BorderBlockColor(BorderBlockColor)

The border-block-color property.

BorderBlockStyle(BorderBlockStyle)

The border-block-style property.

BorderBlockWidth(BorderBlockWidth)

The border-block-width property.

BorderInlineColor(BorderInlineColor)

The border-inline-color property.

BorderInlineStyle(BorderInlineStyle)

The border-inline-style property.

BorderInlineWidth(BorderInlineWidth)

The border-inline-width property.

Border(Border)

The border property.

BorderTop(BorderTop)

The border-top property.

BorderBottom(BorderBottom)

The border-bottom property.

BorderLeft(BorderLeft)

The border-left property.

BorderRight(BorderRight)

The border-right property.

BorderBlock(BorderBlock)

The border-block property.

BorderBlockStart(BorderBlockStart)

The border-block-start property.

BorderBlockEnd(BorderBlockEnd)

The border-block-end property.

BorderInline(BorderInline)

The border-inline property.

BorderInlineStart(BorderInlineStart)

The border-inline-start property.

BorderInlineEnd(BorderInlineEnd)

The border-inline-end property.

Outline(Outline)

The outline property.

OutlineColor(CssColor)

The outline-color property.

OutlineStyle(OutlineStyle)

The outline-style property.

OutlineWidth(BorderSideWidth)

The outline-width property.

FlexDirection(FlexDirectionVendorPrefix)

The flex-direction property.

FlexWrap(FlexWrapVendorPrefix)

The flex-wrap property.

FlexFlow(FlexFlowVendorPrefix)

The flex-flow property.

FlexGrow(CSSNumberVendorPrefix)

The flex-grow property.

FlexShrink(CSSNumberVendorPrefix)

The flex-shrink property.

FlexBasis(LengthPercentageOrAutoVendorPrefix)

The flex-basis property.

Flex(FlexVendorPrefix)

The flex property.

Order(CSSIntegerVendorPrefix)

The order property.

AlignContent(AlignContentVendorPrefix)

The align-content property.

JustifyContent(JustifyContentVendorPrefix)

The justify-content property.

PlaceContent(PlaceContent)

The place-content property.

AlignSelf(AlignSelfVendorPrefix)

The align-self property.

JustifySelf(JustifySelf)

The justify-self property.

PlaceSelf(PlaceSelf)

The place-self property.

AlignItems(AlignItemsVendorPrefix)

The align-items property.

JustifyItems(JustifyItems)

The justify-items property.

PlaceItems(PlaceItems)

The place-items property.

RowGap(GapValue)

The row-gap property.

ColumnGap(GapValue)

The column-gap property.

Gap(Gap)

The gap property.

BoxOrient(BoxOrientVendorPrefix)

The box-orient property.

BoxDirection(BoxDirectionVendorPrefix)

The box-direction property.

BoxOrdinalGroup(CSSIntegerVendorPrefix)

The box-ordinal-group property.

BoxAlign(BoxAlignVendorPrefix)

The box-align property.

BoxFlex(CSSNumberVendorPrefix)

The box-flex property.

BoxFlexGroup(CSSIntegerVendorPrefix)

The box-flex-group property.

BoxPack(BoxPackVendorPrefix)

The box-pack property.

BoxLines(BoxLinesVendorPrefix)

The box-lines property.

FlexPack(FlexPackVendorPrefix)

The flex-pack property.

FlexOrder(CSSIntegerVendorPrefix)

The flex-order property.

FlexAlign(BoxAlignVendorPrefix)

The flex-align property.

FlexItemAlign(FlexItemAlignVendorPrefix)

The flex-item-align property.

FlexLinePack(FlexLinePackVendorPrefix)

The flex-line-pack property.

FlexPositive(CSSNumberVendorPrefix)

The flex-positive property.

FlexNegative(CSSNumberVendorPrefix)

The flex-negative property.

FlexPreferredSize(LengthPercentageOrAutoVendorPrefix)

The flex-preferred-size property.

GridTemplateColumns(TrackSizing<'i>)

The grid-template-columns property.

GridTemplateRows(TrackSizing<'i>)

The grid-template-rows property.

GridAutoColumns(TrackSizeList)

The grid-auto-columns property.

GridAutoRows(TrackSizeList)

The grid-auto-rows property.

GridAutoFlow(GridAutoFlow)

The grid-auto-flow property.

GridTemplateAreas(GridTemplateAreas)

The grid-template-areas property.

GridTemplate(GridTemplate<'i>)

The grid-template property.

Grid(Grid<'i>)

The grid property.

GridRowStart(GridLine<'i>)

The grid-row-start property.

GridRowEnd(GridLine<'i>)

The grid-row-end property.

GridColumnStart(GridLine<'i>)

The grid-column-start property.

GridColumnEnd(GridLine<'i>)

The grid-column-end property.

GridRow(GridRow<'i>)

The grid-row property.

GridColumn(GridColumn<'i>)

The grid-column property.

GridArea(GridArea<'i>)

The grid-area property.

MarginTop(LengthPercentageOrAuto)

The margin-top property.

MarginBottom(LengthPercentageOrAuto)

The margin-bottom property.

MarginLeft(LengthPercentageOrAuto)

The margin-left property.

MarginRight(LengthPercentageOrAuto)

The margin-right property.

MarginBlockStart(LengthPercentageOrAuto)

The margin-block-start property.

MarginBlockEnd(LengthPercentageOrAuto)

The margin-block-end property.

MarginInlineStart(LengthPercentageOrAuto)

The margin-inline-start property.

MarginInlineEnd(LengthPercentageOrAuto)

The margin-inline-end property.

MarginBlock(MarginBlock)

The margin-block property.

MarginInline(MarginInline)

The margin-inline property.

Margin(Margin)

The margin property.

PaddingTop(LengthPercentageOrAuto)

The padding-top property.

PaddingBottom(LengthPercentageOrAuto)

The padding-bottom property.

PaddingLeft(LengthPercentageOrAuto)

The padding-left property.

PaddingRight(LengthPercentageOrAuto)

The padding-right property.

PaddingBlockStart(LengthPercentageOrAuto)

The padding-block-start property.

PaddingBlockEnd(LengthPercentageOrAuto)

The padding-block-end property.

PaddingInlineStart(LengthPercentageOrAuto)

The padding-inline-start property.

PaddingInlineEnd(LengthPercentageOrAuto)

The padding-inline-end property.

PaddingBlock(PaddingBlock)

The padding-block property.

PaddingInline(PaddingInline)

The padding-inline property.

Padding(Padding)

The padding property.

ScrollMarginTop(LengthPercentageOrAuto)

The scroll-margin-top property.

ScrollMarginBottom(LengthPercentageOrAuto)

The scroll-margin-bottom property.

ScrollMarginLeft(LengthPercentageOrAuto)

The scroll-margin-left property.

ScrollMarginRight(LengthPercentageOrAuto)

The scroll-margin-right property.

ScrollMarginBlockStart(LengthPercentageOrAuto)

The scroll-margin-block-start property.

ScrollMarginBlockEnd(LengthPercentageOrAuto)

The scroll-margin-block-end property.

ScrollMarginInlineStart(LengthPercentageOrAuto)

The scroll-margin-inline-start property.

ScrollMarginInlineEnd(LengthPercentageOrAuto)

The scroll-margin-inline-end property.

ScrollMarginBlock(ScrollMarginBlock)

The scroll-margin-block property.

ScrollMarginInline(ScrollMarginInline)

The scroll-margin-inline property.

ScrollMargin(ScrollMargin)

The scroll-margin property.

ScrollPaddingTop(LengthPercentageOrAuto)

The scroll-padding-top property.

ScrollPaddingBottom(LengthPercentageOrAuto)

The scroll-padding-bottom property.

ScrollPaddingLeft(LengthPercentageOrAuto)

The scroll-padding-left property.

ScrollPaddingRight(LengthPercentageOrAuto)

The scroll-padding-right property.

ScrollPaddingBlockStart(LengthPercentageOrAuto)

The scroll-padding-block-start property.

ScrollPaddingBlockEnd(LengthPercentageOrAuto)

The scroll-padding-block-end property.

ScrollPaddingInlineStart(LengthPercentageOrAuto)

The scroll-padding-inline-start property.

ScrollPaddingInlineEnd(LengthPercentageOrAuto)

The scroll-padding-inline-end property.

ScrollPaddingBlock(ScrollPaddingBlock)

The scroll-padding-block property.

ScrollPaddingInline(ScrollPaddingInline)

The scroll-padding-inline property.

ScrollPadding(ScrollPadding)

The scroll-padding property.

FontWeight(FontWeight)

The font-weight property.

FontSize(FontSize)

The font-size property.

FontStretch(FontStretch)

The font-stretch property.

FontFamily(Vec<FontFamily<'i>>)

The font-family property.

FontStyle(FontStyle)

The font-style property.

FontVariantCaps(FontVariantCaps)

The font-variant-caps property.

LineHeight(LineHeight)

The line-height property.

Font(Font<'i>)

The font property.

VerticalAlign(VerticalAlign)

The vertical-align property.

FontPalette(DashedIdentReference<'i>)

The font-palette property.

TransitionProperty(SmallVec<[PropertyId<'i>; 1]>, VendorPrefix)

The transition-property property.

TransitionDuration(SmallVec<[Time; 1]>, VendorPrefix)

The transition-duration property.

TransitionDelay(SmallVec<[Time; 1]>, VendorPrefix)

The transition-delay property.

TransitionTimingFunction(SmallVec<[EasingFunction; 1]>, VendorPrefix)

The transition-timing-function property.

Transition(SmallVec<[Transition<'i>; 1]>, VendorPrefix)

The transition property.

AnimationName(AnimationNameList<'i>, VendorPrefix)

The animation-name property.

AnimationDuration(SmallVec<[Time; 1]>, VendorPrefix)

The animation-duration property.

AnimationTimingFunction(SmallVec<[EasingFunction; 1]>, VendorPrefix)

The animation-timing-function property.

AnimationIterationCount(SmallVec<[AnimationIterationCount; 1]>, VendorPrefix)

The animation-iteration-count property.

AnimationDirection(SmallVec<[AnimationDirection; 1]>, VendorPrefix)

The animation-direction property.

AnimationPlayState(SmallVec<[AnimationPlayState; 1]>, VendorPrefix)

The animation-play-state property.

AnimationDelay(SmallVec<[Time; 1]>, VendorPrefix)

The animation-delay property.

AnimationFillMode(SmallVec<[AnimationFillMode; 1]>, VendorPrefix)

The animation-fill-mode property.

Animation(AnimationList<'i>, VendorPrefix)

The animation property.

Transform(TransformListVendorPrefix)

The transform property.

TransformOrigin(PositionVendorPrefix)

The transform-origin property.

TransformStyle(TransformStyleVendorPrefix)

The transform-style property.

TransformBox(TransformBox)

The transform-box property.

BackfaceVisibility(BackfaceVisibilityVendorPrefix)

The backface-visibility property.

Perspective(PerspectiveVendorPrefix)

The perspective property.

PerspectiveOrigin(PositionVendorPrefix)

The perspective-origin property.

Translate(Translate)

The translate property.

Rotate(Rotate)

The rotate property.

Scale(Scale)

The scale property.

TextTransform(TextTransform)

The text-transform property.

WhiteSpace(WhiteSpace)

The white-space property.

TabSize(LengthOrNumberVendorPrefix)

The tab-size property.

WordBreak(WordBreak)

The word-break property.

LineBreak(LineBreak)

The line-break property.

Hyphens(HyphensVendorPrefix)

The hyphens property.

OverflowWrap(OverflowWrap)

The overflow-wrap property.

WordWrap(OverflowWrap)

The word-wrap property.

TextAlign(TextAlign)

The text-align property.

TextAlignLast(TextAlignLastVendorPrefix)

The text-align-last property.

TextJustify(TextJustify)

The text-justify property.

WordSpacing(Spacing)

The word-spacing property.

LetterSpacing(Spacing)

The letter-spacing property.

TextIndent(TextIndent)

The text-indent property.

TextDecorationLine(TextDecorationLineVendorPrefix)

The text-decoration-line property.

TextDecorationStyle(TextDecorationStyleVendorPrefix)

The text-decoration-style property.

TextDecorationColor(CssColorVendorPrefix)

The text-decoration-color property.

TextDecorationThickness(TextDecorationThickness)

The text-decoration-thickness property.

TextDecoration(TextDecorationVendorPrefix)

The text-decoration property.

TextDecorationSkipInk(TextDecorationSkipInkVendorPrefix)

The text-decoration-skip-ink property.

TextEmphasisStyle(TextEmphasisStyle<'i>, VendorPrefix)

The text-emphasis-style property.

TextEmphasisColor(CssColorVendorPrefix)

The text-emphasis-color property.

TextEmphasis(TextEmphasis<'i>, VendorPrefix)

The text-emphasis property.

TextEmphasisPosition(TextEmphasisPositionVendorPrefix)

The text-emphasis-position property.

TextShadow(SmallVec<[TextShadow; 1]>)

The text-shadow property.

BoxDecorationBreak(BoxDecorationBreakVendorPrefix)

The box-decoration-break property.

Resize(Resize)

The resize property.

Cursor(Cursor<'i>)

The cursor property.

CaretColor(ColorOrAuto)

The caret-color property.

CaretShape(CaretShape)

The caret-shape property.

Caret(Caret)

The caret property.

UserSelect(UserSelectVendorPrefix)

The user-select property.

AccentColor(ColorOrAuto)

The accent-color property.

Appearance(Appearance<'i>, VendorPrefix)

The appearance property.

ListStyleType(ListStyleType<'i>)

The list-style-type property.

ListStyleImage(Image<'i>)

The list-style-image property.

ListStylePosition(ListStylePosition)

The list-style-position property.

ListStyle(ListStyle<'i>)

The list-style property.

MarkerSide(MarkerSide)

The marker-side property.

Composes(Composes<'i>)

The composes property.

Fill(SVGPaint<'i>)

The fill property.

FillRule(FillRule)

The fill-rule property.

FillOpacity(AlphaValue)

The fill-opacity property.

Stroke(SVGPaint<'i>)

The stroke property.

StrokeOpacity(AlphaValue)

The stroke-opacity property.

StrokeWidth(LengthPercentage)

The stroke-width property.

StrokeLinecap(StrokeLinecap)

The stroke-linecap property.

StrokeLinejoin(StrokeLinejoin)

The stroke-linejoin property.

StrokeMiterlimit(CSSNumber)

The stroke-miterlimit property.

StrokeDasharray(StrokeDasharray)

The stroke-dasharray property.

StrokeDashoffset(LengthPercentage)

The stroke-dashoffset property.

MarkerStart(Marker<'i>)

The marker-start property.

MarkerMid(Marker<'i>)

The marker-mid property.

MarkerEnd(Marker<'i>)

The marker-end property.

Marker(Marker<'i>)

The marker property.

ColorInterpolation(ColorInterpolation)

The color-interpolation property.

ColorInterpolationFilters(ColorInterpolation)

The color-interpolation-filters property.

ColorRendering(ColorRendering)

The color-rendering property.

ShapeRendering(ShapeRendering)

The shape-rendering property.

TextRendering(TextRendering)

The text-rendering property.

ImageRendering(ImageRendering)

The image-rendering property.

ClipPath(ClipPath<'i>, VendorPrefix)

The clip-path property.

ClipRule(FillRule)

The clip-rule property.

MaskImage(SmallVec<[Image<'i>; 1]>, VendorPrefix)

The mask-image property.

MaskMode(SmallVec<[MaskMode; 1]>)

The mask-mode property.

MaskRepeat(SmallVec<[BackgroundRepeat; 1]>, VendorPrefix)

The mask-repeat property.

MaskPositionX(SmallVec<[HorizontalPosition; 1]>)

The mask-position-x property.

MaskPositionY(SmallVec<[VerticalPosition; 1]>)

The mask-position-y property.

MaskPosition(SmallVec<[Position; 1]>, VendorPrefix)

The mask-position property.

MaskClip(SmallVec<[MaskClip; 1]>, VendorPrefix)

The mask-clip property.

MaskOrigin(SmallVec<[GeometryBox; 1]>, VendorPrefix)

The mask-origin property.

MaskSize(SmallVec<[BackgroundSize; 1]>, VendorPrefix)

The mask-size property.

MaskComposite(SmallVec<[MaskComposite; 1]>)

The mask-composite property.

MaskType(MaskType)

The mask-type property.

Mask(SmallVec<[Mask<'i>; 1]>, VendorPrefix)

The mask property.

MaskBorderSource(Image<'i>)

The mask-border-source property.

MaskBorderMode(MaskBorderMode)

The mask-border-mode property.

MaskBorderSlice(BorderImageSlice)

The mask-border-slice property.

MaskBorderWidth(Rect<BorderImageSideWidth>)

The mask-border-width property.

MaskBorderOutset(Rect<LengthOrNumber>)

The mask-border-outset property.

MaskBorderRepeat(BorderImageRepeat)

The mask-border-repeat property.

MaskBorder(MaskBorder<'i>)

The mask-border property.

WebKitMaskComposite(SmallVec<[WebKitMaskComposite; 1]>)

The -webkit-mask-composite property.

WebKitMaskSourceType(SmallVec<[WebKitMaskSourceType; 1]>, VendorPrefix)

The mask-source-type property.

WebKitMaskBoxImage(BorderImage<'i>, VendorPrefix)

The mask-box-image property.

WebKitMaskBoxImageSource(Image<'i>, VendorPrefix)

The mask-box-image-source property.

WebKitMaskBoxImageSlice(BorderImageSliceVendorPrefix)

The mask-box-image-slice property.

WebKitMaskBoxImageWidth(Rect<BorderImageSideWidth>, VendorPrefix)

The mask-box-image-width property.

WebKitMaskBoxImageOutset(Rect<LengthOrNumber>, VendorPrefix)

The mask-box-image-outset property.

WebKitMaskBoxImageRepeat(BorderImageRepeatVendorPrefix)

The mask-box-image-repeat property.

Filter(FilterList<'i>, VendorPrefix)

The filter property.

BackdropFilter(FilterList<'i>, VendorPrefix)

The backdrop-filter property.

ZIndex(ZIndex)

The z-index property.

ContainerType(ContainerType)

The container-type property.

ContainerName(ContainerNameList<'i>)

The container-name property.

Container(Container<'i>)

The container property.

Unparsed(UnparsedProperty<'i>)

An unparsed property.

Custom(CustomProperty<'i>)

A custom or unknown property.

Implementations

Parses a CSS property by name.

Returns the property id for this property.

Parses a CSS property from a string.

Serializes the value of a CSS property without its name or !important flag.

Serializes the value of a CSS property as a string.

Serializes the CSS property, with an optional !important flag.

Serializes the CSS property to a string, with an optional !important flag.

Returns the given longhand property for a shorthand.

Updates this shorthand from a longhand property.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

The archived version of the pointer metadata for this type.

Converts some archived metadata to the pointer metadata for itself.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Deserializes using the given deserializer

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type for metadata in pointers and references to Self.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.