Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

Type aliases

AlignContentKeywords

AlignContentKeywords: "normal" | "stretch" | "center" | "start" | "end" | "flex-start" | "flex-end" | "baseline" | "first baseline" | "last baseline" | "safe center" | "unsafe center" | "space-between" | "space-around" | "space-evenly"

Keywords used for the alignContent style property.

AlignItemsKeywords

AlignItemsKeywords: "normal" | "stretch" | "center" | "start" | "end" | "flex-start" | "flex-end" | "baseline" | "first baseline" | "last baseline" | "safe center" | "unsafe center"

Keywords used for the alignItems style property

AlignSelfKeywords

AlignSelfKeywords: "auto" | "normal" | "stretch" | "center" | "start" | "end" | "flex-start" | "flex-end" | "self-start" | "self-end" | "baseline" | "first baseline" | "last baseline" | "safe center" | "unsafe center"

Keywords used for the alignSelf style property

AlignmentBaselineKeywords

AlignmentBaselineKeywords: "auto" | "baseline" | "before-edge" | "text-before-edge" | "middle" | "central" | "after-edge" | "text-after-edge" | "ideographic" | "alphabetic" | "hanging" | "mathematical" | "top" | "center" | "bottom"

Keywords used for the alignmentBaseline style property

AnimationDirectionKeywords

AnimationDirectionKeywords: "normal" | "reverse" | "alternate" | "alternate-reverse"

Keywords used for the animationDirection style property.

AnimationFillModeKeywords

AnimationFillModeKeywords: "none" | "forwards" | "backwards" | "both"

Keywords used for the animationFillMode style property

AnimationIterationCount_Single

AnimationIterationCount_Single: "infinite" | CssNumber

Type for animationIterationCount style property

AnimationName_Single

AnimationName_Single: "none" | string | IAnimationRule

Type for animationName style property

AnimationPlayStateKeywords

AnimationPlayStateKeywords: "paused" | "running"

Keywords used for the animationPlayState style property

Animation_Single

Type for single animation. Used by Animation_StyleType style property.

Type declaration

Animation_StyleType

Animation_StyleType: OneOrMany<string | Animation_Single>

Type for animation style property

AppearanceKeywords

AppearanceKeywords: "none" | "auto" | "textfield" | "menulist-button"

Keywords used for the appearance style property

AspectRatio_StyleType

AspectRatio_StyleType: CssAspectRatio | "auto"

Type for aspectRatio style property

AttrTypeKeyword

AttrTypeKeyword: "string" | "color" | "url" | "integer" | "number" | "length" | "angle" | "time" | "frequency"

Type representing keywords used to define a type used in the CSS attr() function.

AttrUnitKeyword

Type representing keywords used to define a unit used in the CSS attr() function.

BackfaceVisibilityMode_StyleType

BackfaceVisibilityMode_StyleType: "visible" | "hidden"

Keywords used for the [[backfaceVisibilityMode]] style property

BackgroundAttachment

BackgroundAttachment: "scroll" | "fixed" | "local"

Keywords used for the backgroundAttachment style property

BackgroundAttachment_StyleType

BackgroundAttachment_StyleType: OneOrMany<BackgroundAttachment>

Type for backgroundAttachment style property

BackgroundClip

BackgroundClip: "border-box" | "padding-box" | "content-box" | "text"

Keywords used for the backgroundClip property

BackgroundClip_StyleType

BackgroundClip_StyleType: OneOrMany<BackgroundClip>

Type for backgroundClip style property

BackgroundImage_StyleType

BackgroundImage_StyleType: "none" | OneOrMany<CssImage>

Type for backgroundImage style property

BackgroundOrigin

BackgroundOrigin: "border-box" | "padding-box" | "content-box" | "text"

Keywords used for the backgroundOrigin property

BackgroundOrigin_StyleType

BackgroundOrigin_StyleType: OneOrMany<BackgroundOrigin>

Type for backgroundOrigin style property

BackgroundRepeat

BackgroundRepeat: "repeat-x" | "repeat-y" | OneOrPair<BackgroundRepeatKeywords>

Type for single background repeat

BackgroundRepeatKeywords

