Options
All
  • Public
  • Public/Protected
  • All
Menu

The IVarTemplateStyleset interface maps template names to the types, which can be used for defining custom CSS properties (a.k.a. variables). Normally, variables are defined using the names of the style properties and their type is determined by the type of this property in the IStyleset interface. Sometimes, however, there is a need to define variables of some other types, for which there is no suitable style property. The IVarTemplateStyleset interface provides many basic types and it can also be extended using the TypeScript's module augmentation.

Hierarchy

Index

Properties

Properties

Optional *

*?: string

Allows having CSS variables and constants that accept value of any type

Optional <angle>

<angle>?: CssAngle

Allows having CSS variables and constants that accept an <angle> CSS value

Optional <angle>#

<angle>#?: OneOrMany<CssAngle>

Optional <angle>+

<angle>+?: OneOrMany<CssAngle>

Optional <aspect-ratio>

<aspect-ratio>?: CssAspectRatio

Allows having CSS variables and constants that accept a "ratio" CSS value

Optional <color>

<color>?: CssColor

Allows having CSS variables and constants that accept a <color> CSS value

Optional <color>#

<color>#?: OneOrMany<CssColor>

Optional <color>+

<color>+?: OneOrMany<CssColor>

Optional <custom-ident>

<custom-ident>?: string

Allows having CSS variables and constants that accept a <custom-ident> value

Optional <custom-ident>#

<custom-ident>#?: OneOrMany<string>

Optional <custom-ident>+

<custom-ident>+?: OneOrMany<string>

Optional <frequency>

<frequency>?: CssFrequency

Allows having CSS variables and constants that accept a "frequency" CSS value

Optional <image>

<image>?: CssImage

Allows having CSS variables and constants that accept an <image> CSS value

Optional <image>#

<image>#?: OneOrMany<CssImage>

Optional <image>+

<image>+?: OneOrMany<CssImage>

Optional <length-percentage>

<length-percentage>?: CssLength

Allows having CSS variables and constants that accept a <length-percentage> CSS value

Optional <length-percentage>#

<length-percentage>#?: OneOrMany<CssLength>

Optional <length-percentage>+

<length-percentage>+?: OneOrMany<CssLength>

Optional <length>

<length>?: CssLength

Allows having CSS variables and constants that accept a <length> CSS value

Optional <length>#

<length>#?: OneOrMany<CssLength>

Optional <length>+

<length>+?: OneOrMany<CssLength>

Optional <multi-position>

<multi-position>?: CssMultiPosition

Allows having CSS variables and constants that accept multiple "multi-position" CSS values

Optional <number>

<number>?: CssNumber

Allows having CSS variables and constants that accept a <number> CSS value

Optional <number>#

<number>#?: OneOrMany<CssNumber>

Optional <number>+

<number>+?: OneOrMany<CssNumber>

Optional <percentage>

<percentage>?: CssPercent

Allows having CSS variables and constants that accept a <percent> CSS value

Optional <percentage>#

<percentage>#?: OneOrMany<CssPercent>

Optional <percentage>+

<percentage>+?: OneOrMany<CssPercent>

Optional <point>

<point>?: CssPoint

Allows having CSS variables and constants that accept a "point" value

Optional <position>

<position>?: CssPosition

Allows having CSS variables and constants that accept a "position" CSS value

Optional <radius>

<radius>?: CssRadius

Allows having CSS variables and constants that accept a "radius" CSS value

Optional <resolution>

<resolution>?: CssResolution

Allows having CSS variables and constants that accept a <resolution> CSS value

Optional <resolution>#

<resolution>#?: OneOrMany<CssResolution>

Optional <resolution>+

<resolution>+?: OneOrMany<CssResolution>

Optional <size>

<size>?: CssSize

Allows having CSS variables and constants that accept a "size" value

Optional <string>

<string>?: CssString

Allows having CSS variables and constants that accept a "string" value

Optional <time>

<time>?: CssTime

Allows having CSS variables and constants that accept a <time> CSS value

Optional <time>#

<time>#?: OneOrMany<CssTime>

Optional <time>+

<time>+?: OneOrMany<CssTime>

Optional <transform-function>

<transform-function>?: TransformFuncs

Allows having CSS variables and constants that accept a <transform-function> value

Optional <transform-list>+

<transform-list>+?: OneOrMany<TransformFuncs>

Optional accentColor

accentColor?: CssColor

Optional alignContent

alignContent?: AlignContentKeywords

The CSS align-content property sets the distribution of space between and around content items along a flexbox's cross-axis or a grid's block axis.

Example

import * as css from "mimcss"

class MyStyles extends css.StyleDefinition
{
// Using string literal
cls1 = this.$class({ alignContent: "stretch" })

// Using custom property
defaultAlignContent = this.$var( "alignContent", "first baseline")
cls2 = this.$class({ alignContent: this.defaultAlignContent })

// Using with "!important" flag
cls3 = this.$class({ alignContent: {"!": "safe center"} })

// Using with global values
cls4 = this.$class({ alignContent: "initial" })
}

See Also:

Optional alignItems

alignItems?: AlignItemsKeywords

The CSS align-items property sets the align-self value on all direct children as a group. In Flexbox, it controls the alignment of items on the Cross Axis. In Grid Layout, it controls the alignment of items on the Block Axis within their grid area.

Example

import * as css from "mimcss"

