Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CSSStyleDeclaration

Package version

An object that is a CSS declaration block, and exposes style information and various style-related methods and properties.

Hierarchy

  • CSSStyleDeclaration

Indexable

[index: number]: string

An object that is a CSS declaration block, and exposes style information and various style-related methods and properties.

Index

Properties

Methods

Properties

alignContent

alignContent: string

alignItems

alignItems: string

alignSelf

alignSelf: string

alignmentBaseline

alignmentBaseline: string

animation

animation: string

animationDelay

animationDelay: string

animationDirection

animationDirection: string

animationDuration

animationDuration: string

animationFillMode

animationFillMode: string

animationIterationCount

animationIterationCount: string

animationName

animationName: string

animationPlayState

animationPlayState: string

animationTimingFunction

animationTimingFunction: string

backfaceVisibility

backfaceVisibility: string

background

background: string

backgroundAttachment

backgroundAttachment: string

backgroundClip

backgroundClip: string

backgroundColor

backgroundColor: string

backgroundImage

backgroundImage: string

backgroundOrigin

backgroundOrigin: string

backgroundPosition

backgroundPosition: string

backgroundPositionX

backgroundPositionX: string

backgroundPositionY

backgroundPositionY: string

backgroundRepeat

backgroundRepeat: string

backgroundSize

backgroundSize: string

baselineShift

baselineShift: string

blockSize

blockSize: string

border

border: string

borderBlockEnd

borderBlockEnd: string

borderBlockEndColor

borderBlockEndColor: string

borderBlockEndStyle

borderBlockEndStyle: string

borderBlockEndWidth

borderBlockEndWidth: string

borderBlockStart

borderBlockStart: string

borderBlockStartColor

borderBlockStartColor: string

borderBlockStartStyle

borderBlockStartStyle: string

borderBlockStartWidth

borderBlockStartWidth: string

borderBottom

borderBottom: string

borderBottomColor

borderBottomColor: string

borderBottomLeftRadius

borderBottomLeftRadius: string

borderBottomRightRadius

borderBottomRightRadius: string

borderBottomStyle

borderBottomStyle: string

borderBottomWidth

borderBottomWidth: string

borderCollapse

borderCollapse: string

borderColor

borderColor: string

borderImage

borderImage: string

borderImageOutset

borderImageOutset: string

borderImageRepeat

borderImageRepeat: string

borderImageSlice

borderImageSlice: string

borderImageSource

borderImageSource: string

borderImageWidth

borderImageWidth: string

borderInlineEnd

borderInlineEnd: string

borderInlineEndColor

borderInlineEndColor: string

borderInlineEndStyle

borderInlineEndStyle: string

borderInlineEndWidth

borderInlineEndWidth: string

borderInlineStart

borderInlineStart: string

borderInlineStartColor

borderInlineStartColor: string

borderInlineStartStyle

borderInlineStartStyle: string

borderInlineStartWidth

borderInlineStartWidth: string

borderLeft

borderLeft: string

borderLeftColor

borderLeftColor: string

borderLeftStyle

borderLeftStyle: string

borderLeftWidth

borderLeftWidth: string

borderRadius

borderRadius: string

borderRight

borderRight: string

borderRightColor

borderRightColor: string

borderRightStyle

borderRightStyle: string

borderRightWidth

borderRightWidth: string

borderSpacing

borderSpacing: string

borderStyle

borderStyle: string

borderTop

borderTop: string

borderTopColor

borderTopColor: string

borderTopLeftRadius

borderTopLeftRadius: string

borderTopRightRadius

borderTopRightRadius: string

borderTopStyle

borderTopStyle: string

borderTopWidth

borderTopWidth: string

borderWidth

borderWidth: string

bottom

bottom: string

boxShadow

boxShadow: string

boxSizing

boxSizing: string

breakAfter

breakAfter: string

breakBefore

breakBefore: string

breakInside

breakInside: string

captionSide

captionSide: string

caretColor

caretColor: string

clear

clear: string

clip

clip: string

clipPath

clipPath: string

clipRule

clipRule: string

color

color: string | null

colorInterpolation

colorInterpolation: string

colorInterpolationFilters

colorInterpolationFilters: string

columnCount

columnCount: string

columnFill

columnFill: string

columnGap

columnGap: string

columnRule

columnRule: string

columnRuleColor

columnRuleColor: string

columnRuleStyle

columnRuleStyle: string

columnRuleWidth