BackgroundRepeatKeywords: "repeat" | "space" | "round" | "no-repeat"

Keywords for single background repeat

BackgroundRepeat_StyleType

BackgroundRepeat_StyleType: OneOrMany<BackgroundRepeat>

BackgroundSize

BackgroundSize: "cover" | "contain" | OneOrPair<CssLengthOrAuto>

Type for background size

BackgroundSize_StyleType

BackgroundSize_StyleType: OneOrMany<BackgroundSize>

Type for backgroundSize style property. The background-size style can specify one or more comma-separated sizes, where each size can be a keyword, a length or two lengths. We model this structure the following way:

  • if the value is a string or a number, that's the only value;
  • if the value is an array, then it is a list of several sizes. Each element in this array is either a keyword or a length or an array of two elements. Thus [100,200] will be interpreted as "100px, 200px" and not "100px 200px"; that is, it will define two sizes each with a width instead of one size with both width and height. If you need to specify both width and height you must use array within array - even for a single size: [[100,200]] wll be interpreted as "100px 200px".

Background_Single

Background_Single: string | CssColor | CssImage | { attachment?: Extended<BackgroundAttachment>; clip?: Extended<BackgroundClip>; color?: Extended<CssColor>; image?: Extended<CssImage>; origin?: Extended<BackgroundOrigin>; position?: Extended<CssPosition>; repeat?: Extended<BackgroundRepeat>; size?: Extended<BackgroundSize> }

Type for single background value

Background_StyleType

Background_StyleType: OneOrMany<Background_Single>

Type for background style property

BaselineShift_StyleType

BaselineShift_StyleType: "sub" | "super" | CssLength

BlendModeKeywords

BlendModeKeywords: "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "hue" | "saturation" | "color" | "luminosity"

Keywords used for the backgroundBlendMode and mixBlendMode properties

BorderColapse_StyleType

BorderColapse_StyleType: "collapse" | "separate"

BorderColor_StyleType

BorderColor_StyleType: OneOrBox<CssColor>

BorderImageOutset_StyleType

BorderImageOutset_StyleType: OneOrBox<CssNumber | ILengthProxy>

Type for borderImageOutset style property. It is CssNumber and not CssLength because border-image-outset can be specified as a unitless number.

BorderImageRepeatKeyword

BorderImageRepeatKeyword: "stretch" | "repeat" | "round" | "space"

Type for border-image-repeat keywords

BorderImageRepeat_StyleType

BorderImageRepeat_StyleType: OneOrPair<BorderImageRepeatKeyword>

BorderImageSlice_StyleType

BorderImageSlice_StyleType: OneOrBox<CssPercent | "fill"> | [Extended<CssPercent>, Extended<CssPercent>, Extended<CssPercent>, Extended<CssPercent>, "fill"]

Note: numeric values are treated as is - without appending the percent sign to them.

BorderImageSource_StyleType

BorderImageSource_StyleType: CssImage | "none"

BorderImageWidth_StyleType

BorderImageWidth_StyleType: OneOrBox<CssNumber | ILengthProxy | "auto">

Type for borderImageWidth style property. It is CssNumber and not CssLength because border-image-width can be specified as a unitless number.

BorderImage_Object

Type for border-image style property expressed as an object.

BorderImage_StyleType

BorderImage_StyleType: CssImage | BorderImage_Object | string

BorderSpacing_StyleType

BorderSpacing_StyleType: OneOrPair<CssLength>

BorderStyle

BorderStyle: "none" | "hidden" | "dotted" | "dashed" | "solid" | "double" | "groove" | "ridge" | "inset" | "outset"

Type for single border side style property

BorderStyle_StyleType

BorderStyle_StyleType: OneOrBox<BorderStyle>

BorderWidth_StyleType

BorderWidth_StyleType: OneOrBox<LineWidth>

Border_StyleType

BoxDecorationBreak_StyleType

BoxDecorationBreak_StyleType: "slice" | "clone"

BoxShadow_Single

BoxShadow_Single: "none" | { blur?: Extended<CssLength>; color?: Extended<CssColor>; inset?: Extended<boolean>; spread?: Extended<CssLength>; x: Extended<CssLength>; y: Extended<CssLength> }