class MyStyles extends css.StyleDefinition
{
// Using string literal
cls1 = this.$class({ alignItems: "flex-start" })

// Using custom property
defaultAlignItems = this.$var( "alignItems", "first baseline")
cls2 = this.$class({ alignItems: this.defaultAlignItems })

// Using with "!important" flag
cls3 = this.$class({ alignItems: {"!": "safe center"} })

// Using with global values
cls4 = this.$class({ alignItems: "initial" })
}

See Also:

Optional alignSelf

alignSelf?: AlignSelfKeywords

The align-self CSS property overrides a grid or flex item's align-items value. In Grid, it aligns the item inside the grid area. In Flexbox, it aligns the item on the cross axis.

Example

import * as css from "mimcss"

class MyStyles extends css.StyleDefinition
{
// Using string literal
cls1 = this.$class({ alignSelf: "self-start" })

// Using custom property
defaultAlignSelf = this.$var( "alignItems", "first baseline")
cls2 = this.$class({ alignSelf: this.defaultAlignSelf })

// Using with "!important" flag
cls3 = this.$class({ alignSelf: {"!": "safe center"} })

// Using with global values
cls4 = this.$class({ alignSelf: "initial" })
}

See Also:

Optional alignmentBaseline

alignmentBaseline?: AlignmentBaselineKeywords

The alignment-baseline attribute specifies how an object is aligned with respect to its parent. This property specifies which baseline of this element is to be aligned with the corresponding baseline of the parent. For example, this allows alphabetic baselines in Roman text to stay aligned across font size changes. It defaults to the baseline with the same name as the computed value of the alignment-baseline property.

Example

import * as css from "mimcss"

class MyStyles extends css.StyleDefinition
{
// Using string literal
cls1 = this.$class({ alignmentBaseline: "middle" })

// Using custom property
defaultAlignmentBaseline = this.$var( "alignmentBaseline", "mathematical")
cls2 = this.$class({ alignmentBaseline: this.defaultAlignmentBaseline })

// Using with "!important" flag
cls3 = this.$class({ alignmentBaseline: {"!": "after-edge"} })

// Using with global values
cls4 = this.$class({ alignmentBaseline: "initial" })
}

See Also:

Optional all

Optional animation

The animation shorthand CSS property applies an animation between styles. It is a shorthand for animationName, animationDuration, animationTimingFunction, animationDelay, animationIterationCount, animationDirection, animationFillMode, and animationPlayState.

The values for this property can be either a string or an object of type Animation_Single or an array of either strings or Animation_Single objects.

Example

import * as css from "mimcss"

class MyStyles extends css.StyleDefinition
{
// Using string
cls1 = this.$class({ animation: ".5s linear 1s infinite alternate slidein" })

// Using Animation_Single object
cls2 = this.$class({ animation: {
name: "slidein",
duration: 0.5,
func: "linear",
delay: 1000,
count: "infinite",
direction: "alternate"
}})

// Animation name can point to a keyframes rule
rotate360 = this.$keframes({
"from": { transform: css.rotate(0) }
"to": { transform: css.rotate(360) }
})
cls2 = this.$class({ animation: {
name: this.rotate360,
duration: 2000,
func: "linear",
delay: 1000,
count: "infinite",
direction: "alternate"
}})

// Using array to specify multiple animations
cls4 = this.$class({ animation: [
".5s linear 1s infinite alternate slidein",
{
name: this.rotate360,
duration: 2000,
func: "linear",
delay: 1000,
count: "infinite",
direction: "alternate"
}
]})

// Every animation property can be specified using a custom property
varName = this.$var( "animationName", this.rotate360)
varDuration = this.$var( "animationDuration", 2000)
varFunc = this.$var( "animationTimingFunction", "linear")
varDelay = this.$var( "animationDelay", 1000)
varCount = this.$var( "animationIterationCount", "infinite")
varDirection = this.$var( "animationDirection", "alternate)
cls5 = this.$class({ animation: {
name: this.varName,
duration: this.varDuration,
func: this.varFunc,
delay: this.varDelay,
count: this.varCount,
direction: this.varDirection
}})
}

See Also:

Optional animationDelay

animationDelay?: OneOrMany<CssTime>

The animation-delay CSS property specifies the amount of time to wait from applying the animation to an element before beginning to perform the animation. The animation can start later, immediately from its beginning, or immediately and partway through the animation.

In Mimcss, the type of this property is CssTime. Integer numbers are treated as time in milliseconds; floating point numbers are treated as time in seconds.

Example

import * as css from "mimcss"

class MyStyles extends css.StyleDefinition
{
// Using floating point number to indicate seconds: 5s
cls1 = this.$class({ animationDelay: 0.5 })

// Using integer number to indicate milliseconds: 300s
cls2 = this.$class({ animationDelay: 300 })

// Using time-unit function: 3s
cls3 = this.$class({ animationDelay: css.s(3) })

// Using time-unit function: -500ms
cls4 = this.$class({ animationDelay: css.ms(-500) })

// Using custom property
varDelay = this.$var( "animationDelay", 1000)
cls5 = this.$class({ animationDelay: this.varDelay }})

// Using min() CSS function
cls6 = this.$class({ animationDelay: css.Time.min( 2000, this.varDelay) })

// Multiple values
cls7 = this.$class({ animationDelay: [0.5, -300, this.varDelay] })
}

See Also:

Optional animationDirection

The animation-direction CSS property sets whether an animation should play forward, backward, or alternate back and forth between playing the sequence forward and backward.

Example

import * as css from "mimcss"