columnRuleWidth: string

columnSpan

columnSpan: string

columnWidth

columnWidth: string

columns

columns: string

content

content: string

counterIncrement

counterIncrement: string

counterReset

counterReset: string

cssFloat

cssFloat: string | null

cssText

cssText: string

cursor

cursor: string

direction

direction: string

display

display: string

dominantBaseline

dominantBaseline: string

emptyCells

emptyCells: string

enableBackground

enableBackground: string | null

fill

fill: string

fillOpacity

fillOpacity: string

fillRule

fillRule: string

filter

filter: string

flex

flex: string

flexBasis

flexBasis: string

flexDirection

flexDirection: string

flexFlow

flexFlow: string

flexGrow

flexGrow: string

flexShrink

flexShrink: string

flexWrap

flexWrap: string

float

float: string

floodColor

floodColor: string

floodOpacity

floodOpacity: string

font

font: string

fontFamily

fontFamily: string

fontFeatureSettings

fontFeatureSettings: string

fontKerning

fontKerning: string

fontSize

fontSize: string

fontSizeAdjust

fontSizeAdjust: string

fontStretch

fontStretch: string

fontStyle

fontStyle: string

fontSynthesis

fontSynthesis: string

fontVariant

fontVariant: string

fontVariantCaps

fontVariantCaps: string

fontVariantEastAsian

fontVariantEastAsian: string

fontVariantLigatures

fontVariantLigatures: string

fontVariantNumeric

fontVariantNumeric: string

fontVariantPosition

fontVariantPosition: string

fontWeight

fontWeight: string

gap

gap: string

glyphOrientationHorizontal

glyphOrientationHorizontal: string | null

glyphOrientationVertical

glyphOrientationVertical: string

grid

grid: string

gridArea

gridArea: string

gridAutoColumns

gridAutoColumns: string

gridAutoFlow

gridAutoFlow: string

gridAutoRows

gridAutoRows: string

gridColumn

gridColumn: string

gridColumnEnd

gridColumnEnd: string

gridColumnGap

gridColumnGap: string

gridColumnStart

gridColumnStart: string

gridGap

gridGap: string

gridRow

gridRow: string

gridRowEnd

gridRowEnd: string

gridRowGap

gridRowGap: string

gridRowStart

gridRowStart: string

gridTemplate

gridTemplate: string

gridTemplateAreas

gridTemplateAreas: string

gridTemplateColumns

gridTemplateColumns: string

gridTemplateRows

gridTemplateRows: string

height

height: string

hyphens

hyphens: string

imageOrientation

imageOrientation: string

imageRendering

imageRendering: string

imeMode

imeMode: string | null

inlineSize

inlineSize: string

justifyContent

justifyContent: string

justifyItems

justifyItems: string

justifySelf

justifySelf: string

kerning

kerning: string | null

layoutGrid

layoutGrid: string | null

layoutGridChar

layoutGridChar: string | null

layoutGridLine

layoutGridLine: string | null

layoutGridMode

layoutGridMode: string | null

layoutGridType

layoutGridType: string | null

left

left: string

length

length: number

letterSpacing

letterSpacing: string

lightingColor

lightingColor: string

lineBreak

lineBreak: string

lineHeight

lineHeight: string

listStyle

listStyle: string

listStyleImage

listStyleImage: string

listStylePosition

listStylePosition: string

listStyleType

listStyleType: string

margin

margin: string

marginBlockEnd

marginBlockEnd: string

marginBlockStart

marginBlockStart: string

marginBottom

marginBottom: string

marginInlineEnd

marginInlineEnd: string

marginInlineStart

marginInlineStart: string

marginLeft

marginLeft: string

marginRight

marginRight: string

marginTop

marginTop: string

marker

marker: string

markerEnd

markerEnd: string

markerMid

markerMid: string

markerStart

markerStart: string

mask

mask: string

maskComposite

maskComposite: string

maskImage

maskImage: string

maskPosition

maskPosition: string

maskRepeat

maskRepeat: string

maskSize

maskSize: string

maskType

maskType: string

maxBlockSize

maxBlockSize: string

maxHeight

maxHeight: string

maxInlineSize

maxInlineSize: string

maxWidth

maxWidth: string

minBlockSize

minBlockSize: string

minHeight

minHeight: string

minInlineSize

minInlineSize: string

minWidth

minWidth: string

msContentZoomChaining

msContentZoomChaining: string | null