Type for single box shadow.

BoxShadow_StyleType

BoxShadow_StyleType: OneOrMany<string | BoxShadow_Single>

BoxSizing_StyleType

BoxSizing_StyleType: "content-box" | "border-box"

BreakAfter_StyleType

BreakAfter_StyleType: "auto" | "avoid" | "always" | "all" | "avoid-page" | "page" | "left" | "right" | "recto" | "verso" | "avoid-column" | "column" | "avoid-region" | "region"

BreakBefore_StyleType

BreakBefore_StyleType: "auto" | "avoid" | "always" | "all" | "avoid-page" | "page" | "left" | "right" | "recto" | "verso" | "avoid-column" | "column" | "avoid-region" | "region"

BreakInside_StyleType

BreakInside_StyleType: "auto" | "avoid" | "avoid-page" | "avoid-column" | "avoid-region"

CaptionSide_StyleType

CaptionSide_StyleType: "top" | "bottom" | "block-start" | "block-end" | "inline-start" | "inline-end"

CaretColor_StyleType

CaretColor_StyleType: "auto" | CssColor

Clear_StyleType

Clear_StyleType: "none" | "left" | "right" | "both" | "inline-start" | "inline-end"

ClipPath_StyleType

ClipRule_StyleType

ClipRule_StyleType: "nonzero" | "evenodd"

Clip_StyleType

Clip_StyleType: "auto" | IRectProxy
deprecated

The CSS clip property and rect() function are deprecated.

ColorAdjust_StyleType

ColorAdjust_StyleType: "economy" | "exact"

Type for colorAdjust and color-adjust style property

ColorInterpolation_StyleType

ColorInterpolation_StyleType: "auto" | "sRGB" | "linearRGB"

Type for colorInterpolation and color-interpolation-filters style properties

ColorScheme_StyleType

ColorScheme_StyleType: "normal" | OneOrMany<"light" | "dark" | string>

ColumnCount_StyleType

ColumnCount_StyleType: "auto" | CssNumber

ColumnFill_StyleType

ColumnFill_StyleType: "auto" | "balance" | "balance-all"

ColumnGap_StyleType

ColumnGap_StyleType: "normal" | CssLength

ColumnSpan_StyleType

ColumnSpan_StyleType: "none" | "all"

Columns_StyleType

Columns_StyleType: "auto" | CssNumber | Exclude<CssLength, number> | ["auto" | Extended<CssNumber>, "auto" | Extended<Exclude<CssLength, number>>] | ["auto" | Extended<Exclude<CssLength, number>>, "auto" | Extended<CssNumber>]

Type for columns style property. The value can be provided in one of the following forms and and will be converted to string as follows:

  • number: will be converted to a unitless number - count of columns.

  • ILengthProxy (e.g. px(8)): converted to a number with the proper length units.

  • two variants of two element arrays: one of the elements will be treated as a number of columns while another as the column width.

  • MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/columns

ContainAtomKeyword

ContainAtomKeyword: "size" | "layout" | "style" | "paint"

Keywords that can be combined in the contain style property

ContainSoleKeyword

ContainSoleKeyword: "none" | "strict" | "content"

Keywords that can be only used as a sole value of the contain style property

Contain_StyleType

ContentItem

ContentItem: "open-quote" | "close-quote" | "no-open-quote" | "no-close-quote" | CssString | CssImage

ContentVisibility_StyleType

ContentVisibility_StyleType: "auto" | "visible" | "hidden"

Content_StyleType

Content_StyleType: string | "none" | "normal" | OneOrMany<ContentItem>

CssCounter

CssCounter: "none" | OneOrMany<ICounterRule | string | [ICounterRule | string, Extended<number>]>

Type for counterIncrement, counterReset and counterSet style properties

CursorKeyword