class MyStyles extends css.StyleDefinition
{
// Using string literal
cls1 = this.$class({ animationDirection: "reverse" })

// Using custom property
varDirection = this.$var( "animationDirection", "normal")
cls2 = this.$class({ animationDirection: this.varDirection })

// Using with "!important" flag
cls3 = this.$class({ animationDirection: {"!": "alternate"} })

// Using with global values
cls4 = this.$class({ animationDirection: "initial" })

// Multiple values
cls5 = this.$class({ animationDirection: ["normal", "alternate", this.varDirection] })
}

See Also:

Optional animationDuration

animationDuration?: OneOrMany<CssTime>

The animation-duration CSS property sets the length of time that an animation takes to complete one cycle.

In Mimcss, the type of this property is CssTime. Integer numbers are treated as time in milliseconds; floating point numbers are treated as time in seconds.

Example

import * as css from "mimcss"

class MyStyles extends css.StyleDefinition
{
// Using floating point number to indicate seconds: 5s
cls1 = this.$class({ animationDuration: 0.5 })

// Using integer number to indicate milliseconds: 300s
cls2 = this.$class({ animationDuration: 300 })

// Using time-unit function: 3s
cls3 = this.$class({ animationDuration: css.s(3) })

// Using time-unit function: -500ms
cls4 = this.$class({ animationDuration: css.ms(-500) })

// Using custom property
varDuration = this.$var( "animationDuration", 1000)
cls5 = this.$class({ animationDuration: this.varDuration }})

// Using min() CSS function
cls6 = this.$class({ animationDuration: css.Time.min( 2000, this.varDuration) })

// Multiple values
cls7 = this.$class({ animationDuration: [0.5, -300, this.varDuration] })
}

See Also:

Optional animationFillMode

The animation-fill-mode CSS property sets how a CSS animation applies styles to its target before and after its execution.

Example

import * as css from "mimcss"

class MyStyles extends css.StyleDefinition
{
// Using string literal
cls1 = this.$class({ animationFillMode: "forwards" })

// Using custom property
varMode = this.$var( "animationFillMode", "none")
cls2 = this.$class({ animationFillMode: this.varMode })

// Using with "!important" flag
cls3 = this.$class({ animationFillMode: {"!": "backwards"} })

// Using with global values
cls4 = this.$class({ animationFillMode: "initial" })

// Multiple values
cls5 = this.$class({ animationFillMode: ["forwards", "both", this.varMode] })
}

See Also:

Optional animationIterationCount

animationIterationCount?: OneOrMany<AnimationIterationCount_Single>

The animation-iteration-count CSS property sets the number of times an animation sequence should be played before stopping.

If multiple values are specified, each time the animation is played the next value in the list is used, cycling back to the first value after the last one is used.

Example

import * as css from "mimcss"

class MyStyles extends css.StyleDefinition
{
// Using string literal
cls1 = this.$class({ animationIterationCount: "infinite" })

// Using number
cls2 = this.$class({ animationIterationCount: 2 })

// Using custom property
varCount = this.$var( "animationIterationCount", "1")
cls3 = this.$class({ animationIterationCount: this.varCount })

// Using with "!important" flag
cls4 = this.$class({ animationIterationCount: {"!": 3} })

// Using with global values
cls5 = this.$class({ animationIterationCount: "initial" })

// Multiple values
cls6 = this.$class({ animationIterationCount: ["infinite", 3, this.varCount] })
}

See Also:

Optional animationName

The animation-name CSS property specifies the names of one or more @keyframes at-rules describing the animation or animations to apply to the element.

In Mimcss, instead of specifying the name of the @keyframes rule, you can specify the @keyframes rule object itself.

Example

import * as css from "mimcss"

class MyStyles extends css.StyleDefinition
{
// Defining a `@keyframes` rule and using it in the `animation-name` style property
move = this.$keyframes([
["from", {transform: translate(0)}],
["to", {transform: translate(50,50)}]
])
cls1 = this.$class({ animationName: this.move })

// Using string literal to reference a `@keyframes` rule defined without Mimcss
cls2 = this.$class({ animationName: "slidein" })

// Using custom property
varName = this.$var( "animationName", this.move)
cls3 = this.$class({ animationName: this.varName })

// Multiple values
cls4 = this.$class({ animationName: [this.move, "slidein", this.varName] })
}

Note that although a @keyframes rules defined using Mimcss have the name property, this property cannot be used in the same Style Definition class where the @keyframes rule is defined. That is, the following code will not work:

import * as css from "mimcss"

class MyStyles extends css.StyleDefinition
{
move = this.$keyframes([
["from", {transform: translate(0)}],
["to", {transform: translate(50,50)}]
])

// !!!!! WILL NOT WORK
cls1 = this.$class({ animationName: this.move.name })

// This will work
cls2 = this.$class({ animationName: this.move })
}

This limitation exists because by the time the name property is accessed (that is, during the style definition class construction), it has not been assigned yet.

See Also:

Optional animationPlayState

The animation-play-state CSS property sets whether an animation is running or paused.

Example

import * as css from "mimcss"

class MyStyles extends css.StyleDefinition
{
// Using string literal
cls1 = this.$class({ animationPlayState: "paused" })

// Using custom property
varState = this.$var( "animationPlayState", "running")
cls2 = this.$class({ animationPlayState: this.varState })

// Using with "!important" flag
cls3 = this.$class({ animationPlayState: {"!": "paused"} })

// Using with global values
cls4 = this.$class({ animationPlayState: "initial" })

// Multiple values
cls5 = this.$class({ animationPlayState: ["paused", "running", this.varState] })
}