msContentZoomLimit

msContentZoomLimit: string | null

msContentZoomLimitMax

msContentZoomLimitMax: any

msContentZoomLimitMin

msContentZoomLimitMin: any

msContentZoomSnap

msContentZoomSnap: string | null

msContentZoomSnapPoints

msContentZoomSnapPoints: string | null

msContentZoomSnapType

msContentZoomSnapType: string | null

msContentZooming

msContentZooming: string | null

msFlowFrom

msFlowFrom: string | null

msFlowInto

msFlowInto: string | null

msFontFeatureSettings

msFontFeatureSettings: string | null

msGridColumn

msGridColumn: any

msGridColumnAlign

msGridColumnAlign: string | null

msGridColumnSpan

msGridColumnSpan: any

msGridColumns

msGridColumns: string | null

msGridRow

msGridRow: any

msGridRowAlign

msGridRowAlign: string | null

msGridRowSpan

msGridRowSpan: any

msGridRows

msGridRows: string | null

msHighContrastAdjust

msHighContrastAdjust: string | null

msHyphenateLimitChars

msHyphenateLimitChars: string | null

msHyphenateLimitLines

msHyphenateLimitLines: any

msHyphenateLimitZone

msHyphenateLimitZone: any

msHyphens

msHyphens: string | null

msImeAlign

msImeAlign: string | null

msOverflowStyle

msOverflowStyle: string | null

msScrollChaining

msScrollChaining: string | null

msScrollLimit

msScrollLimit: string | null

msScrollLimitXMax

msScrollLimitXMax: any

msScrollLimitXMin

msScrollLimitXMin: any

msScrollLimitYMax

msScrollLimitYMax: any

msScrollLimitYMin

msScrollLimitYMin: any

msScrollRails

msScrollRails: string | null

msScrollSnapPointsX

msScrollSnapPointsX: string | null

msScrollSnapPointsY

msScrollSnapPointsY: string | null

msScrollSnapType

msScrollSnapType: string | null

msScrollSnapX

msScrollSnapX: string | null

msScrollSnapY

msScrollSnapY: string | null

msScrollTranslation

msScrollTranslation: string | null

msTextCombineHorizontal

msTextCombineHorizontal: string | null

msTextSizeAdjust

msTextSizeAdjust: any

msTouchAction

msTouchAction: string | null

msTouchSelect

msTouchSelect: string | null

msUserSelect

msUserSelect: string | null

msWrapFlow

msWrapFlow: string

msWrapMargin

msWrapMargin: any

msWrapThrough

msWrapThrough: string

objectFit

objectFit: string

objectPosition

objectPosition: string

opacity

opacity: string | null

order

order: string

orphans

orphans: string

outline

outline: string

outlineColor

outlineColor: string

outlineOffset

outlineOffset: string

outlineStyle

outlineStyle: string

outlineWidth

outlineWidth: string

overflow

overflow: string

overflowAnchor

overflowAnchor: string

overflowWrap

overflowWrap: string

overflowX

overflowX: string

overflowY

overflowY: string

padding

padding: string

paddingBlockEnd

paddingBlockEnd: string

paddingBlockStart

paddingBlockStart: string

paddingBottom

paddingBottom: string

paddingInlineEnd

paddingInlineEnd: string

paddingInlineStart

paddingInlineStart: string

paddingLeft

paddingLeft: string

paddingRight

paddingRight: string

paddingTop

paddingTop: string

pageBreakAfter

pageBreakAfter: string

pageBreakBefore

pageBreakBefore: string

pageBreakInside

pageBreakInside: string

paintOrder

paintOrder: string

parentRule

parentRule: CSSRule

penAction

penAction: string | null

perspective

perspective: string

perspectiveOrigin

perspectiveOrigin: string

placeContent

placeContent: string

placeItems

placeItems: string

placeSelf

placeSelf: string

pointerEvents

pointerEvents: string | null

position

position: string

quotes

quotes: string

resize

resize: string

right

right: string

rotate

rotate: string

rowGap

rowGap: string

rubyAlign

rubyAlign: string | null

rubyOverhang

rubyOverhang: string | null

rubyPosition

rubyPosition: string | null

scale

scale: string

scrollBehavior

scrollBehavior: string

shapeRendering

shapeRendering: string

stopColor

stopColor: string | null

stopOpacity

stopOpacity: string | null

stroke

stroke: string

strokeDasharray

strokeDasharray: string