CursorKeyword: "auto" | "default" | "none" | "context-menu" | "help" | "pointer" | "progress" | "wait" | "cell" | "crosshair" | "text" | "vertical-text" | "alias" | "copy" | "move" | "no-drop" | "not-allowed" | "e-resize" | "n-resize" | "ne-resize" | "nw-resize" | "s-resize" | "se-resize" | "sw-resize" | "w-resize" | "ew-resize" | "ns-resize" | "nesw-resize" | "nwse-resize" | "col-resize" | "row-resize" | "all-scroll" | "zoom-in" | "zoom-out" | "grab" | "grabbing"

Type for cursor pre-defined names

Cursor_StyleType

DefaultStyleType

DefaultStyleType: string

Type for style properties for which there is no special type defined.

Display_StyleType

Display_StyleType: "block" | "inline" | "run-in" | "contents" | "none" | "inline-block" | "inline-list-item" | "inline-table" | "inline-flex" | "inline-grid" | "flow" | "flow-root" | "table" | "flex" | "grid" | "ruby" | "table-row-group" | "table-header-group" | "table-footer-group" | "table-row" | "table-cell" | "table-column-group" | "table-column" | "table-caption" | "ruby-base" | "ruby-text" | "ruby-base-container" | "ruby-text-container" | "list-item" | "list-item block" | "list-item inline" | "list-item flow" | "list-item flow-root" | "list-item block flow" | "list-item block flow-root" | "flow list-item block"

DominantBaseline_StyleType

DominantBaseline_StyleType: "auto" | "text-bottom" | "alphabetic" | "ideographic" | "middle" | "central" | "mathematical" | "hanging" | "text-top"

EmptyCells_StyleType

EmptyCells_StyleType: "show" | "hide"

Filter_StyleType

Filter_StyleType: OneOrMany<IUrlFunc | FilterFuncs>

FlexBasis_StyleType

FlexBasis_StyleType: CssLengthOrAuto | "content" | "fill" | "max-content" | "min-content" | "fit-content"

FlexDirection_StyleType

FlexDirection_StyleType: "row" | "row-reverse" | "column" | "column-reverse"

FlexFlow_StyleType

FlexWrap_StyleType

FlexWrap_StyleType: "nowrap" | "wrap" | "wrap-reverse"

Flex_StyleType

Float_StyleType

Float_StyleType: "left" | "right" | "none" | "inline-start" | "inline-end"

FontWeight_StyleType

FontWeight_StyleType: FontWeight | "bolder" | "lighter"

Font_StyleType

Font_StyleType: SystemFont | [string, CssLength] | [CssLength, string] | { family: Extended<string>; lineHeight?: Extended<CssNumber>; size: Extended<CssLength>; stretch?: Extended<FontStretchKeyword>; style?: Extended<FontStyle>; variant?: Extended<string>; weight?: Extended<FontWeight_StyleType> }

ForcedColorAdjust_StyleType

ForcedColorAdjust_StyleType: "auto" | "none"

Gap_StyleType

GeometryBoxKeyword

GeometryBoxKeyword: "margin-box" | "border-box" | "padding-box" | "content-box" | "fill-box" | "stroke-box" | "view-box"

Type representing the boundaries of a box

GridArea_StyleType

GridArea_StyleType: OneOrBox<GridAxisSide_StyleType>

GridAutoAxis_StyleType

GridAutoAxis_StyleType: OneOrMany<GridTrackSize>

GridAutoFlow_StyleType

GridAutoFlow_StyleType: "row" | "column" | "dense" | "row dense" | "column dense"

GridAxisSide_StyleType

GridAxis_StyleType

GridAxis_StyleType: OneOrPair<GridAxisSide_StyleType>

GridLineCountOrName

GridLineCountOrName: CssNumber | IGridAreaRule | IGridLineRule

Type for specifying either number of grid lines or name of grid line or area. This type is used when defining grid-column-start/end and grid-row-start/end style properties.

GridTemplateAreaDefinition

GridTemplateAreaDefinition: [IGridAreaRule | Extended<string>, number, number, number, number]

Type for defining a single grid area position. The numbers are 1-based indices of the lines in the following sequence: block start, inline start, block end, inline end.

GridTemplateAreas_StyleType

GridTemplateAreas_StyleType: "none" | string[] | GridTemplateAreaDefinition[]

GridTemplateAxis_StyleType