See Also:

Optional animationTimingFunction

animationTimingFunction?: OneOrMany<TimingFunction>

The animation-timing-function CSS property sets how an animation progresses through the duration of each cycle.

Example

import * as css from "mimcss"

class MyStyles extends css.StyleDefinition
{
// Using string literal
cls1 = this.$class({ animationTimingFunction: "ease-in-out" })

// Using `steps()` function
cls2 = this.$class({ animationTimingFunction: css.steps(4, "jump-start") })

// Using `cubic-bezier()` function
cls3 = this.$class({ animationTimingFunction: css.cubicBezier(0.1, 0.7, 1.0, 0.1) })

// Using custom property
varFunc = this.$var( "animationTimingFunction", css.steps(6, "start"))
cls4 = this.$class({ animationTimingFunction: this.varFunc })

// Using with global values
cls5 = this.$class({ animationTimingFunction: "initial" })

// Multiple values
cls6 = this.$class({ animationTimingFunction: ["ease-in-out", css.cubic-bezier(0.1, 0.7, 1.0, 0.1), this.varFunc] })
}

See Also:

Optional any

any?: any

Allows having CSS variables and constants that accept value of any type

Optional appearance

appearance?: string

The appearance CSS property is used to display an element using platform-native styling, based on the operating system's theme.

In Mimcss, the appearance property has the type of string and thus accepts any string value. Although the latest standard only lists several string literals as possible values, the browser vendors used to support numerous other string literals. In order to allow all thee values to be specified, Mimcss decided to use the string type. Note, however, that this disables any compile-time checking so you should be extra cautious when assigning values to this property.

Example

import * as css from "mimcss"

class MyStyles extends css.StyleDefinition
{
// Using string literal
cls1 = this.$class({ appearance: "none" })

// Using custom property
varAppearance = this.$var( "appearance", "auto")
cls2 = this.$class({ appearance: this.varAppearance })

// Using with "!important" flag
cls3 = this.$class({ appearance: {"!": "textfield"} })

// Using with global values
cls4 = this.$class({ appearance: "initial" })
}

See Also:

Optional aspectRatio

aspectRatio?: AspectRatio_StyleType

The aspect-ratio CSS property sets a preferred aspect ratio for the box, which will be used in the calculation of auto sizes and some other layout functions.

Example

import * as css from "mimcss"

class MyStyles extends css.StyleDefinition
{
// Using string literal
cls1 = this.$class({ aspectRatio: "4/3" })

// using the `ratio()` function
cls2 = this.$class({ aspectRatio: css.ratio( 16, 9)})

// using a single number
cls4 = this.$media({ aspectRatio: 1.33 }, ...)

// Using custom property
varRatio = this.$var( "aspectRatio", "185/100")
cls5 = this.$class({ aspectRatio: this.varRatio })

// Using with "!important" flag
cls6 = this.$class({ aspectRatio: {"!": 1} })

// Using with global values
cls7 = this.$class({ aspectRatio: "initial" })
}

See Also:

Optional backdropFilter

backdropFilter?: Filter_StyleType

Optional backfaceVisibility

Optional background

Optional backgroundAttachment

backgroundAttachment?: BackgroundAttachment_StyleType

Optional backgroundBlendMode

backgroundBlendMode?: OneOrMany<BlendModeKeywords>

Optional backgroundClip

backgroundClip?: BackgroundClip_StyleType

Optional backgroundColor

backgroundColor?: CssColor

Optional backgroundImage

backgroundImage?: BackgroundImage_StyleType

Optional backgroundOrigin

backgroundOrigin?: BackgroundOrigin_StyleType

Optional backgroundPosition

backgroundPosition?: CssMultiPosition

Optional backgroundPositionX

backgroundPositionX?: CssMultiPositionX

Optional backgroundPositionY

backgroundPositionY?: CssMultiPositionY

Optional backgroundRepeat

backgroundRepeat?: BackgroundRepeat_StyleType

Optional backgroundRepeatX

backgroundRepeatX?: string

Optional backgroundRepeatY

backgroundRepeatY?: string

Optional backgroundSize

backgroundSize?: BackgroundSize_StyleType

Optional baselineShift

baselineShift?: BaselineShift_StyleType

Optional blockSize

blockSize?: CssSize

Optional border

Optional borderBlock

borderBlock?: Border_StyleType

Optional borderBlockColor

borderBlockColor?: OneOrPair<CssColor>

Optional borderBlockEnd

borderBlockEnd?: Border_StyleType

Optional borderBlockEndColor

borderBlockEndColor?: CssColor

Optional borderBlockEndStyle

borderBlockEndStyle?: BorderStyle

Optional borderBlockEndWidth

borderBlockEndWidth?: LineWidth

Optional borderBlockStart

borderBlockStart?: Border_StyleType

Optional borderBlockStartColor

borderBlockStartColor?: CssColor

Optional borderBlockStartStyle

borderBlockStartStyle?: BorderStyle

Optional borderBlockStartWidth

borderBlockStartWidth?: LineWidth

Optional borderBlockStyle

borderBlockStyle?: BorderStyle

Optional borderBlockWidth

borderBlockWidth?: LineWidth

Optional borderBottom

borderBottom?: Border_StyleType

Optional borderBottomColor

borderBottomColor?: CssColor

Optional borderBottomLeftRadius

borderBottomLeftRadius?: CssRadius

Optional borderBottomRightRadius

borderBottomRightRadius?: CssRadius

Optional borderBottomStyle