strokeDashoffset

strokeDashoffset: string

strokeLinecap

strokeLinecap: string

strokeLinejoin

strokeLinejoin: string

strokeMiterlimit

strokeMiterlimit: string

strokeOpacity

strokeOpacity: string

strokeWidth

strokeWidth: string

tabSize

tabSize: string

tableLayout

tableLayout: string

textAlign

textAlign: string

textAlignLast

textAlignLast: string

textAnchor

textAnchor: string | null

textCombineUpright

textCombineUpright: string

textDecoration

textDecoration: string

textDecorationColor

textDecorationColor: string

textDecorationLine

textDecorationLine: string

textDecorationStyle

textDecorationStyle: string

textEmphasis

textEmphasis: string

textEmphasisColor

textEmphasisColor: string

textEmphasisPosition

textEmphasisPosition: string

textEmphasisStyle

textEmphasisStyle: string

textIndent

textIndent: string

textJustify

textJustify: string

textKashida

textKashida: string | null

textKashidaSpace

textKashidaSpace: string | null

textOrientation

textOrientation: string

textOverflow

textOverflow: string

textRendering

textRendering: string

textShadow

textShadow: string

textTransform

textTransform: string

textUnderlinePosition

textUnderlinePosition: string

top

top: string

touchAction

touchAction: string

transform

transform: string

transformBox

transformBox: string

transformOrigin

transformOrigin: string

transformStyle

transformStyle: string

transition

transition: string

transitionDelay

transitionDelay: string

transitionDuration

transitionDuration: string

transitionProperty

transitionProperty: string

transitionTimingFunction

transitionTimingFunction: string

translate

translate: string

unicodeBidi

unicodeBidi: string

userSelect

userSelect: string

verticalAlign

verticalAlign: string

visibility

visibility: string

webkitAlignContent

webkitAlignContent: string
deprecated

webkitAlignItems

webkitAlignItems: string
deprecated

webkitAlignSelf

webkitAlignSelf: string
deprecated

webkitAnimation

webkitAnimation: string
deprecated

webkitAnimationDelay

webkitAnimationDelay: string
deprecated

webkitAnimationDirection

webkitAnimationDirection: string
deprecated

webkitAnimationDuration

webkitAnimationDuration: string
deprecated

webkitAnimationFillMode

webkitAnimationFillMode: string
deprecated

webkitAnimationIterationCount

webkitAnimationIterationCount: string
deprecated

webkitAnimationName

webkitAnimationName: string
deprecated

webkitAnimationPlayState

webkitAnimationPlayState: string
deprecated

webkitAnimationTimingFunction

webkitAnimationTimingFunction: string
deprecated

webkitAppearance

webkitAppearance: string
deprecated

webkitBackfaceVisibility

webkitBackfaceVisibility: string
deprecated

webkitBackgroundClip

webkitBackgroundClip: string
deprecated

webkitBackgroundOrigin

webkitBackgroundOrigin: string
deprecated

webkitBackgroundSize

webkitBackgroundSize: string
deprecated

webkitBorderBottomLeftRadius

webkitBorderBottomLeftRadius: string
deprecated

webkitBorderBottomRightRadius

webkitBorderBottomRightRadius: string
deprecated

webkitBorderImage

webkitBorderImage: string | null

webkitBorderRadius

webkitBorderRadius: string
deprecated

webkitBorderTopLeftRadius

webkitBorderTopLeftRadius: string
deprecated

webkitBorderTopRightRadius

webkitBorderTopRightRadius: string
deprecated

webkitBoxAlign

webkitBoxAlign: string
deprecated

webkitBoxDirection

webkitBoxDirection: string | null

webkitBoxFlex

webkitBoxFlex: string
deprecated

webkitBoxOrdinalGroup

webkitBoxOrdinalGroup: string
deprecated

webkitBoxOrient

webkitBoxOrient: string | null

webkitBoxPack

webkitBoxPack: string
deprecated

webkitBoxShadow

webkitBoxShadow: string
deprecated

webkitBoxSizing

webkitBoxSizing: string
deprecated

webkitColumnBreakAfter

webkitColumnBreakAfter: string | null

webkitColumnBreakBefore

webkitColumnBreakBefore: string | null

webkitColumnBreakInside

webkitColumnBreakInside: string | null

webkitColumnCount

webkitColumnCount: any

webkitColumnGap

webkitColumnGap: any

webkitColumnRule

webkitColumnRule: string | null