GridTemplateAxis_StyleType: "none" | OneOrMany<GridTrack> | "subgrid"

GridTrack

Type for a single track element of grid template axis

GridTrackLine

GridTrackLine: (IGridLineRule | Extended<string>)[]

Type for a single template element defining name or names for a grid line in grid template. This is always an array - even if a single name is given.

GridTrackSize

GridTrackSize: CssLengthOrAuto | "min-content" | "max-content" | IFitContentProxy | IMinMaxFunc | IRepeatFunc

Type for a single template element defining track size in grid template

Hyphens_StyleType

Hyphens_StyleType: "none" | "manual" | "auto"

ImageOrientation_StyleType

ImageOrientation_StyleType: "none" | "from-image"

ImageRendering_StyleType

ImageRendering_StyleType: "auto" | "crisp-edges" | "pixelated"

InitialLetter_StyleType

InitialLetter_StyleType: OneOrPair<CssNumber>

Isolation_StyleType

Isolation_StyleType: "auto" | "isolate"

JustifyContent_StyleType

JustifyContent_StyleType: "normal" | "space-between" | "space-around" | "space-evenly" | "stretch" | "center" | "start" | "end" | "flex-start" | "flex-end" | "left" | "right" | "safe center" | "safe start" | "safe end" | "safe flex-start" | "safe flex-end" | "safe left" | "safe right" | "unsafe center" | "unsafe start" | "unsafe end" | "unsafe flex-start" | "unsafe flex-end" | "unsafe left" | "unsafe right"

JustifyItems_StyleType

JustifyItems_StyleType: "normal" | "stretch" | "baseline" | "first baseline" | "last baseline" | "center" | "start" | "end" | "self-start" | "self-end" | "flex-start" | "flex-end" | "left" | "right" | "safe center" | "safe start" | "safe end" | "safe self-start" | "safe self-end" | "safe flex-start" | "safe flex-end" | "safe left" | "safe right" | "unsafe center" | "unsafe start" | "unsafe end" | "unsafe self-start" | "unsafe self-end" | "unsafe flex-start" | "unsafe flex-end" | "unsafe left" | "unsafe right" | "legacy" | "legacy left" | "legacy right" | "legacy center"

JustifySelf_StyleType

JustifySelf_StyleType: "auto" | "normal" | "stretch" | "baseline" | "first baseline" | "last baseline" | "center" | "start" | "end" | "self-start" | "self-end" | "flex-start" | "flex-end" | "left" | "right" | "safe center" | "safe start" | "safe end" | "safe self-start" | "safe self-end" | "safe flex-start" | "safe flex-end" | "safe left" | "safe right" | "unsafe center" | "unsafe start" | "unsafe end" | "unsafe self-start" | "unsafe self-end" | "unsafe flex-start" | "unsafe flex-end" | "unsafe left" | "unsafe right"

LetterSpacing_StyleType

LetterSpacing_StyleType: "normal" | CssLength

LineBreak_StyleType

LineBreak_StyleType: "auto" | "loose" | "normal" | "strict" | "anywhere"

LineClamp_StyleType

LineClamp_StyleType: "none" | CssNumber | [Extended<CssNumber>, Extended<string>]

LineHeight_StyleType

LineHeight_StyleType: CssNumber | ILengthProxy

LineWidth

LineWidth: "thin" | "medium" | "thick" | CssLength

Type used for several style properties that allow defining line width as a <length> CSS type as well as keywords such as thin and thick. For example, see the borderWidth property.

ListStyleImage_StyleType

ListStyleImage_StyleType: "none" | IUrlFunc

ListStylePosition_StyleType

ListStylePosition_StyleType: "inside" | "outside"

ListStyleType_StyleType