borderBottomStyle?: BorderStyle

Optional borderBottomWidth

borderBottomWidth?: LineWidth

Optional borderCollapse

borderCollapse?: BorderColapse_StyleType

Optional borderColor

borderColor?: BorderColor_StyleType

Optional borderEndEndRadius

borderEndEndRadius?: CssRadius

Optional borderEndStartRadius

borderEndStartRadius?: CssRadius

Optional borderImage

borderImage?: BorderImage_StyleType

Optional borderImageOutset

borderImageOutset?: BorderImageOutset_StyleType

Optional borderImageRepeat

borderImageRepeat?: BorderImageRepeat_StyleType

Optional borderImageSlice

borderImageSlice?: BorderImageSlice_StyleType

Optional borderImageSource

borderImageSource?: BorderImageSource_StyleType

Optional borderImageWidth

borderImageWidth?: BorderImageWidth_StyleType

Optional borderInline

borderInline?: Border_StyleType

Optional borderInlineColor

borderInlineColor?: OneOrPair<CssColor>

Optional borderInlineEnd

borderInlineEnd?: Border_StyleType

Optional borderInlineEndColor

borderInlineEndColor?: CssColor

Optional borderInlineEndStyle

borderInlineEndStyle?: BorderStyle

Optional borderInlineEndWidth

borderInlineEndWidth?: LineWidth

Optional borderInlineStart

borderInlineStart?: Border_StyleType

Optional borderInlineStartColor

borderInlineStartColor?: CssColor

Optional borderInlineStartStyle

borderInlineStartStyle?: BorderStyle

Optional borderInlineStartWidth

borderInlineStartWidth?: LineWidth

Optional borderInlineStyle

borderInlineStyle?: BorderStyle

Optional borderInlineWidth

borderInlineWidth?: LineWidth

Optional borderLeft

borderLeft?: Border_StyleType

Optional borderLeftColor

borderLeftColor?: CssColor

Optional borderLeftStyle

borderLeftStyle?: BorderStyle

Optional borderLeftWidth

borderLeftWidth?: LineWidth

Optional borderRadius

borderRadius?: BorderRadius

Optional borderRight

borderRight?: Border_StyleType

Optional borderRightColor

borderRightColor?: CssColor

Optional borderRightStyle

borderRightStyle?: BorderStyle

Optional borderRightWidth

borderRightWidth?: LineWidth

Optional borderSpacing

borderSpacing?: BorderSpacing_StyleType

Optional borderStartEndRadius

borderStartEndRadius?: CssRadius

Optional borderStartStartRadius

borderStartStartRadius?: CssRadius

Optional borderStyle

borderStyle?: BorderStyle_StyleType

Optional borderTop

borderTop?: Border_StyleType

Optional borderTopColor

borderTopColor?: CssColor

Optional borderTopLeftRadius

borderTopLeftRadius?: CssRadius

Optional borderTopRightRadius

borderTopRightRadius?: CssRadius

Optional borderTopStyle

borderTopStyle?: BorderStyle

Optional borderTopWidth

borderTopWidth?: LineWidth

Optional borderWidth

borderWidth?: BorderWidth_StyleType

Optional bottom

bottom?: CssLength

Optional boxDecorationBreak

boxDecorationBreak?: BoxDecorationBreak_StyleType

Optional boxShadow

Optional boxSizing

Optional breakAfter

Optional breakBefore

breakBefore?: BreakBefore_StyleType

Optional breakInside

breakInside?: BreakInside_StyleType

Optional bufferedRendering

bufferedRendering?: string

Optional captionSide

captionSide?: CaptionSide_StyleType

Optional caretColor

Optional clear

Optional clip

deprecated

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

Optional clipPath

Optional clipRule

Optional color

color?: CssColor

Optional colorAdjust

colorAdjust?: ColorAdjust_StyleType

Optional colorInterpolation

colorInterpolation?: ColorInterpolation_StyleType

Optional colorInterpolationFilters

colorInterpolationFilters?: ColorInterpolation_StyleType

Optional colorScheme

colorScheme?: ColorScheme_StyleType

Optional columnCount

columnCount?: ColumnCount_StyleType

Optional columnFill

Optional columnGap

Optional columnRule

columnRule?: Border_StyleType

Optional columnRuleColor

columnRuleColor?: CssColor

Optional columnRuleStyle

columnRuleStyle?: BorderStyle

Optional columnRuleWidth

columnRuleWidth?: LineWidth

Optional columnSpan

Optional columnWidth

columnWidth?: CssLength

Optional columns

Optional contain

Optional content

Optional contentVisibility

contentVisibility?: ContentVisibility_StyleType

Optional counterIncrement

counterIncrement?: CssCounter

Optional counterReset

counterReset?: CssCounter

Optional counterSet

counterSet?: CssCounter

Optional cursor

Optional direction

direction?: Direction

Optional display

Optional dominantBaseline

dominantBaseline?: DominantBaseline_StyleType

Optional emptyCells

Optional fill

fill?: CssColor

Optional fillOpacity

fillOpacity?: CssPercent

Optional fillRule

fillRule?: FillRule

Optional filter

Optional flex

Optional flexBasis

Optional flexDirection

flexDirection?: FlexDirection_StyleType

Optional flexFlow

Optional flexGrow

flexGrow?: CssNumber

Optional flexShrink

flexShrink?: CssNumber

Optional flexWrap

Optional float

Optional floodColor

floodColor?: CssColor

Optional floodOpacity

floodOpacity?: CssPercent

