Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CSSStyleDeclaration

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

all

all: 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

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

cssText

cssText: string

cursor

cursor: string

direction

direction: string

display

display: string

dominantBaseline

dominantBaseline: string

emptyCells

emptyCells: string

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

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

inlineSize

inlineSize: string

justifyContent

justifyContent: string

justifyItems

justifyItems: string

justifySelf

justifySelf: string

left

left: string

Readonly 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

objectFit

objectFit: string

objectPosition

objectPosition: string

opacity

opacity: string

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

overscrollBehavior

overscrollBehavior: string

overscrollBehaviorBlock

overscrollBehaviorBlock: string

overscrollBehaviorInline

overscrollBehaviorInline: string

overscrollBehaviorX

overscrollBehaviorX: string

overscrollBehaviorY

overscrollBehaviorY: 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

Readonly parentRule

parentRule: CSSRule | null

perspective

perspective: string

perspectiveOrigin

perspectiveOrigin: string

placeContent

placeContent: string

placeItems

placeItems: string

placeSelf

placeSelf: string

pointerEvents

pointerEvents: string

position

position: string

quotes

quotes: string

resize

resize: string

right

right: string

rotate

rotate: string

rowGap

rowGap: string

rubyAlign

rubyAlign: string

rubyPosition

rubyPosition: string

scale

scale: string

scrollBehavior

scrollBehavior: string

shapeRendering

shapeRendering: string

stopColor

stopColor: string

stopOpacity

stopOpacity: string

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

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

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

webkitBorderRadius

webkitBorderRadius: string
deprecated

webkitBorderTopLeftRadius

webkitBorderTopLeftRadius: string
deprecated

webkitBorderTopRightRadius

webkitBorderTopRightRadius: string
deprecated

webkitBoxAlign

webkitBoxAlign: string
deprecated

webkitBoxFlex

webkitBoxFlex: string
deprecated

webkitBoxOrdinalGroup

webkitBoxOrdinalGroup: string
deprecated

webkitBoxOrient

webkitBoxOrient: string
deprecated

webkitBoxPack

webkitBoxPack: string
deprecated

webkitBoxShadow

webkitBoxShadow: string
deprecated

webkitBoxSizing

webkitBoxSizing: string
deprecated

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

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

webkitUserSelect

webkitUserSelect: string
deprecated

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
deprecated

Methods

getPropertyPriority

  • getPropertyPriority(property: string): string
  • Parameters

    • property: string

    Returns string

getPropertyValue

  • getPropertyValue(property: string): string
  • Parameters

    • property: string

    Returns string

item

  • item(index: number): string
  • Parameters

    • index: number

    Returns string

removeProperty

  • removeProperty(property: string): string
  • Parameters

    • property: string

    Returns string

setProperty

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

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

    Returns void

Generated using TypeDoc