ListStyleType_StyleType: ICounterStyleRule | "none" | "disc" | "circle" | "square" | "decimal" | "decimal-leading-zero" | "cjk-decimal" | "cjk-earthly-branch" | "cjk-heavenly-stem" | "cjk-ideographic" | "lower-roman" | "upper-roman" | "lower-greek" | "lower-alpha" | "lower-latin" | "upper-alpha" | "upper-latin" | "arabic-indic" | "armenian" | "bengali" | "cambodian" | "devanagari" | "georgian" | "gujarati" | "gurmukhi" | "hebrew" | "hiragana" | "hiragana-iroha" | "japanese-formal" | "japanese-informal" | "kannada" | "katakana" | "katakana-iroha" | "khmer" | "korean-hangul-formal" | "korean-hanja-formal" | "korean-hanja-informal" | "lao" | "lower-armenian" | "malayalam" | "mongolian" | "myanmar" | "oriya" | "persian" | "simp-chinese-formal" | "simp-chinese-informal" | "tamil" | "telugu" | "thai" | "tibetan" | "trad-chinese-formal" | "trad-chinese-informal" | "upper-armenian" | "disclosure-open" | "disclosure-closed"

ListStyle_StyleType

MarginTrim_StyleType

MarginTrim_StyleType: "none" | "in-flow" | "all"

Marker_StyleType

Marker_StyleType: "none" | IIDRule

MaskBorderMode_StyleType

MaskBorderMode_StyleType: "luminance" | "alpha"

MaskBorder_Object

MaskBorder_StyleType

MaskBorder_StyleType: CssImage | MaskBorder_Object | string

MaskCompositeKeyword

MaskCompositeKeyword: "add" | "subtract" | "intersect" | "exclude"

MaskModeKeyword

MaskModeKeyword: "alpha" | "luminance" | "match-source"

MaskTypeKeyword

MaskTypeKeyword: "alpha" | "luminance"

MathStyle_StyleType

MathStyle_StyleType: "normal" | "compact"

ObjectFit_StyleType

ObjectFit_StyleType: "fill" | "contain" | "cover" | "none" | "scale-down"

OffsetAnchor_StyleType

OffsetAnchor_StyleType: "auto" | CssPosition

OffsetPath_StyleType

OffsetPosition_StyleType

OffsetPosition_StyleType: "auto" | CssPosition

OffsetRotate_StyleType

OffsetRotate_StyleType: "auto" | "reverse" | CssAngle | ["auto" | "reverse", CssAngle]

Offset_StyleType

Offset_StyleType: OffsetPath_StyleType | { anchor?: OffsetAnchor_StyleType; distance?: CssLength; path?: OffsetPath_StyleType; position?: CssPosition; rotate?: OffsetRotate_StyleType }

OverflowAnchor_StyleType

OverflowAnchor_StyleType: "auto" | "none"

OverflowClipMargin_StyleType

OverflowClipMargin_StyleType: CssLength | "border-box" | "padding-box" | "content-box"

OverflowKeyword

OverflowKeyword: "visible" | "hidden" | "clip" | "scroll" | "auto"

Type for the overflow-x/y style property

OverflowWrap_StyleType

OverflowWrap_StyleType: "normal" | "break-word" | "anywhere"

Overflow_StyleType

Overflow_StyleType: OneOrPair<OverflowKeyword>

OverscrollBehavior

OverscrollBehavior: "contain" | "none" | "auto"

Type for the overscrollBehaviorX and overscrollBehaviorY style property

OverscrollBehavior_StyleType

OverscrollBehavior_StyleType: OneOrPair<OverscrollBehavior>

PaintOrderKeyword

PaintOrderKeyword: "fill" | "stroke" | "markers"

Type for the paint-order style property

PaintOrder_StyleType

PerspectiveOrigin_StyleType

Perspective_StyleType

Perspective_StyleType: "none" | CssLength

PlaceContent_StyleType

PlaceItems_StyleType

PlaceSelf_StyleType

PointerEvents_StyleType

PointerEvents_StyleType: "auto" | "none" | "visiblePainted" | "visibleFill" | "visibleStroke" | "visible" | "painted" | "fill" | "stroke" | "all"

Position_StyleType

Position_StyleType: "static" | "relative" | "absolute" | "sticky" | "fixed"

Quotes_StyleType

Quotes_StyleType: "none" | "auto" | OneOrMany<[Extended<CssString>, Extended<CssString>]>

Resize_StyleType

Resize_StyleType: "none" | "both" | "horizontal" | "vertical" | "block" | "inline"