Optional font

Optional fontFamily

fontFamily?: string

Optional fontFeatureSettings

fontFeatureSettings?: string

Optional fontKerning

fontKerning?: FontKerning

Optional fontLanguageOverride

fontLanguageOverride?: string

Optional fontOpticalSizing

fontOpticalSizing?: FontOpticalSizing

Optional fontSize

fontSize?: FontSize

Optional fontSizeAdjust

fontSizeAdjust?: CssNumber

Optional fontStretch

fontStretch?: FontStretch

Optional fontStyle

fontStyle?: FontStyle

Optional fontSynthesis

fontSynthesis?: FontSynthesis

Optional fontVariant

fontVariant?: string

Optional fontVariantAlternates

fontVariantAlternates?: string

Optional fontVariantCaps

fontVariantCaps?: FontVariantCaps

Optional fontVariantEastAsian

fontVariantEastAsian?: string

Optional fontVariantLigatures

fontVariantLigatures?: string

Optional fontVariantNumeric

fontVariantNumeric?: string

Optional fontVariantPosition

fontVariantPosition?: FontVariantPosition

Optional fontVariationSettings

fontVariationSettings?: string

Optional fontWeight

Optional forcedColorAdjust

forcedColorAdjust?: ForcedColorAdjust_StyleType

Optional gap

Optional grid

grid?: string

Optional gridArea

Optional gridAutoColumns

gridAutoColumns?: GridAutoAxis_StyleType

Optional gridAutoFlow

gridAutoFlow?: GridAutoFlow_StyleType

Optional gridAutoRows

gridAutoRows?: GridAutoAxis_StyleType

Optional gridColumn

gridColumn?: GridAxis_StyleType

Optional gridColumnEnd

gridColumnEnd?: GridAxisSide_StyleType

Optional gridColumnGap

gridColumnGap?: ColumnGap_StyleType

Optional gridColumnStart

gridColumnStart?: GridAxisSide_StyleType

Optional gridGap

gridGap?: Gap_StyleType

Optional gridRow

Optional gridRowEnd

Optional gridRowGap

gridRowGap?: CssLength

Optional gridRowStart

gridRowStart?: GridAxisSide_StyleType

Optional gridTemplate

gridTemplate?: string

Optional gridTemplateAreas

gridTemplateAreas?: GridTemplateAreas_StyleType

Optional gridTemplateColumns

gridTemplateColumns?: GridTemplateAxis_StyleType

Optional gridTemplateRows

gridTemplateRows?: GridTemplateAxis_StyleType

Optional hangingPunctuation

hangingPunctuation?: string

Optional height

height?: CssSize

Optional hyphens

Optional imageOrientation

imageOrientation?: ImageOrientation_StyleType

Optional imageRendering

imageRendering?: ImageRendering_StyleType

Optional initialLetter

initialLetter?: InitialLetter_StyleType

Optional inlineSize

inlineSize?: CssSize

Optional inset

Optional insetBlock

Optional insetBlockEnd

insetBlockEnd?: CssLengthOrAuto

Optional insetBlockStart

insetBlockStart?: CssLengthOrAuto

Optional insetInline

insetInline?: OneOrPair<CssLengthOrAuto>

Optional insetInlineEnd

insetInlineEnd?: CssLengthOrAuto

Optional insetInlineStart

insetInlineStart?: CssLengthOrAuto

Optional isolation

Optional justifyContent

justifyContent?: JustifyContent_StyleType

Optional justifyItems

justifyItems?: JustifyItems_StyleType

Optional justifySelf

justifySelf?: JustifySelf_StyleType

Optional left

left?: CssLength

Optional letterSpacing

letterSpacing?: LetterSpacing_StyleType

Optional lightingColor

lightingColor?: CssColor

Optional lineBreak

Optional lineClamp

Optional lineHeight

Optional listStyle

Optional listStyleImage

listStyleImage?: ListStyleImage_StyleType

Optional listStylePosition

listStylePosition?: ListStylePosition_StyleType

Optional listStyleType

listStyleType?: ListStyleType_StyleType

Optional margin

Optional marginBlock

marginBlock?: OneOrPair<CssLengthOrAuto>

Optional marginBlockEnd

marginBlockEnd?: CssLengthOrAuto

Optional marginBlockStart

marginBlockStart?: CssLengthOrAuto

Optional marginBottom

marginBottom?: CssLengthOrAuto

Optional marginInline

marginInline?: OneOrPair<CssLengthOrAuto>

Optional marginInlineEnd

marginInlineEnd?: CssLengthOrAuto

Optional marginInlineStart

marginInlineStart?: CssLengthOrAuto

Optional marginLeft

marginLeft?: CssLengthOrAuto

Optional marginRight

marginRight?: CssLengthOrAuto

Optional marginTop

marginTop?: CssLengthOrAuto

Optional marginTrim

Optional marker

marker?: string

Optional markerEnd

markerEnd?: Marker_StyleType

Optional markerMid

markerMid?: Marker_StyleType

Optional markerStart

markerStart?: Marker_StyleType

Optional mask

mask?: string

Optional maskBorder

Optional maskBorderMode

maskBorderMode?: MaskBorderMode_StyleType

Optional maskBorderOutset

maskBorderOutset?: BorderImageOutset_StyleType

Optional maskBorderRepeat

maskBorderRepeat?: BorderImageRepeat_StyleType

Optional maskBorderSlice

maskBorderSlice?: BorderImageSlice_StyleType

Optional maskBorderSource