webkitColumnRuleColor

webkitColumnRuleColor: any

webkitColumnRuleStyle

webkitColumnRuleStyle: string | null

webkitColumnRuleWidth

webkitColumnRuleWidth: any

webkitColumnSpan

webkitColumnSpan: string | null

webkitColumnWidth

webkitColumnWidth: any

webkitColumns

webkitColumns: string | null

webkitFilter

webkitFilter: string
deprecated

webkitFlex

webkitFlex: string
deprecated

webkitFlexBasis

webkitFlexBasis: string
deprecated

webkitFlexDirection

webkitFlexDirection: string
deprecated

webkitFlexFlow

webkitFlexFlow: string
deprecated

webkitFlexGrow

webkitFlexGrow: string
deprecated

webkitFlexShrink

webkitFlexShrink: string
deprecated

webkitFlexWrap

webkitFlexWrap: string
deprecated

webkitJustifyContent

webkitJustifyContent: string
deprecated

webkitLineClamp

webkitLineClamp: string

webkitMask

webkitMask: string
deprecated

webkitMaskBoxImage

webkitMaskBoxImage: string
deprecated

webkitMaskBoxImageOutset

webkitMaskBoxImageOutset: string
deprecated

webkitMaskBoxImageRepeat

webkitMaskBoxImageRepeat: string
deprecated

webkitMaskBoxImageSlice

webkitMaskBoxImageSlice: string
deprecated

webkitMaskBoxImageSource

webkitMaskBoxImageSource: string
deprecated

webkitMaskBoxImageWidth

webkitMaskBoxImageWidth: string
deprecated

webkitMaskClip

webkitMaskClip: string
deprecated

webkitMaskComposite

webkitMaskComposite: string
deprecated

webkitMaskImage

webkitMaskImage: string
deprecated

webkitMaskOrigin

webkitMaskOrigin: string
deprecated

webkitMaskPosition

webkitMaskPosition: string
deprecated

webkitMaskRepeat

webkitMaskRepeat: string
deprecated

webkitMaskSize

webkitMaskSize: string
deprecated

webkitOrder

webkitOrder: string
deprecated

webkitPerspective

webkitPerspective: string
deprecated

webkitPerspectiveOrigin

webkitPerspectiveOrigin: string
deprecated

webkitTapHighlightColor

webkitTapHighlightColor: string | null

webkitTextFillColor

webkitTextFillColor: string
deprecated

webkitTextSizeAdjust

webkitTextSizeAdjust: string
deprecated

webkitTextStroke

webkitTextStroke: string
deprecated

webkitTextStrokeColor

webkitTextStrokeColor: string
deprecated

webkitTextStrokeWidth

webkitTextStrokeWidth: string
deprecated

webkitTransform

webkitTransform: string
deprecated

webkitTransformOrigin

webkitTransformOrigin: string
deprecated

webkitTransformStyle

webkitTransformStyle: string
deprecated

webkitTransition

webkitTransition: string
deprecated

webkitTransitionDelay

webkitTransitionDelay: string
deprecated

webkitTransitionDuration

webkitTransitionDuration: string
deprecated

webkitTransitionProperty

webkitTransitionProperty: string
deprecated

webkitTransitionTimingFunction

webkitTransitionTimingFunction: string
deprecated

webkitUserModify

webkitUserModify: string | null

webkitUserSelect

webkitUserSelect: string | null

webkitWritingMode

webkitWritingMode: string | null

whiteSpace

whiteSpace: string

widows

widows: string

width

width: string

willChange

willChange: string

wordBreak

wordBreak: string

wordSpacing

wordSpacing: string

wordWrap

wordWrap: string

writingMode

writingMode: string

zIndex

zIndex: string

zoom

zoom: string | null

Methods

getPropertyPriority

  • getPropertyPriority(propertyName: string): string
  • Parameters

    • propertyName: string

    Returns string

getPropertyValue

  • getPropertyValue(propertyName: string): string
  • Parameters

    • propertyName: string

    Returns string

item

  • item(index: number): string
  • Parameters

    • index: number

    Returns string

removeProperty

  • removeProperty(propertyName: string): string
  • Parameters

    • propertyName: string

    Returns string

setProperty

  • setProperty(propertyName: string, value: string | null, priority?: string | null): void
  • Parameters

    • propertyName: string
    • value: string | null
    • Optional priority: string | null

    Returns void

Generated using TypeDoc