Rotate_StyleType

Rotate_StyleType: "none" | CssAngle | ["x" | "y" | "z", Extended<CssAngle>] | [Extended<CssNumber>, Extended<CssNumber>, Extended<CssNumber>, Extended<CssAngle>]

RowGap_StyleType

RowGap_StyleType: CssLength

Scale_StyleType

Scale_StyleType: "none" | CssNumber | [Extended<CssNumber>, Extended<CssNumber>?, Extended<CssNumber>?]

ScrollBehavior_StyleType

ScrollBehavior_StyleType: "auto" | "smooth"

ScrollSnapAlign_StyleType

ScrollSnapAlign_StyleType: OneOrPair<"none" | "start" | "end" | "center">

ScrollSnapStop_StyleType

ScrollSnapStop_StyleType: "normal" | "always"

ScrollSnapType_StyleType

ScrollSnapType_StyleType: "none" | [Extended<"x" | "y" | "block" | "inline" | "both">, Extended<"mandatory" | "proximity">]

ScrollbarColor_StyleType

ScrollbarColor_StyleType: "auto" | "dark" | "light" | [Extended<CssColor>, Extended<CssColor>]

ScrollbarGutter_StyleType

ScrollbarGutter_StyleType: "auto" | "stable" | "stable both-edges"

ScrollbarWidth_StyleType

ScrollbarWidth_StyleType: "auto" | "thin" | "none"

ShapeOutside_StyleType

ShapeOutside_StyleType: IUrlFunc | BasicShape | GeometryBoxKeyword | CssImage

ShapeRendering_StyleType

ShapeRendering_StyleType: "auto" | "optimizeSpeed" | "crispEdges" | "geometricPrecision"

TabSize_StyleType

TabSize_StyleType: CssNumber | ILengthProxy

TableLayout_StyleType

TableLayout_StyleType: "auto" | "fixed"

TextAlignLast_StyleType

TextAlignLast_StyleType: "auto" | "start" | "end" | "left" | "right" | "center" | "justify"

TextAlign_StyleType

TextAlign_StyleType: "start" | "end" | "left" | "right" | "center" | "justify" | "match-parent"

TextAnchor_StyleType

TextAnchor_StyleType: "start" | "middle" | "end"

TextCombineUpright_StyleType

TextCombineUpright_StyleType: "none" | "all" | "digits" | number

TextDecorationLine_StyleType

TextDecorationLine_StyleType: "none" | "spelling-error" | "grammar-error" | OneOrMany<"underline" | "overline" | "line-through">

TextDecorationSkipInk_StyleType

TextDecorationSkipInk_StyleType: "none" | "auto" | "all"

TextDecorationStyle_StyleType

TextDecorationStyle_StyleType: "solid" | "double" | "dotted" | "dashed" | "wavy"

TextDecorationThickness_StyleType

TextDecorationThickness_StyleType: "from-font" | CssLengthOrAuto

TextDecoration_StyleType

Type for the textDecoration style property. If a number is specified, it will be interpreted as color - not as thickness.

TextEmphasisFill

TextEmphasisFill: "filled" | "open"

Fill option for the text-emphasis-style style property

TextEmphasisPosition_StyleType

TextEmphasisPosition_StyleType: "over left" | "over right" | "under left" | "under right"

TextEmphasisShape

TextEmphasisShape: "dot" | "circle" | "double-circle" | "triangle" | "sesame" | string

Shape for the text-emphasis-style style property

TextEmphasisStyle_StyleType

TextEmphasis_StyleType

TextIndent_StyleType

TextIndent_StyleType: CssLength | [Extended<CssLength>, OneOrMany<"each-line" | "hanging" | "each-line hanging">]

TextJustify_StyleType

TextJustify_StyleType: "auto" | "inter-character" | "inter-word" | "none"

TextOrientation_StyleType

TextOrientation_StyleType: "mixed" | "upright" | "sideways"

TextOverflow_StyleType

TextOverflow_StyleType: OneOrPair<"clip" | "ellipsis" | "fade" | string>

TextRendering_StyleType

TextRendering_StyleType: "auto" | "optimizeSpeed" | "optimizeLegibility" | "geometricPrecision"