maskBorderSource?: BorderImageSource_StyleType

Optional maskBorderWidth

maskBorderWidth?: BorderImageWidth_StyleType

Optional maskClip

Optional maskComposite

Optional maskImage

maskImage?: OneOrMany<CssImage>

Optional maskMode

Optional maskOrigin

Optional maskPosition

maskPosition?: CssMultiPosition

Optional maskRepeat

Optional maskSize

maskSize?: string

Optional maskType

maskType?: MaskTypeKeyword

Optional mathStyle

Optional maxBlockSize

maxBlockSize?: CssSize

Optional maxHeight

maxHeight?: CssSize

Optional maxInlineSize

maxInlineSize?: CssSize

Optional maxWidth

maxWidth?: CssSize

Optional minBlockSize

minBlockSize?: CssSize

Optional minHeight

minHeight?: CssSize

Optional minInlineSize

minInlineSize?: CssSize

Optional minWidth

minWidth?: CssSize

Optional mixBlendMode

mixBlendMode?: BlendModeKeywords

Optional objectFit

Optional objectPosition

objectPosition?: CssPosition

Optional offset

Optional offsetAnchor

offsetAnchor?: OffsetAnchor_StyleType

Optional offsetDistance

offsetDistance?: CssLength

Optional offsetPath

Optional offsetPosition

offsetPosition?: OffsetPosition_StyleType

Optional offsetRotate

offsetRotate?: OffsetRotate_StyleType

Optional opacity

opacity?: CssPercent

Optional order

order?: CssNumber

Optional orphans

orphans?: CssNumber

Optional outline

Optional outlineColor

outlineColor?: CssColor

Optional outlineOffset

outlineOffset?: CssLength

Optional outlineStyle

outlineStyle?: BorderStyle_StyleType

Optional outlineWidth

outlineWidth?: LineWidth

Optional overflow

Optional overflowAnchor

overflowAnchor?: OverflowAnchor_StyleType

Optional overflowBlock

overflowBlock?: OverflowKeyword

Optional overflowClipMargin

overflowClipMargin?: OverflowClipMargin_StyleType

Optional overflowInline

overflowInline?: OverflowKeyword

Optional overflowWrap

overflowWrap?: OverflowWrap_StyleType

Optional overflowX

overflowX?: OverflowKeyword

Optional overflowY

overflowY?: OverflowKeyword

Optional overscrollBehavior

overscrollBehavior?: OverscrollBehavior_StyleType

Optional overscrollBehaviorBlock

overscrollBehaviorBlock?: OverscrollBehavior

Optional overscrollBehaviorInline

overscrollBehaviorInline?: OverscrollBehavior

Optional overscrollBehaviorX

overscrollBehaviorX?: OverscrollBehavior

Optional overscrollBehaviorY

overscrollBehaviorY?: OverscrollBehavior

Optional padding

padding?: OneOrBox<CssLength>

Optional paddingBlock

paddingBlock?: OneOrPair<CssLength>

Optional paddingBlockEnd

paddingBlockEnd?: CssLength

Optional paddingBlockStart

paddingBlockStart?: CssLength

Optional paddingBottom

paddingBottom?: CssLength

Optional paddingInline

paddingInline?: OneOrPair<CssLength>

Optional paddingInlineEnd

paddingInlineEnd?: CssLength

Optional paddingInlineStart

paddingInlineStart?: CssLength

Optional paddingLeft

paddingLeft?: CssLength

Optional paddingRight

paddingRight?: CssLength

Optional paddingTop

paddingTop?: CssLength

Optional pageBreakAfter

pageBreakAfter?: BreakAfter_StyleType

Optional pageBreakBefore

pageBreakBefore?: BreakBefore_StyleType

Optional pageBreakInside

pageBreakInside?: BreakInside_StyleType

Optional paintOrder

Optional perspective

perspective?: Perspective_StyleType

Optional perspectiveOrigin

perspectiveOrigin?: PerspectiveOrigin_StyleType

Optional placeContent

placeContent?: PlaceContent_StyleType

Optional placeItems

Optional placeSelf

Optional pointerEvents

pointerEvents?: PointerEvents_StyleType

Optional position

Optional quotes

Optional resize

Optional right

right?: CssLength

Optional rotate

Optional rowGap

rowGap?: CssLength

Optional rubyAlign

rubyAlign?: string

Optional rubyOverhang

rubyOverhang?: string

Optional rubyPosition

rubyPosition?: string

Optional scale

Optional scrollBehavior

scrollBehavior?: ScrollBehavior_StyleType

Optional scrollMargin

scrollMargin?: OneOrBox<CssLength>

Optional scrollMarginBlock

scrollMarginBlock?: OneOrPair<CssLength>

Optional scrollMarginBlockEnd

scrollMarginBlockEnd?: CssLength

Optional scrollMarginBlockStart

scrollMarginBlockStart?: CssLength

Optional scrollMarginBottom

scrollMarginBottom?: CssLength

Optional scrollMarginInline

scrollMarginInline?: OneOrPair<CssLength>

Optional scrollMarginInlineEnd

scrollMarginInlineEnd?: CssLength

Optional scrollMarginInlineStart

scrollMarginInlineStart?: CssLength

Optional scrollMarginLeft

scrollMarginLeft?: CssLength

Optional scrollMarginRight

scrollMarginRight?: CssLength

Optional scrollMarginTop

scrollMarginTop?: CssLength

Optional scrollPadding

scrollPadding?: OneOrBox<CssLength>

Optional scrollPaddingBlock

scrollPaddingBlock?: OneOrPair<CssLength>

Optional scrollPaddingBlockEnd

scrollPaddingBlockEnd?: CssLength

Optional scrollPaddingBlockStart

scrollPaddingBlockStart?: CssLength

Optional scrollPaddingBottom

scrollPaddingBottom?: CssLength

Optional scrollPaddingInline

scrollPaddingInline?: OneOrPair<CssLength>

Optional scrollPaddingInlineEnd

scrollPaddingInlineEnd?: CssLength

Optional scrollPaddingInlineStart

scrollPaddingInlineStart?: CssLength

Optional scrollPaddingLeft

scrollPaddingLeft?: CssLength

Optional scrollPaddingRight

scrollPaddingRight?: CssLength

Optional scrollPaddingTop

scrollPaddingTop?: CssLength

Optional scrollSnapAlign

scrollSnapAlign?: ScrollSnapAlign_StyleType

Optional scrollSnapStop

scrollSnapStop?: ScrollSnapStop_StyleType

Optional scrollSnapType

scrollSnapType?: ScrollSnapType_StyleType

Optional scrollbarColor

scrollbarColor?: ScrollbarColor_StyleType

Optional scrollbarGutter

scrollbarGutter?: ScrollbarGutter_StyleType

Optional scrollbarWidth

scrollbarWidth?: ScrollbarWidth_StyleType

Optional shapeImageThreshold

shapeImageThreshold?: CssNumber

Optional shapeMargin

shapeMargin?: CssLength

Optional shapeOutside

shapeOutside?: ShapeOutside_StyleType

Optional shapeRendering

shapeRendering?: ShapeRendering_StyleType

Optional stopColor

stopColor?: CssColor

Optional stopOpacity

stopOpacity?: CssNumber

Optional stroke

stroke?: CssColor

Optional strokeDasharray

strokeDasharray?: string

Optional strokeDashoffset

strokeDashoffset?: string

Optional strokeLinecap

strokeLinecap?: string

Optional strokeLinejoin

strokeLinejoin?: string

Optional strokeMiterlimit

strokeMiterlimit?: string

Optional strokeOpacity

strokeOpacity?: string

Optional strokeWidth

strokeWidth?: string

Optional tabSize

Optional tableLayout

tableLayout?: TableLayout_StyleType

Optional textAlign

Optional textAlignLast

textAlignLast?: TextAlignLast_StyleType

Optional textAnchor

Optional textCombineUpright

textCombineUpright?: TextCombineUpright_StyleType

Optional textDecoration

textDecoration?: TextDecoration_StyleType

Optional textDecorationColor

textDecorationColor?: CssColor

Optional textDecorationLine

textDecorationLine?: TextDecorationLine_StyleType

Optional textDecorationSkipInk

textDecorationSkipInk?: TextDecorationSkipInk_StyleType

Optional textDecorationStyle

textDecorationStyle?: TextDecorationStyle_StyleType

Optional textDecorationThickness

textDecorationThickness?: TextDecorationThickness_StyleType

Optional textEmphasis

textEmphasis?: TextEmphasis_StyleType

Optional textEmphasisColor

textEmphasisColor?: CssColor

Optional textEmphasisPosition

textEmphasisPosition?: TextEmphasisPosition_StyleType

Optional textEmphasisStyle

textEmphasisStyle?: TextEmphasisStyle_StyleType

Optional textFillColor

textFillColor?: CssColor

Optional textIndent

Optional textJustify

textJustify?: TextJustify_StyleType

Optional textKashida

textKashida?: string

Optional textKashidaSpace

textKashidaSpace?: string

Optional textOrientation

textOrientation?: TextOrientation_StyleType

Optional textOverflow

textOverflow?: TextOverflow_StyleType

Optional textRendering

textRendering?: TextRendering_StyleType

Optional textShadow

Optional textSizeAdjust

textSizeAdjust?: TextSizeAdjust_StyleType

textStroke

Optional textStrokeColor

textStrokeColor?: CssColor

Optional textStrokeWidth

textStrokeWidth?: LineWidth

Optional textTransform

textTransform?: TextTransform_StyleType

Optional textUnderlinePosition

textUnderlinePosition?: TextUnderlinePosition_StyleType

Optional top

top?: CssLength

Optional touchAction

touchAction?: TouchAction_StyleType

Optional transform

Optional transformBox

transformBox?: TransformBox_StyleType

Optional transformOrigin

transformOrigin?: TransformOrigin_StyleType

Optional transformStyle

transformStyle?: TransformStyle_StyleType

Optional transition

Optional transitionDelay

transitionDelay?: OneOrMany<CssTime>

Optional transitionDuration

transitionDuration?: OneOrMany<CssTime>

Optional transitionProperty

transitionProperty?: TransitionProperty_StyleType

Optional transitionTimingFunction

transitionTimingFunction?: OneOrMany<TimingFunction>

Optional translate

Optional unicodeBidi

unicodeBidi?: UnicodeBidi_StyleType

Optional userSelect

Optional vectorEffect

vectorEffect?: VectorEffect_StyleType

Optional verticalAlign

verticalAlign?: VerticalAlign_StyleType

Optional visibility

Optional whiteSpace

Optional widows

widows?: CssNumber

Optional width

width?: CssSize

Optional willChange

Optional wordBreak

Optional wordSpacing

wordSpacing?: WordSpacing_StyleType

Optional writingMode

writingMode?: WritingMode_StyleType

Optional zIndex

Optional zoom