TextShadow

TextShadow: "none" | { blur?: Extended<CssLength>; color?: Extended<CssColor>; x: Extended<CssLength>; y: Extended<CssLength> }

Type for the single value of the tex"t-shadow style property

TextShadow_StyleType

TextShadow_StyleType: OneOrMany<TextShadow>

TextSizeAdjust_StyleType

TextSizeAdjust_StyleType: "none" | "auto" | CssPercent

TextStroke_StyleType

TextTransform_StyleType

TextTransform_StyleType: "none" | "capitalize" | "uppercase" | "lowercase" | "full-width" | "full-size-kana"

TextUnderlinePosition_StyleType

TextUnderlinePosition_StyleType: "auto" | "under" | "left" | "right" | "auto-pos" | "above" | "below"

TouchAction_StyleType

TouchAction_StyleType: "auto" | "none" | "manipulation" | "pan-x" | "pan-left" | "pan-right" | "pan-y" | "pan-up" | "pan-down" | "pinch-zoom" | ["pan-x" | "pan-left" | "pan-right", "pan-y" | "pan-up" | "pan-down"] | ["pan-x" | "pan-left" | "pan-right", "pinch-zoom"] | ["pan-y" | "pan-up" | "pan-down", "pinch-zoom"] | ["pan-x" | "pan-left" | "pan-right", "pan-y" | "pan-up" | "pan-down", "pinch-zoom"]

TransformBox_StyleType

TransformBox_StyleType: "content-box" | "border-box" | "fill-box" | "stroke-box" | "view-box"

TransformOrigin_StyleType

TransformStyle_StyleType

TransformStyle_StyleType: "flat" | "preserve-3d"

Transform_StyleType

Transform_StyleType: "none" | OneOrMany<TransformFuncs>

TransitionProperty

TransitionProperty: "none" | "all" | keyof IStyleset | IVarRule

Type for single transitionProperty style property

TransitionProperty_StyleType

TransitionProperty_StyleType: OneOrMany<TransitionProperty>

Transition_Single

Transition_Single: string | { delay?: Extended<CssTime>; duration?: Extended<CssTime>; func?: Extended<TimingFunction>; property?: Extended<TransitionProperty> }

Type for single transition

Transition_StyleType

Transition_StyleType: OneOrMany<Transition_Single>

Translate_StyleType

Translate_StyleType: "none" | CssLength | [Extended<CssLength>, Extended<CssLength>, Extended<CssLength>?]

UnicodeBidi_StyleType

UnicodeBidi_StyleType: "normal" | "embed" | "isolate" | "bidi-override" | "isolate-override" | "plaintext"

UserSelect_StyleType

UserSelect_StyleType: "auto" | "text" | "none" | "contain" | "all"

VectorEffect_StyleType

VectorEffect_StyleType: "none" | "non-scaling-stroke" | "non-scaling-size" | "non-rotation" | "fixed-position"

VerticalAlign_StyleType

VerticalAlign_StyleType: "baseline" | "sub" | "super" | "text-top" | "text-bottom" | "middle" | "top" | "bottom" | CssLength

Visibility_StyleType

Visibility_StyleType: "visible" | "hidden" | "collapse"

WhiteSpace_StyleType

WhiteSpace_StyleType: "normal" | "pre" | "nowrap" | "pre-wrap" | "pre-line" | "break-spaces"

WillChange_StyleType

WillChange_StyleType: "auto" | OneOrMany<"scroll-position" | "contents" | Exclude<keyof IStyleset, "willChange">>

WordBreak_StyleType

WordBreak_StyleType: "normal" | "break-all" | "keep-all" | "break-word"

WordSpacing_StyleType

WordSpacing_StyleType: "normal" | CssLength

WritingMode_StyleType

WritingMode_StyleType: "horizontal-tb" | "vertical-rl" | "vertical-lr" | "sideways-rl" | "sideways-lr"

ZIndex_StyleType

ZIndex_StyleType: "auto" | CssNumber

Zoom_StyleType

Zoom_StyleType: "normal" | "reset" | CssPercent
deprecated