CSSStyleProperties
The CSSStyleProperties interface of the CSS Object Model (CSSOM) represents inline or computed styles available on an element, or the styles associated with a CSS style rule.
Extends
Extended by
Indexable
[index: number]: string
Methods
getPropertyPriority()
getPropertyPriority(property): string;
The CSSStyleDeclaration.getPropertyPriority() method interface returns a string that provides all explicitly set priorities on the CSS property.
Parameters
| Parameter | Type |
|---|---|
property | string |
Returns
string
Inherited from
CSSStyleDeclarationBase.getPropertyPriority
getPropertyValue()
getPropertyValue(property): string;
The CSSStyleDeclaration.getPropertyValue() method interface returns a string containing the value of a specified CSS property.
Parameters
| Parameter | Type |
|---|---|
property | string |
Returns
string
Inherited from
CSSStyleDeclarationBase.getPropertyValue
item()
item(index): string;
The CSSStyleDeclaration.item() method interface returns a CSS property name from a CSSStyleDeclaration by index.
Parameters
| Parameter | Type |
|---|---|
index | number |
Returns
string
Inherited from
removeProperty()
removeProperty(property): string;
The CSSStyleDeclaration.removeProperty() method interface removes a property from a CSS style declaration object.
Parameters
| Parameter | Type |
|---|---|
property | string |
Returns
string
Inherited from
CSSStyleDeclarationBase.removeProperty
setProperty()
setProperty(
property,
value,
priority?
): void;
The CSSStyleDeclaration.setProperty() method interface sets a new value for a property on a CSS style declaration object.
Parameters
| Parameter | Type |
|---|---|
property | string |
value | string | null |
priority? | string |
Returns
void
Inherited from
CSSStyleDeclarationBase.setProperty
Properties
accentColor
accentColor: string;
The accent-color CSS property sets the accent color for user-interface controls generated by some elements.
alignContent
alignContent: string;
The CSS align-content property sets the distribution of space between and around content items along a flexbox's cross axis, or a grid or block-level element's block axis.
alignItems
alignItems: string;
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 areas.
alignmentBaseline
alignmentBaseline: string;
The alignment-baseline CSS property specifies the specific baseline used to align the box's text and inline-level contents. Baseline alignment is the relationship among the baselines of multiple alignment subjects within an alignment context. When performing baseline alignment, the alignment-baseline property value specifies which baseline of the box is aligned to the corresponding baseline of its alignment context.
alignSelf
alignSelf: string;
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.
all
all: string;
The all shorthand CSS property resets all of an element's properties except unicode-bidi, direction, and CSS Custom Properties. It can set properties to their initial or inherited values, or to the values specified in another cascade layer or stylesheet origin.
anchorName
anchorName: string;
The anchor-name CSS property enables defining an element as an anchor element by giving it one or more identifying anchor names. Each name can then be set as the value of a positioned element's position-anchor property to associate it with the anchor.
anchorScope
anchorScope: string;
The anchor-scope CSS property can be used to limit the scope in which a positioned element can be associated with anchor elements to a particular subtree.
animation
animation: string;
The animation shorthand CSS property applies an animation between styles. It is a shorthand for animation-name, animation-duration, animation-timing-function, animation-delay, animation-iteration-count, animation-direction, animation-fill-mode, animation-play-state, and animation-timeline.
animationComposition
animationComposition: string;
The animation-composition CSS property specifies the composite operation to use when multiple animations affect the same property simultaneously.
animationDelay
animationDelay: string;
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.
animationDirection
animationDirection: string;
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.
animationDuration
animationDuration: string;
The animation-duration CSS property sets the length of time that an animation takes to complete one cycle.
animationFillMode
animationFillMode: string;
The animation-fill-mode CSS property sets how a CSS animation applies styles to its target before and after its execution.
animationIterationCount
animationIterationCount: string;
The animation-iteration-count CSS property sets the number of times an animation sequence should be played before stopping.
animationName
animationName: string;
The animation-name CSS property specifies the names of one or more
Keyframes
at-rules that describe the animation to apply to an element. Multiple
Keyframes
at-rules are specified as a comma-separated list of names. If the specified name does not match any
Keyframes
at-rule, no properties are animated.
animationPlayState
animationPlayState: string;
The animation-play-state CSS property sets whether an animation is running or paused.
animationRange
animationRange: string;
The animation-range CSS shorthand property is used to set the start and end of an animation's attachment range along its timeline, i.e., where along the timeline an animation will start and end.
animationRangeEnd
animationRangeEnd: string;
The animation-range-end CSS property sets the point on the timeline where an animation should end.
animationRangeStart
animationRangeStart: string;
The animation-range-start CSS property sets the point on the timeline where an animation should start.
animationTimeline
animationTimeline: string;
The animation-timeline CSS property specifies the timeline used to control the progress of a CSS animation.
animationTimingFunction
animationTimingFunction: string;
The animation-timing-function CSS property sets how an animation progresses through the duration of each cycle.
appearance
appearance: string;
The appearance CSS property specifies the rendered appearance of replaced UI widget elements such as form controls. Most commonly, such elements are given native, platform-specific styling based on the operating system's theme, or a primitive appearance with styles that can be overridden using CSS.
aspectRatio
aspectRatio: string;
The aspect-ratio CSS property allows you to define the desired width-to-height ratio of an element's box. This means that even if the parent container or viewport size changes, the browser will adjust the element's dimensions to maintain the specified width-to-height ratio. The specified aspect ratio is used in the calculation of auto sizes and some other layout functions.
backdropFilter
backdropFilter: string;
The backdrop-filter CSS property lets you apply graphical effects such as blurring or color shifting to the area behind an element. Because it applies to everything behind the element, to see the effect the element or its background needs to be transparent or partially transparent.
backfaceVisibility
backfaceVisibility: string;
The backface-visibility CSS property sets whether the back face of an element is visible when turned towards the user.
background
background: string;
The background shorthand CSS property sets all background style properties at once, such as color, image, origin, size, and repeat method.
backgroundAttachment
backgroundAttachment: string;
The background-attachment CSS property sets whether a background image's position is fixed within the viewport, or scrolls with its containing block.
backgroundBlendMode
backgroundBlendMode: string;
The background-blend-mode CSS property sets how an element's background images should blend with each other and with the element's background color.
backgroundClip
backgroundClip: string;
The background-clip CSS property sets whether an element's background extends underneath its border box, padding box, or content box.
backgroundColor
backgroundColor: string;
The background-color CSS property sets the background color of an element.
backgroundImage
backgroundImage: string;
The background-image CSS property sets one or more background images on an element.
backgroundOrigin
backgroundOrigin: string;
The background-origin CSS property sets the background's origin: from the border start, inside the border, or inside the padding.
backgroundPosition
backgroundPosition: string;
The background-position CSS property sets the initial position for each background image. The position is relative to the position layer set by background-origin.
backgroundPositionX
backgroundPositionX: string;
The background-position-x CSS property sets the initial horizontal position for each background image. The position is relative to the position layer set by background-origin.
backgroundPositionY
backgroundPositionY: string;
The background-position-y CSS property sets the initial vertical position for each background image. The position is relative to the position layer set by background-origin.
backgroundRepeat
backgroundRepeat: string;
The background-repeat CSS property sets how background images are repeated. A background image can be repeated along the horizontal and vertical axes, or not repeated at all.
backgroundSize
backgroundSize: string;
The background-size CSS property sets the size of the element's background image. The image can be left to its natural size, stretched, or constrained to fit the available space.
baselineShift
baselineShift: string;
The baseline-shift CSS property repositions the dominant-baseline of a text element relative to the dominant-baseline of its parent text content element. The shifted element might be a sub- or superscript. If the property is present, the value overrides the element's baseline-shift attribute.
baselineSource
baselineSource: string;
The baseline-source CSS property defines which baseline to use when inline-level boxes have multiple possible baselines, such as multi-line inline blocks or inline flex containers. The values allow for choosing between aligning to the box's first baseline, last baseline, or letting the browser decide automatically based on the box type.
blockSize
blockSize: string;
The block-size CSS property defines the size of an element's block along the block axis. If the writing-mode is horizontal, it corresponds to the height; if the writing mode is vertical, it corresponds to the width. A related property is inline-size, which defines the other dimension of the element.
border
border: string;
The border shorthand CSS property sets an element's border. It sets the values of border-width, border-style, and border-color.
borderBlock
borderBlock: string;
The border-block CSS property is a shorthand property for setting the individual logical block border property values in a single place in the style sheet.
borderBlockColor
borderBlockColor: string;
The border-block-color CSS property defines the color of the logical block borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation.
borderBlockEnd
borderBlockEnd: string;
The border-block-end CSS property is a shorthand property for setting the individual logical block-end border property values in a single place in the style sheet.
borderBlockEndColor
borderBlockEndColor: string;
The border-block-end-color CSS property defines the color of the logical block-end border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color, border-right-color, border-bottom-color, or border-left-color property depending on the values defined for writing-mode, direction, and text-orientation.
borderBlockEndStyle
borderBlockEndStyle: string;
The border-block-end-style CSS property defines the style of the logical block-end border of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style, border-right-style, border-bottom-style, or border-left-style property depending on the values defined for writing-mode, direction, and text-orientation.
borderBlockEndWidth
borderBlockEndWidth: string;
The border-block-end-width CSS property defines the width of the logical block-end border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width, border-right-width, border-bottom-width, or border-left-width property depending on the values defined for writing-mode, direction, and text-orientation.
borderBlockStart
borderBlockStart: string;
The border-block-start CSS property is a shorthand property for setting the individual logical block-start border property values in a single place in the style sheet.
borderBlockStartColor
borderBlockStartColor: string;
The border-block-start-color CSS property defines the color of the logical block-start border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color, border-right-color, border-bottom-color, or border-left-color property depending on the values defined for writing-mode, direction, and text-orientation.
borderBlockStartStyle
borderBlockStartStyle: string;
The border-block-start-style CSS property defines the style of the logical block start border of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style, border-right-style, border-bottom-style, or border-left-style property depending on the values defined for writing-mode, direction, and text-orientation.
borderBlockStartWidth
borderBlockStartWidth: string;
The border-block-start-width CSS property defines the width of the logical block-start border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width, border-right-width, border-bottom-width, or border-left-width property depending on the values defined for writing-mode, direction, and text-orientation.
borderBlockStyle
borderBlockStyle: string;
The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation.
borderBlockWidth
borderBlockWidth: string;
The border-block-width CSS property defines the width of the logical block borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation.
borderBottom
borderBottom: string;
The border-bottom shorthand CSS property sets an element's bottom border. It sets the values of border-bottom-width, border-bottom-style and border-bottom-color.
borderBottomColor
borderBottomColor: string;
The border-bottom-color CSS property sets the color of an element's bottom border. It can also be set with the shorthand CSS properties border-color or border-bottom.
borderBottomLeftRadius
borderBottomLeftRadius: string;
The border-bottom-left-radius CSS property rounds the bottom-left corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner.
borderBottomRightRadius
borderBottomRightRadius: string;
The border-bottom-right-radius CSS property rounds the bottom-right corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner.
borderBottomStyle
borderBottomStyle: string;
The border-bottom-style CSS property sets the line style of an element's bottom border.
borderBottomWidth
borderBottomWidth: string;
The border-bottom-width CSS property sets the width of the bottom border of an element.
borderCollapse
borderCollapse: string;
The border-collapse CSS property sets whether cells inside a <table> have shared or separate borders.
borderColor
borderColor: string;
The border-color shorthand CSS property sets the color of an element's border.
borderEndEndRadius
borderEndEndRadius: string;
The border-end-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's writing-mode, direction, and text-orientation. This is useful when building styles to work regardless of the text orientation and writing mode.
borderEndStartRadius
borderEndStartRadius: string;
The border-end-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation. This is useful when building styles to work regardless of the text orientation and writing mode.
borderImage
borderImage: string;
The border-image CSS property draws an image around a given element. It replaces the element's regular border.
borderImageOutset
borderImageOutset: string;
The border-image-outset CSS property sets the distance by which an element's border image is set out from its border box.
borderImageRepeat
borderImageRepeat: string;
The border-image-repeat CSS property defines how the images for the sides and the middle part of the border image are scaled and tiled. The middle region can be displayed by using the keyword "fill" in the border-image-slice property.
borderImageSlice
borderImageSlice: string;
The border-image-slice CSS property divides the image specified by border-image-source into regions. These regions form the components of an element's border image.
borderImageSource
borderImageSource: string;
The border-image-source CSS property sets the source image used to create an element's border image.
borderImageWidth
borderImageWidth: string;
The border-image-width CSS property sets the width of an element's border image.
borderInline
borderInline: string;
The border-inline CSS property is a shorthand property for setting the individual logical inline border property values in a single place in the style sheet.
borderInlineColor
borderInlineColor: string;
The border-inline-color CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation.
borderInlineEnd
borderInlineEnd: string;
The border-inline-end CSS property is a shorthand property for setting the individual logical inline-end border property values in a single place in the style sheet.
borderInlineEndColor
borderInlineEndColor: string;
The border-inline-end-color CSS property defines the color of the logical inline-end border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color, border-right-color, border-bottom-color, or border-left-color property depending on the values defined for writing-mode, direction, and text-orientation.
borderInlineEndStyle
borderInlineEndStyle: string;
The border-inline-end-style CSS property defines the style of the logical inline end border of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style, border-right-style, border-bottom-style, or border-left-style property depending on the values defined for writing-mode, direction, and text-orientation.
borderInlineEndWidth
borderInlineEndWidth: string;
The border-inline-end-width CSS property defines the width of the logical inline-end border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width, border-right-width, border-bottom-width, or border-left-width property depending on the values defined for writing-mode, direction, and text-orientation.
borderInlineStart
borderInlineStart: string;
The border-inline-start CSS property is a shorthand property for setting the individual logical inline-start border property values in a single place in the style sheet.
borderInlineStartColor
borderInlineStartColor: string;
The border-inline-start-color CSS property defines the color of the logical inline start border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color, border-right-color, border-bottom-color, or border-left-color property depending on the values defined for writing-mode, direction, and text-orientation.
borderInlineStartStyle
borderInlineStartStyle: string;
The border-inline-start-style CSS property defines the style of the logical inline start border of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style, border-right-style, border-bottom-style, or border-left-style property depending on the values defined for writing-mode, direction, and text-orientation.
borderInlineStartWidth
borderInlineStartWidth: string;
The border-inline-start-width CSS property defines the width of the logical inline-start border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width, border-right-width, border-bottom-width, or border-left-width property depending on the values defined for writing-mode, direction, and text-orientation.
borderInlineStyle
borderInlineStyle: string;
The border-inline-style CSS property defines the style of the logical inline borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation.
borderInlineWidth
borderInlineWidth: string;
The border-inline-width CSS property defines the width of the logical inline borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation.
borderLeft
borderLeft: string;
The border-left shorthand CSS property sets all the properties of an element's left border.
borderLeftColor
borderLeftColor: string;
The border-left-color CSS property sets the color of an element's left border. It can also be set with the shorthand CSS properties border-color or border-left.
borderLeftStyle
borderLeftStyle: string;
The border-left-style CSS property sets the line style of an element's left border.
borderLeftWidth
borderLeftWidth: string;
The border-left-width CSS property sets the width of the left border of an element.
borderRadius
borderRadius: string;
The border-radius CSS property rounds the corners of an element's outer border edge. You can set a single radius to make circular corners, or two radii to make elliptical corners.
borderRight
borderRight: string;
The border-right shorthand CSS property sets all the properties of an element's right border.
borderRightColor
borderRightColor: string;
The border-right-color CSS property sets the color of an element's right border. It can also be set with the shorthand CSS properties border-color or border-right.
borderRightStyle
borderRightStyle: string;
The border-right-style CSS property sets the line style of an element's right border.
borderRightWidth
borderRightWidth: string;
The border-right-width CSS property sets the width of the right border of an element.
borderSpacing
borderSpacing: string;
The border-spacing CSS property sets the distance between the borders of adjacent cells in a <table>. This property applies only when border-collapse is separate.
borderStartEndRadius
borderStartEndRadius: string;
The border-start-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation. This is useful when building styles to work regardless of the text orientation and writing mode.
borderStartStartRadius
borderStartStartRadius: string;
The border-start-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's writing-mode, direction, and text-orientation. This is useful when building styles to work regardless of the text orientation and writing mode.
borderStyle
borderStyle: string;
The border-style shorthand CSS property sets the line style for all four sides of an element's border.
borderTop
borderTop: string;
The border-top shorthand CSS property sets all the properties of an element's top border.
borderTopColor
borderTopColor: string;
The border-top-color CSS property sets the color of an element's top border. It can also be set with the shorthand CSS properties border-color or border-top.
borderTopLeftRadius
borderTopLeftRadius: string;
The border-top-left-radius CSS property rounds the top-left corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner.
borderTopRightRadius
borderTopRightRadius: string;
The border-top-right-radius CSS property rounds the top-right corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner.
borderTopStyle
borderTopStyle: string;
The border-top-style CSS property sets the line style of an element's top border.
borderTopWidth
borderTopWidth: string;
The border-top-width CSS property sets the width of the top border of an element.
borderWidth
borderWidth: string;
The border-width shorthand CSS property sets the width of an element's border.
bottom
bottom: string;
The bottom CSS property participates in setting the vertical position of a positioned element. This inset property has no effect on non-positioned elements.
boxDecorationBreak
boxDecorationBreak: string;
The box-decoration-break CSS property specifies how an element's fragments should be rendered when broken across multiple lines, columns, or pages.
boxShadow
boxShadow: string;
The box-shadow CSS property adds shadow effects around an element's frame. You can set multiple effects separated by commas. A box shadow is described by X and Y offsets relative to the element, blur and spread radius, and color.
boxSizing
boxSizing: string;
The box-sizing CSS property sets how the total width and height of an element is calculated.
breakAfter
breakAfter: string;
The break-after CSS property sets how page, column, or region breaks should behave after a generated box. If there is no generated box, the property is ignored.
breakBefore
breakBefore: string;
The break-before CSS property sets how page, column, or region breaks should behave before a generated box. If there is no generated box, the property is ignored.
breakInside
breakInside: string;
The break-inside CSS property sets how page, column, or region breaks should behave inside a generated box. If there is no generated box, the property is ignored.
captionSide
captionSide: string;
The caption-side CSS property puts the content of a table's <caption> on the specified side. The values are relative to the writing-mode of the table.
caretColor
caretColor: string;
The caret-color CSS property sets the color of the insertion caret, sometimes referred to as the text input cursor. This is the visible marker appearing at the insertion point where the next character typed will be added or where the next character deleted will be removed.
clear
clear: string;
The clear CSS property sets whether an element must be moved below (cleared) floating elements that precede it. The clear property applies to floating and non-floating elements.
clip
clip: string;
The clip CSS property defines a visible portion of an element. The clip property applies only to absolutely positioned elements — that is, elements with position:absolute or position:fixed.
Deprecated
clipPath
clipPath: string;
The clip-path CSS property creates a clipping region that sets what part of an element should be shown. Parts that are inside the region are shown, while those outside are hidden.
clipRule
clipRule: string;
The clip-rule CSS property determines, when parts of the path overlap other parts, which pixels in a mask's box are inside the clipping shape defined by a clip path and which are outside.
color
color: string;
The color CSS property sets the foreground color value of an element's text and text decorations, and sets the currentColor value. currentColor may be used as an indirect value on other properties and is the default for other color properties, such as border-color.
colorInterpolation
colorInterpolation: string;
The color-interpolation CSS property is used in SVG to specify which color space to use for <linearGradient> and <radialGradient> SVG elements.
colorInterpolationFilters
colorInterpolationFilters: string;
The color-interpolation-filters CSS property specifies the color space for imaging operations performed via SVG filter effects. If explicitly declared, the value of the CSS property overrides any value given in the element's color-interpolation-filters attribute.
colorScheme
colorScheme: string;
The color-scheme CSS property allows an element to indicate which color schemes it can comfortably be rendered in. User agents change the following aspects of the UI chrome to match the used color scheme:
columnCount
columnCount: string;
The column-count CSS property breaks an element's content into the specified number of columns.
columnFill
columnFill: string;
The column-fill CSS property controls how an element's contents are balanced when broken into columns.
columnGap
columnGap: string;
The column-gap CSS property sets the size of the gap (gutter) between an element's columns.
columnRule
columnRule: string;
The column-rule shorthand CSS property sets the width, style, and color of the line drawn between columns in a multi-column layout.
columnRuleColor
columnRuleColor: string;
The column-rule-color CSS property sets the color of the line drawn between columns in a multi-column layout.
columnRuleStyle
columnRuleStyle: string;
The column-rule-style CSS property sets the style of the line drawn between columns in a multi-column layout.
columnRuleWidth
columnRuleWidth: string;
The column-rule-width CSS property sets the width of the line drawn between columns in a multi-column layout.
columns
columns: string;
The columns CSS shorthand property sets the number of columns to use when drawing an element's contents, as well as those columns' widths.
columnSpan
columnSpan: string;
The column-span CSS property makes it possible for an element to span across all columns when its value is set to all.
columnWidth
columnWidth: string;
The column-width CSS property sets the ideal column width in a multi-column layout. The container will have as many columns as can fit without any of them having a width less than the column-width value. If the width of the container is narrower than the specified value, the single column's width will be smaller than the declared column width.
contain
contain: string;
The contain CSS property indicates that an element and its contents are, as much as possible, independent from the rest of the document tree. Containment enables isolating a subsection of the DOM, providing performance benefits by limiting calculations of layout, style, paint, size, or any combination to a DOM subtree rather than the entire page. Containment can also be used to scope CSS counters and quotes.
container
container: string;
The container shorthand CSS property establishes the element as a query container and specifies the name and type of the containment context used in a container query.
containerName
containerName: string;
The container-name CSS property specifies a list of query container names used by the
Container
at-rule in a container query. A container query will apply styles to elements based on the size or scroll-state of the nearest ancestor with a containment context. When a containment context is given a name, it can be specifically targeted using the
Container
at-rule instead of the nearest ancestor with containment.
containerType
containerType: string;
An element can be established as a query container using the container-type CSS property. container-type is used to define the type of container context used in a container query. The available container contexts are:
containIntrinsicBlockSize
containIntrinsicBlockSize: string;
The contain-intrinsic-block-size CSS logical property defines the block size of an element that a browser can use for layout when the element is subject to size containment.
containIntrinsicHeight
containIntrinsicHeight: string;
The contain-intrinsic-height CSS property sets the height of an element that a browser can use for layout when the element is subject to size containment.
containIntrinsicInlineSize
containIntrinsicInlineSize: string;
The contain-intrinsic-inline-size CSS logical property defines the inline-size of an element that a browser can use for layout when the element is subject to size containment.
containIntrinsicSize
containIntrinsicSize: string;
The contain-intrinsic-size CSS shorthand property sets the size of an element that a browser will use for layout when the element is subject to size containment.
containIntrinsicWidth
containIntrinsicWidth: string;
The contain-intrinsic-width CSS property sets the width of an element that a browser will use for layout when the element is subject to size containment.
content
content: string;
The content CSS property replaces content with a generated value. It can be used to define what is rendered inside an element or pseudo-element. For elements, the content property specifies whether the element renders normally (normal or none) or is replaced with an image (and associated "alt" text). For pseudo-elements and margin boxes, content defines the content as images, text, both, or none, which determines whether the element renders at all.
contentVisibility
contentVisibility: string;
The content-visibility CSS property controls whether or not an element renders its contents at all, along with forcing a strong set of containments, allowing user agents to potentially omit large swathes of layout and rendering work until it becomes needed. It enables the user agent to skip an element's rendering work (including layout and painting) until it is needed — which makes the initial page load much faster.
counterIncrement
counterIncrement: string;
The counter-increment CSS property can be used to increase or decrease the value of the named CSS counters by the specified values, or to prevent all counters or an individual counter's value from being changed.
counterReset
counterReset: string;
The counter-reset CSS property creates named CSS counters and initializes them to a specific value. It supports creating counters that count up from one to the number of elements, as well as those that count down from the number of elements to one.
counterSet
counterSet: string;
The counter-set CSS property sets CSS counters on the element to the given values.
cssFloat
cssFloat: string;
The cssFloat property of the CSSStyleProperties interface returns the CSS float property.
cssText
cssText: string;
The cssText property of the CSSStyleDeclaration interface returns or sets the text of the element's inline style declaration only.
Inherited from
CSSStyleDeclarationBase.cssText
cursor
cursor: string;
The cursor CSS property sets the mouse cursor, if any, to show when the mouse pointer is over an element.
cx
cx: string;
The cx CSS property defines the x-axis center point of an SVG <circle> or <ellipse> element. If present, it overrides the element's cx attribute.
cy
cy: string;
The cy CSS property defines the y-axis center point of an SVG <circle> or <ellipse> elements. If present, it overrides the element's cy attribute.
d
d: string;
The d CSS property defines a path to be drawn by the SVG <path> element. If present, it overrides the element's d attribute.
direction
direction: string;
The direction CSS property sets the direction of text, table and grid columns, and horizontal overflow. Use rtl for languages written from right to left (like Hebrew or Arabic), and ltr for those written from left to right (like English and most other languages).
display
display: string;
The display CSS property sets whether an element is treated as a block or inline box and the layout used for its children, such as flow layout, grid or flex.
dominantBaseline
dominantBaseline: string;
The dominant-baseline CSS property specifies the specific baseline used to align the box's text and inline-level contents. It also indicates the default alignment baseline of any boxes participating in baseline alignment in the box's alignment context. If present, it overrides the shape's dominant-baseline attribute.
dynamicRangeLimit
dynamicRangeLimit: string;
The dynamic-range-limit CSS property specifies the maximum luminance allowed for High Dynamic Range (HDR) content.
emptyCells
emptyCells: string;
The empty-cells CSS property sets whether borders and backgrounds appear around <table> cells that have no visible content.
fieldSizing
fieldSizing: string;
The field-sizing CSS property enables you to control the sizing behavior of elements that are given a default preferred size, such as form control elements. This property enables you to override the default sizing behavior, allowing form controls to adjust in size to fit their contents.
fill
fill: string;
The fill CSS property defines how SVG text content and the interior canvas of SVG shapes are filled or painted. If present, it overrides the element's fill attribute.
fillOpacity
fillOpacity: string;
The fill-opacity CSS property defines the opacity of the painting operation (color, gradient, pattern, etc.) applied to SVG shapes or text content elements to fill the element. The property defines the opacity of the element's fill only; it does not affect the stroke. If present, it overrides the element's fill-opacity attribute.
fillRule
fillRule: string;
The fill-rule CSS property defines the rule used to determine which parts of the SVG shape's canvas are included inside a shape to be filled. If present, it overrides the element's fill-rule attribute.
filter
filter: string;
The filter CSS property applies graphical effects like blur or color shift to an element. Filters are commonly used to adjust the rendering of images, backgrounds, and borders.
flex
flex: string;
The flex CSS shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container.
flexBasis
flexBasis: string;
The flex-basis CSS property sets the initial main size of a flex item. It sets the size of the content box unless otherwise set with box-sizing.
flexDirection
flexDirection: string;
The flex-direction CSS property sets how flex items are placed in the flex container defining the main axis and the direction (normal or reversed).
flexFlow
flexFlow: string;
The flex-flow CSS shorthand property specifies the direction of a flex container, as well as its wrapping behavior.
flexGrow
flexGrow: string;
The flex-grow CSS property sets the flex grow factor, which specifies how much of the flex container's positive free space, if any, should be assigned to the flex item's main size.
flexShrink
flexShrink: string;
The flex-shrink CSS property sets the flex shrink factor of a flex item. If the size of all flex items is larger than the flex container, the flex items can shrink to fit according to their flex-shrink value. Each flex line's negative free space is distributed between the line's flex items that have a flex-shrink value greater than 0.
flexWrap
flexWrap: string;
The flex-wrap CSS property sets whether flex items are forced onto one line or can wrap onto multiple lines. If wrapping is allowed, it sets the direction that lines are stacked.
float
float: string;
floodColor
floodColor: string;
The flood-color CSS property defines the color of the current filter primitive subregion in <feFlood> and <feDropShadow> elements within a <filter>. If present, it overrides the element's flood-color attribute.
floodOpacity
floodOpacity: string;
The flood-opacity CSS property defines the opacity of the current filter primitive subregion in <feFlood> and <feDropShadow> elements within a <filter>. If present, it overrides the element's flood-opacity attribute.
font
font: string;
The font CSS shorthand property sets all the different properties of an element's font. Alternatively, it sets an element's font to a system font.
fontFamily
fontFamily: string;
The font-family CSS property specifies a prioritized list of one or more font family names and/or generic family names for the selected element.
fontFeatureSettings
fontFeatureSettings: string;
The font-feature-settings CSS property controls advanced typographic features in OpenType fonts.
fontKerning
fontKerning: string;
The font-kerning CSS property sets the use of the kerning information stored in a font.
fontLanguageOverride
fontLanguageOverride: string;
The font-language-override CSS property controls the use of language-specific glyphs in a typeface.
fontOpticalSizing
fontOpticalSizing: string;
The font-optical-sizing CSS property sets whether text rendering is optimized for viewing at different sizes.
fontPalette
fontPalette: string;
The font-palette CSS property allows specifying one of the many palettes contained in a color font that a user agent may use for the font. Users can also override the values in a palette or create a new palette by using the
Font-palette-values
at-rule.
fontSize
fontSize: string;
The font-size CSS property sets the size of the font. Changing the font size also updates the sizes of the font size-relative <length> units, such as em, ex, and so forth.
fontSizeAdjust
fontSizeAdjust: string;
The font-size-adjust CSS property provides a way to modify the size of lowercase letters relative to the size of uppercase letters, which defines the overall font-size. This property is useful for situations where font fallback can occur.
fontStretch
fontStretch: string;
The font-stretch CSS property selects a normal, condensed, or expanded face from a font.
fontStyle
fontStyle: string;
The font-style CSS property sets whether a font should be styled with a normal, italic, or oblique face from its font-family.
fontSynthesis
fontSynthesis: string;
The font-synthesis shorthand CSS property lets you specify whether or not the browser may synthesize the bold, italic, small-caps, and/or subscript and superscript typefaces when they are missing in the specified font-family.
fontSynthesisSmallCaps
fontSynthesisSmallCaps: string;
The font-synthesis-small-caps CSS property lets you specify whether or not the browser may synthesize small-caps typeface when it is missing in a font family. Small-caps glyphs typically use the form of uppercase letters but are reduced to the size of lowercase letters.
fontSynthesisStyle
fontSynthesisStyle: string;
The font-synthesis-style CSS property lets you specify whether or not the browser may synthesize the oblique typeface when it is missing in a font family.
fontSynthesisWeight
fontSynthesisWeight: string;
The font-synthesis-weight CSS property lets you specify whether or not the browser may synthesize the bold typeface when it is missing in a font family.
fontVariant
fontVariant: string;
The font-variant CSS shorthand property allows you to set all the font variants for a font.
fontVariantAlternates
fontVariantAlternates: string;
The font-variant-alternates CSS property controls the usage of alternate glyphs. These alternate glyphs may be referenced by alternative names defined in @font-feature-values.
fontVariantCaps
fontVariantCaps: string;
The font-variant-caps CSS property controls the use of alternate glyphs used for small or petite capitals or for titling.
fontVariantEastAsian
fontVariantEastAsian: string;
The font-variant-east-asian CSS property controls the use of alternate glyphs for East Asian scripts, like Japanese and Chinese.
fontVariantEmoji
fontVariantEmoji: string;
The font-variant-emoji CSS property specifies the default presentation style for displaying emojis.
fontVariantLigatures
fontVariantLigatures: string;
The font-variant-ligatures CSS property controls which ligatures and contextual forms are used in the textual content of the elements it applies to. This leads to more harmonized forms in the resulting text.
fontVariantNumeric
fontVariantNumeric: string;
The font-variant-numeric CSS property controls the usage of alternate glyphs for numbers, fractions, and ordinal markers.
fontVariantPosition
fontVariantPosition: string;
The font-variant-position CSS property controls the use of alternate, smaller glyphs that are positioned as superscript or subscript.
fontVariationSettings
fontVariationSettings: string;
The font-variation-settings CSS property provides low-level control over variable font characteristics by letting you specify the four letter axis names of the characteristics you want to vary along with their values.
fontWeight
fontWeight: string;
The font-weight CSS property sets the weight (or boldness) of the font. The weights available depend on the font-family that is currently set.
forcedColorAdjust
forcedColorAdjust: string;
The forced-color-adjust CSS property allows authors to opt certain elements out of forced colors mode. This then restores the control of those values to CSS.
gap
gap: string;
The gap CSS shorthand property sets the gaps (also called gutters) between rows and columns. This property applies to multi-column, flex, and grid containers.
grid
grid: string;
The grid CSS property is a shorthand property that sets all of the explicit and implicit grid properties in a single declaration.
gridArea
gridArea: string;
The grid-area CSS shorthand property specifies a grid item's size and location within a grid by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the edges of its grid area.
gridAutoColumns
gridAutoColumns: string;
The grid-auto-columns CSS property specifies the size of an implicitly-created grid column track or pattern of tracks.
gridAutoFlow
gridAutoFlow: string;
The grid-auto-flow CSS property controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid.
gridAutoRows
gridAutoRows: string;
The grid-auto-rows CSS property specifies the size of an implicitly-created grid row track or pattern of tracks.
gridColumn
gridColumn: string;
The grid-column CSS shorthand property specifies a grid item's size and location within a grid column by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-start and inline-end edge of its grid area.
gridColumnEnd
gridColumnEnd: string;
The grid-column-end CSS property specifies a grid item's end position within the grid column by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the block-end edge of its grid area.
gridColumnGap
gridColumnGap: string;
Deprecated
This is a legacy alias of columnGap.
gridColumnStart
gridColumnStart: string;
The grid-column-start CSS property specifies a grid item's start position within the grid column by contributing a line, a span, or nothing (automatic) to its grid placement. This start position defines the block-start edge of the grid area.
gridGap
gridGap: string;
Deprecated
This is a legacy alias of gap.
gridRow
gridRow: string;
The grid-row CSS shorthand property specifies a grid item's size and location within a grid row by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-start and inline-end edge of its grid area.
gridRowEnd
gridRowEnd: string;
The grid-row-end CSS property specifies a grid item's end position within the grid row by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-end edge of its grid area.
gridRowGap
gridRowGap: string;
Deprecated
This is a legacy alias of rowGap.
gridRowStart
gridRowStart: string;
The grid-row-start CSS property specifies a grid item's start position within the grid row by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-start edge of its grid area.
gridTemplate
gridTemplate: string;
The grid-template CSS property is a shorthand property for defining grid columns, grid rows, and grid areas.
gridTemplateAreas
gridTemplateAreas: string;
The grid-template-areas CSS property specifies named grid areas, establishing the cells in the grid and assigning them names.
gridTemplateColumns
gridTemplateColumns: string;
The grid-template-columns CSS property defines the line names and track sizing functions of the grid columns.
gridTemplateRows
gridTemplateRows: string;
The grid-template-rows CSS property defines the line names and track sizing functions of the grid rows.
height
height: string;
The height CSS property specifies the height of an element. By default, the property defines the height of the content area. If box-sizing is set to border-box, however, it instead determines the height of the border area.
hyphenateCharacter
hyphenateCharacter: string;
The hyphenate-character CSS property sets the character (or string) used at the end of a line before a hyphenation break.
hyphenateLimitChars
hyphenateLimitChars: string;
The hyphenate-limit-chars CSS property specifies the minimum word length to allow hyphenation of words as well as the minimum number of characters before and after the hyphen.
hyphens
hyphens: string;
The hyphens CSS property specifies how words should be hyphenated when text wraps across multiple lines. It can prevent hyphenation entirely, hyphenate at manually-specified points within the text, or let the browser automatically insert hyphens where appropriate.
imageOrientation
imageOrientation: string;
The image-orientation CSS property specifies a layout-independent correction to the orientation of an image.
imageRendering
imageRendering: string;
The image-rendering CSS property sets an image scaling algorithm. The property applies to an element itself, to any images set in its other properties, and to its descendants.
inlineSize
inlineSize: string;
The inline-size CSS property defines the size of an element's block along the inline axis. If the writing-mode is horizontal, it corresponds to the width; if the writing mode is vertical, it corresponds to the height. A related property is block-size, which defines the other dimension of the element.
inset
inset: string;
The inset CSS property is a shorthand that corresponds to the top, right, bottom, and/or left properties. It has the same multi-value syntax of the margin shorthand.
insetBlock
insetBlock: string;
The inset-block CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation.
insetBlockEnd
insetBlockEnd: string;
The inset-block-end CSS property defines the logical block end offset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation.
insetBlockStart
insetBlockStart: string;
The inset-block-start CSS property defines the logical block start offset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation.
insetInline
insetInline: string;
The inset-inline CSS property defines the logical start and end offsets of an element in the inline direction, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation.
insetInlineEnd
insetInlineEnd: string;
The inset-inline-end CSS property defines the logical inline end inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation.
insetInlineStart
insetInlineStart: string;
The inset-inline-start CSS property defines the logical inline start inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation.
isolation
isolation: string;
The isolation CSS property determines whether an element must create a new stacking context.
justifyContent
justifyContent: string;
The CSS justify-content property defines how the browser distributes space between and around content items along the main axis of a flex container and the inline axis of grid and multicol containers.
justifyItems
justifyItems: string;
The CSS justify-items property defines the default justify-self for all items of the box, giving them all a default way of justifying each box along the appropriate axis.
justifySelf
justifySelf: string;
The CSS justify-self property sets the way a box is justified inside its alignment container along the appropriate axis.
left
left: string;
The left CSS property participates in specifying the horizontal position of a positioned element. This inset property has no effect on non-positioned elements.
length
readonly length: number;
The read-only property returns an integer that represents the number of style declarations in this CSS declaration block.
Inherited from
CSSStyleDeclarationBase.length
letterSpacing
letterSpacing: string;
The letter-spacing CSS property sets the horizontal spacing behavior between text characters. This value is added to the natural spacing between characters while rendering the text. Positive values of letter-spacing causes characters to spread farther apart, while negative values of letter-spacing bring characters closer together.
lightingColor
lightingColor: string;
The lighting-color CSS property defines the color of the light source for the <feDiffuseLighting> and <feSpecularLighting> SVG lighting filter primitives within an SVG <filter>. If present, it overrides the element's lighting-color attribute.
lineBreak
lineBreak: string;
The line-break CSS property sets how to break lines of Chinese, Japanese, or Korean (CJK) text when working with punctuation and symbols.
lineHeight
lineHeight: string;
The line-height CSS property sets the height of a line box in horizontal writing modes. In vertical writing modes, it sets the width of a line box. It's commonly used to set the distance between lines of text. On block-level elements in horizontal writing modes, it specifies the preferred height of line boxes within the element, and on non-replaced inline elements, it specifies the height that is used to calculate line box height.
listStyle
listStyle: string;
The list-style CSS shorthand property allows you to set all the list style properties at once.
listStyleImage
listStyleImage: string;
The list-style-image CSS property sets an image to be used as the list item marker.
listStylePosition
listStylePosition: string;
The list-style-position CSS property sets the position of the ::marker relative to a list item.
listStyleType
listStyleType: string;
The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.
margin
margin: string;
The margin CSS shorthand property sets the margin area on all four sides of an element.
marginBlock
marginBlock: string;
The margin-block CSS shorthand property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
marginBlockEnd
marginBlockEnd: string;
The margin-block-end CSS property defines the logical block end margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation.
marginBlockStart
marginBlockStart: string;
The margin-block-start CSS property defines the logical block start margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation.
marginBottom
marginBottom: string;
The margin-bottom CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
marginInline
marginInline: string;
The margin-inline CSS shorthand property is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
marginInlineEnd
marginInlineEnd: string;
The margin-inline-end CSS property defines the logical inline end margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation. In other words, it corresponds to the margin-top, margin-right, margin-bottom or margin-left property depending on the values defined for writing-mode, direction, and text-orientation.
marginInlineStart
marginInlineStart: string;
The margin-inline-start CSS property defines the logical inline start margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation. It corresponds to the margin-top, margin-right, margin-bottom, or margin-left property depending on the values defined for writing-mode, direction, and text-orientation.
marginLeft
marginLeft: string;
The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
marginRight
marginRight: string;
The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
marginTop
marginTop: string;
The margin-top CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
marker
marker: string;
The marker CSS property points to a marker that will be drawn on the first, middle, and last vertices of the element's path; that is, at all of its vertices. The marker must have been defined using an SVG <marker> element, and can only be referenced with a <url> value. The value of the CSS property overrides any values of the marker-start, marker, and marker-end attributes in the SVG.
markerEnd
markerEnd: string;
The marker-end CSS property points to a marker that will be drawn on the last vertex of the element's path; that is, at its ending vertex. The marker must have been defined using an SVG <marker> element, and can only be referenced with a <url> value. The value of the CSS property overrides any values of the marker-end attribute in the SVG.
markerMid
markerMid: string;
The marker-mid CSS property points to a marker that will be drawn on the middle vertices of the element's path; that is, at each of its vertices between the start and end vertices. The marker must have been defined using an SVG <marker> element, and can only be referenced with a <url> value. The value of the CSS property overrides any values of the marker-mid attribute in the SVG.
markerStart
markerStart: string;
The marker-start CSS property points to a marker that will be drawn on the first vertex of the element's path; that is, at its starting vertex. The marker must have been defined using an SVG <marker> element, and can only be referenced with a <url> value. The value of the CSS property overrides any values of the marker-start attribute in the SVG.
mask
mask: string;
The mask CSS shorthand property hides an element (partially or fully) by masking or clipping a specified area of the image. It is a shorthand for all the mask-* properties. The property accepts one or more comma-separated values, where each value corresponds to a <mask-layer>.
maskClip
maskClip: string;
The mask-clip CSS property determines the area which is affected by a mask. The painted content of an element must be restricted to this area.
maskComposite
maskComposite: string;
The mask-composite CSS property represents a compositing operation used on the current mask layer with the mask layers below it.
maskImage
maskImage: string;
The mask-image CSS property sets the image that is used as the mask layer for an element, hiding sections of the element on which the masking image is set based on the alpha channel of the mask image and, depending on the mask-mode property value, the luminance of the mask image's colors.
maskMode
maskMode: string;
The mask-mode CSS property is set on the element being masked. It sets whether the mask reference defined by the mask-image is treated as a luminance or alpha mask.
maskOrigin
maskOrigin: string;
The mask-origin CSS property sets the origin of a mask. This property determines the mask positioning area: the area within which a mask image is positioned. HTML elements can have masks contained within their content border box, padding box, or content box, whereas SVG elements (which don't have the associated CSS layout boxes) can have masks contained inside their fill, stroke, or view box. For elements rendered as multiple boxes, such as a <span> of text that spans more than one line, the mask-origin property specifies which boxes the box-decoration-break property operates on to determine the mask positioning area.
maskPosition
maskPosition: string;
The mask-position CSS property sets the initial position, relative to the mask position layer set by mask-origin, for each defined mask image.
maskRepeat
maskRepeat: string;
The mask-repeat CSS property sets how mask images are repeated. A mask image can be repeated along the horizontal axis, the vertical axis, both axes, or not repeated at all.
maskSize
maskSize: string;
The mask-size CSS property specifies the sizes of specified mask images. Mask image sizes can be fully or partially constrained to preserve their intrinsic aspect ratios.
maskType
maskType: string;
The mask-type CSS property applies to the SVG <mask> element. It defines whether to use the luminance (brightness) or alpha (transparency) content of the mask. This property may be overridden by the mask-mode property. The mask-type property has no effect on image or gradient masks.
mathDepth
mathDepth: string;
The math-depth property describes a notion of depth for each element of a mathematical formula, with respect to the top-level container of that formula. This is used to scale the computed value of the font-size of elements when font-size: math is applied.
mathShift
mathShift: string;
The math-shift property indicates whether superscripts inside MathML formulas should be raised by a normal or compact shift.
mathStyle
mathStyle: string;
The math-style property indicates whether MathML equations should render with normal or compact height.
maxBlockSize
maxBlockSize: string;
The max-block-size CSS property specifies the maximum size of an element in the direction opposite that of the writing direction as specified by writing-mode. That is, if the writing direction is horizontal, then max-block-size is equivalent to max-height; if the writing direction is vertical, max-block-size is the same as max-width.
maxHeight
maxHeight: string;
The max-height CSS property sets the maximum height of an element. It prevents the used value of the height property from becoming larger than the value specified for max-height.
maxInlineSize
maxInlineSize: string;
The max-inline-size CSS property defines the horizontal or vertical maximum size of an element's block, depending on its writing mode. It corresponds to either the max-width or the max-height property, depending on the value of writing-mode.
maxWidth
maxWidth: string;
The max-width CSS property sets the maximum width of an element. It prevents the used value of the width property from becoming larger than the value specified by max-width.
minBlockSize
minBlockSize: string;
The min-block-size CSS property defines the minimum horizontal or vertical size of an element's block, depending on its writing mode. It corresponds to either the min-width or the min-height property, depending on the value of writing-mode.
minHeight
minHeight: string;
The min-height CSS property sets the minimum height of an element. It prevents the used value of the height property from becoming smaller than the value specified for min-height.
minInlineSize
minInlineSize: string;
The min-inline-size CSS property defines the horizontal or vertical minimal size of an element's block, depending on its writing mode. It corresponds to either the min-width or the min-height property, depending on the value of writing-mode.
minWidth
minWidth: string;
The min-width CSS property sets the minimum width of an element. It prevents the used value of the width property from becoming smaller than the value specified for min-width.
mixBlendMode
mixBlendMode: string;
The mix-blend-mode CSS property sets how an element's content should blend with the content of the element's parent and the element's background.
objectFit
objectFit: string;
The object-fit CSS property sets how the content of a replaced element, such as an <img> or <video>, should be resized to fit its container.
objectPosition
objectPosition: string;
The object-position CSS property specifies the alignment of the selected replaced element's contents within the element's box. Areas of the box which aren't covered by the replaced element's object will show the element's background.
offset
offset: string;
The offset CSS shorthand property sets all the properties required for animating an element along a defined path. The offset properties together help to define an offset transform, a transform that aligns a point in an element (offset-anchor) to an offset position (offset-position) on a path (offset-path) at various points along the path (offset-distance) and optionally rotates the element (offset-rotate) to follow the direction of the path.
offsetAnchor
offsetAnchor: string;
The offset-anchor CSS property specifies the point inside the box of an element traveling along an offset-path that is actually moving along the path.
offsetDistance
offsetDistance: string;
The offset-distance CSS property specifies a position along an offset-path for an element to be placed.
offsetPath
offsetPath: string;
The offset-path CSS property specifies a path for an element to follow and determines the element's positioning within the path's parent container or the SVG coordinate system. The path is a line, a curve, or a geometrical shape along which the element gets positioned or moves.
offsetPosition
offsetPosition: string;
The offset-position CSS property defines the initial position of an element along a path. This property is typically used in combination with the offset-path property to create a motion effect. The value of offset-position determines where the element gets placed initially for moving along an offset path if an offset-path function such as path() does not specify its own starting position.
offsetRotate
offsetRotate: string;
The offset-rotate CSS property defines the orientation/direction of the element as it is positioned along the offset-path.
opacity
opacity: string;
The opacity CSS property sets the opacity of an element. Opacity is the degree to which content behind an element is hidden, and is the opposite of transparency.
order
order: string;
The order CSS property sets the order to lay out an item in a flex or grid container. Items in a container are sorted by ascending order value and then by their source code order. Items not given an explicit order value are assigned the default value of 0.
orphans
orphans: string;
The orphans CSS property sets the minimum number of lines in a block container that must be shown at the bottom of a page, region, or column.
outline
outline: string;
The outline CSS shorthand property sets most of the outline properties in a single declaration.
outlineColor
outlineColor: string;
The outline-color CSS property sets the color of an element's outline.
outlineOffset
outlineOffset: string;
The outline-offset CSS property sets the amount of space between an outline and the edge or border of an element.
outlineStyle
outlineStyle: string;
The outline-style CSS property sets the style of an element's outline. An outline is a line that is drawn around an element, outside the border.
outlineWidth
outlineWidth: string;
The CSS outline-width property sets the thickness of an element's outline. An outline is a line that is drawn around an element, outside the border.
overflow
overflow: string;
The overflow CSS shorthand property sets the desired behavior when content does not fit in the element's padding box (overflows) in the horizontal and/or vertical direction.
overflowAnchor
overflowAnchor: string;
The overflow-anchor CSS property provides a way to opt out of the browser's scroll anchoring behavior, which adjusts scroll position to minimize content shifts.
overflowBlock
overflowBlock: string;
The overflow-block CSS property sets what shows when content overflows the block start and block end edges of a box. This may be nothing, a scroll bar, or the overflow content.
overflowClipMargin
overflowClipMargin: string;
The overflow-clip-margin CSS property determines how far outside its bounds an element with overflow: clip may be painted before being clipped. The bound defined by this property is called the overflow clip edge of the box.
overflowInline
overflowInline: string;
The overflow-inline CSS property sets what shows when content overflows the inline start and end edges of a box. This may be nothing, a scroll bar, or the overflow content.
overflowWrap
overflowWrap: string;
The overflow-wrap CSS property applies to text, setting whether the browser should insert line breaks within an otherwise unbreakable string to prevent text from overflowing its line box.
overflowX
overflowX: string;
The overflow-x CSS property sets what shows when content overflows a block-level element's left and right edges. This may be nothing, a scroll bar, or the overflow content. This property may also be set by using the overflow shorthand property.
overflowY
overflowY: string;
The overflow-y CSS property sets what shows when content overflows a block-level element's top and bottom edges. This may be nothing, a scroll bar, or the overflow content. This property may also be set by using the overflow shorthand property.
overscrollBehavior
overscrollBehavior: string;
The overscroll-behavior CSS property sets what a browser does when reaching the boundary of a scrolling area.
overscrollBehaviorBlock
overscrollBehaviorBlock: string;
The overscroll-behavior-block CSS property sets the browser's behavior when the block direction boundary of a scrolling area is reached.
overscrollBehaviorInline
overscrollBehaviorInline: string;
The overscroll-behavior-inline CSS property sets the browser's behavior when the inline direction boundary of a scrolling area is reached.
overscrollBehaviorX
overscrollBehaviorX: string;
The overscroll-behavior-x CSS property sets the browser's behavior when the horizontal boundary of a scrolling area is reached.
overscrollBehaviorY
overscrollBehaviorY: string;
The overscroll-behavior-y CSS property sets the browser's behavior when the vertical boundary of a scrolling area is reached.
padding
padding: string;
The padding CSS shorthand property sets the padding area on all four sides of an element at once.
paddingBlock
paddingBlock: string;
The padding-block CSS shorthand property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation.
paddingBlockEnd
paddingBlockEnd: string;
The padding-block-end CSS property defines the logical block end padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation.
paddingBlockStart
paddingBlockStart: string;
The padding-block-start CSS property defines the logical block start padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation.
paddingBottom
paddingBottom: string;
The padding-bottom CSS property sets the height of the padding area on the bottom of an element.
paddingInline
paddingInline: string;
The padding-inline CSS shorthand property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation.
paddingInlineEnd
paddingInlineEnd: string;
The padding-inline-end CSS property defines the logical inline end padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation.
paddingInlineStart
paddingInlineStart: string;
The padding-inline-start CSS property defines the logical inline start padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation.
paddingLeft
paddingLeft: string;
The padding-left CSS property sets the width of the padding area to the left of an element.
paddingRight
paddingRight: string;
The padding-right CSS property sets the width of the padding area on the right of an element.
paddingTop
paddingTop: string;
The padding-top CSS property sets the height of the padding area on the top of an element.
page
page: string;
The page CSS property is used to specify the named page, a specific type of page defined by the
Page
at-rule.
pageBreakAfter
pageBreakAfter: string;
The page-break-after CSS property adjusts page breaks after the current element.
Deprecated
pageBreakBefore
pageBreakBefore: string;
The page-break-before CSS property adjusts page breaks before the current element.
Deprecated
pageBreakInside
pageBreakInside: string;
The page-break-inside CSS property adjusts page breaks inside the current element.
Deprecated
paintOrder
paintOrder: string;
The paint-order CSS property lets you control the order in which the fill and stroke (and painting markers) of text content and shapes are drawn.
parentRule
readonly parentRule: CSSRule | null;
The CSSStyleDeclaration.parentRule read-only property returns a CSSRule that is the parent of this style block, e.g., a CSSStyleRule representing the style for a CSS selector.
Inherited from
CSSStyleDeclarationBase.parentRule
perspective
perspective: string;
The perspective CSS property determines the distance between the z=0 plane and the user in order to give a 3D-positioned element some perspective.
perspectiveOrigin
perspectiveOrigin: string;
The perspective-origin CSS property determines the position at which the viewer is looking. It is used as the vanishing point by the perspective property.
placeContent
placeContent: string;
The place-content CSS shorthand property allows you to align content along both the block and inline directions at once (i.e., the align-content and justify-content properties) in a relevant layout system such as Grid or Flexbox.
placeItems
placeItems: string;
The CSS place-items shorthand property aligns items along both the block and inline directions at once. It sets the values of the align-items and justify-items properties. If the second value is not set, the first value is also used for it.
placeSelf
placeSelf: string;
The place-self CSS shorthand property allows you to align an individual item in both the block and inline directions at once (i.e., the align-self and justify-self properties). This property applies to block-level boxes, absolutely-positioned boxes, and grid items. If the second value is not present, the first value is also used for it.
pointerEvents
pointerEvents: string;
The pointer-events CSS property sets under what circumstances (if any) a particular graphic element can become the target of pointer events.
position
position: string;
The position CSS property sets how an element is positioned in a document. The top, right, bottom, and left physical properties and the inset-block-start, inset-block-end, inset-inline-start, and inset-inline-end flow-relative logical properties can be used to determine the final location of positioned elements.
positionAnchor
positionAnchor: string;
The position-anchor CSS property specifies the anchor name of the anchor element (i.e., an element that has an anchor name set on it via the anchor-name property) a positioned element is associated with.
positionArea
positionArea: string;
The position-area CSS property enables an anchor-positioned element to be positioned relative to the edges of its associated anchor element by placing the positioned element on one or more tiles of an implicit 3x3 grid, where the anchoring element is the center cell.
positionTry
positionTry: string;
The position-try CSS property is a shorthand that corresponds to the position-try-order and position-try-fallbacks properties.
positionTryFallbacks
positionTryFallbacks: string;
The position-try-fallbacks CSS property enables you to specify a list of one or more alternative position try fallback options for anchor-positioned elements to be placed relative to their associated anchor elements. When the element would otherwise overflow its inset-modified containing block, the browser will try placing the positioned element in these different fallback positions, in the order provided, until it finds a value that stops it from overflowing its container or the viewport.
positionTryOrder
positionTryOrder: string;
The position-try-order CSS property allows you to specify various fallback options that result in an available position-try fallback being used to set an anchor-positioned element's position, instead of its initial position settings.
positionVisibility
positionVisibility: string;
The position-visibility CSS property enables conditionally hiding an anchor-positioned element depending on, for example, whether it is overflowing its containing element or the viewport.
printColorAdjust
printColorAdjust: string;
The print-color-adjust CSS property sets what, if anything, the user agent may do to optimize the appearance of the element on the output device. By default, the browser is allowed to make any adjustments to the element's appearance it determines to be necessary and prudent given the type and capabilities of the output device.
quotes
quotes: string;
The CSS quotes property sets how the browser should render quotation marks that are automatically added to the HTML <q> element or added using the open-quotes or close-quotes (or omitted using the no-open-quote and no-close-quote) values of the of the CSS content property.
r
r: string;
The r CSS property defines the radius of a circle. It can only be used with the SVG <circle> element. If present, it overrides the circle's r attribute.
resize
resize: string;
The resize CSS property sets whether an element is resizable, and if so, in which directions.
right
right: string;
The right CSS property participates in specifying the horizontal position of a positioned element. This inset property has no effect on non-positioned elements.
rotate
rotate: string;
The rotate CSS property allows you to specify rotation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform property.
rowGap
rowGap: string;
The row-gap CSS property sets the size of the gap (gutter) between an element's rows.
rubyAlign
rubyAlign: string;
The ruby-align CSS property defines the distribution of the different ruby elements over the base.
rubyPosition
rubyPosition: string;
The ruby-position CSS property defines the position of a ruby element relative to its base element. It can be positioned over the element (over), under it (under), or between the characters on their right side (inter-character).
rx
rx: string;
The rx CSS property defines the x-axis, or horizontal, radius of an SVG <ellipse> and the horizontal curve of the corners of an SVG <rect> rectangle. If present, it overrides the shape's rx attribute.
ry
ry: string;
The ry CSS property defines the y-axis, or vertical, radius of an SVG <ellipse> and the vertical curve of the corners of an SVG <rect> rectangle. If present, it overrides the shape's ry attribute.
scale
scale: string;
The scale CSS property allows you to specify scale transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value.
scrollbarColor
scrollbarColor: string;
The scrollbar-color CSS property sets the color of the scrollbar track and thumb.
scrollbarGutter
scrollbarGutter: string;
The scrollbar-gutter CSS property allows authors to reserve space for the scrollbar, preventing unwanted layout changes as the content grows while also avoiding unnecessary visuals when scrolling isn't needed.
scrollbarWidth
scrollbarWidth: string;
The scrollbar-width property allows the author to set the desired thickness of an element's scrollbars when they are shown.
scrollBehavior
scrollBehavior: string;
The scroll-behavior CSS property sets the behavior for a scrolling box when scrolling is triggered by the navigation or CSSOM scrolling APIs.
scrollMargin
scrollMargin: string;
The scroll-margin shorthand property sets all of the scroll margins of an element at once, assigning values much like the margin property does for margins of an element.
scrollMarginBlock
scrollMarginBlock: string;
The scroll-margin-block shorthand property sets the scroll margins of an element in the block dimension.
scrollMarginBlockEnd
scrollMarginBlockEnd: string;
The scroll-margin-block-end property defines the margin of the scroll snap area at the end of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets.
scrollMarginBlockStart
scrollMarginBlockStart: string;
The scroll-margin-block-start property defines the margin of the scroll snap area at the start of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets.
scrollMarginBottom
scrollMarginBottom: string;
The scroll-margin-bottom property defines the bottom margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets.
scrollMarginInline
scrollMarginInline: string;
The scroll-margin-inline shorthand property sets the scroll margins of an element in the inline dimension.
scrollMarginInlineEnd
scrollMarginInlineEnd: string;
The scroll-margin-inline-end property defines the margin of the scroll snap area at the end of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets.
scrollMarginInlineStart
scrollMarginInlineStart: string;
The scroll-margin-inline-start property defines the margin of the scroll snap area at the start of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets.
scrollMarginLeft
scrollMarginLeft: string;
The scroll-margin-left property defines the left margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets.
scrollMarginRight
scrollMarginRight: string;
The scroll-margin-right property defines the right margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets.
scrollMarginTop
scrollMarginTop: string;
The scroll-margin-top property defines the top margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets.
scrollPadding
scrollPadding: string;
The scroll-padding shorthand property sets scroll padding on all sides of an element at once. It specifies offsets that define the optimal viewing region of a scrollport within a scroll container.
scrollPaddingBlock
scrollPaddingBlock: string;
The scroll-padding-block shorthand property sets the scroll padding of an element in the block dimension.
scrollPaddingBlockEnd
scrollPaddingBlockEnd: string;
The scroll-padding-block-end property defines offsets for the end edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport.
scrollPaddingBlockStart
scrollPaddingBlockStart: string;
The scroll-padding-block-start property defines offsets for the start edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport.
scrollPaddingBottom
scrollPaddingBottom: string;
The scroll-padding-bottom property defines offsets for the bottom of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport.
scrollPaddingInline
scrollPaddingInline: string;
The scroll-padding-inline shorthand property sets the scroll padding of an element in the inline dimension.
scrollPaddingInlineEnd
scrollPaddingInlineEnd: string;
The scroll-padding-inline-end property defines offsets for the end edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport.
scrollPaddingInlineStart
scrollPaddingInlineStart: string;
The scroll-padding-inline-start property defines offsets for the start edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport.
scrollPaddingLeft
scrollPaddingLeft: string;
The scroll-padding-left property defines offsets for the left of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport.
scrollPaddingRight
scrollPaddingRight: string;
The scroll-padding-right property defines offsets for the right of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport.
scrollPaddingTop
scrollPaddingTop: string;
The scroll-padding-top property defines offsets for the top of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport.
scrollSnapAlign
scrollSnapAlign: string;
The scroll-snap-align property specifies the box's snap position as an alignment of its snap area (as the alignment subject) within its snap container's snap port (as the alignment container).
scrollSnapStop
scrollSnapStop: string;
The scroll-snap-stop CSS property defines whether or not the scroll container is allowed to "pass over" possible snap positions.
scrollSnapType
scrollSnapType: string;
The scroll-snap-type CSS property is set on a scroll container, opting it into scroll snapping by setting the direction and strictness of snap point enforcement within the snap port.
scrollTimeline
scrollTimeline: string;
The scroll-timeline CSS shorthand property is used to define a named scroll progress timeline, which is progressed through by scrolling a scrollable element (scroller) between top and bottom (or left and right).
scrollTimelineAxis
scrollTimelineAxis: string;
The scroll-timeline-axis CSS property is used to specify the scrollbar direction that will be used to provide the timeline for a scroll driven animation, which is progressed through by scrolling a scrollable element (scroller).
scrollTimelineName
scrollTimelineName: string;
The scroll-timeline-name CSS property is used to define the name of a named scroll progress timeline, which is progressed through by scrolling a scrollable element (scroller) between top and bottom (or left and right). scroll-timeline-name is set on the scroller that will provide the timeline.
shapeImageThreshold
shapeImageThreshold: string;
The shape-image-threshold CSS property sets the alpha channel threshold used to extract the shape using an image as the value for shape-outside.
shapeMargin
shapeMargin: string;
The shape-margin CSS property sets a margin for a CSS shape created using shape-outside.
shapeOutside
shapeOutside: string;
The shape-outside CSS property defines a shape—which may be non-rectangular—around which adjacent inline content should wrap. By default, inline content wraps around its margin box; shape-outside provides a way to customize this wrapping, making it possible to wrap text around complex objects rather than rectangular boxes.
shapeRendering
shapeRendering: string;
The shape-rendering CSS property provides hints to the renderer about what tradeoffs to make when rendering shapes like paths, circles, or rectangles. It only has an effect on the <circle>, <ellipse>, <line>, <path>, <polygon>, <polyline>, and <rect> elements. If explicitly declared, the value of the CSS property overrides the any values of the element's shape-rendering attribute.
stopColor
stopColor: string;
The stop-color CSS property defines the color to use for an SVG <stop> element within a gradient. If present, it overrides the element's stop-color attribute.
stopOpacity
stopOpacity: string;
The stop-opacity CSS property defines the opacity of a given color gradient stop in the SVG <stop> element within an SVG gradient. If present, it overrides the element's stop-opacity attribute.
stroke
stroke: string;
The stroke CSS property defines the color or SVG paint server used to draw an element's stroke. As such, stroke only has an effect on elements that can be given a stroke (for example, <rect> or <ellipse>); see the page on the SVG stroke attribute for a complete list. When declared, the CSS value overrides any value of the element's stroke SVG attribute.
strokeDasharray
strokeDasharray: string;
The stroke-dasharray CSS property defines a pattern of dashes and gaps used in the painting of the SVG shape's stroke. If present, it overrides the element's stroke-dasharray attribute.
strokeDashoffset
strokeDashoffset: string;
The stroke-dashoffset CSS property defines an offset for the starting point of the rendering of an SVG element's associated dash array. If present, it overrides the element's stroke-dashoffset attribute.
strokeLinecap
strokeLinecap: string;
The stroke-linecap CSS property defines the shape to be used at the end of open subpaths of SVG elements' unclosed strokes. If present, it overrides the element's stroke-linecap attribute.
strokeLinejoin
strokeLinejoin: string;
The stroke-linejoin CSS property defines the shape to be used at the corners of an SVG element's stroked paths. If present, it overrides the element's stroke-linejoin attribute.
strokeMiterlimit
strokeMiterlimit: string;
The stroke-miterlimit CSS property defines a limit on the ratio of the miter length to the stroke-width when the shape to be used at the corners of an SVG element's stroked path is a mitered join. If the limit defined by this property is exceeded, the join is converted from miter to bevel, thus making the corner appear truncated.
strokeOpacity
strokeOpacity: string;
The stroke-opacity CSS property defines the opacity of an SVG shape's stroke. The effect is identical to that of opacity, except it is applied only to the stroke, not to the entire element. If present, it overrides the element's stroke-opacity attribute.
strokeWidth
strokeWidth: string;
The stroke-width CSS property defines the width of a stroke applied to the SVG shape. If present, it overrides the element's stroke-width attribute.
tableLayout
tableLayout: string;
The table-layout CSS property sets the algorithm used to lay out <table> cells, rows, and columns.
tabSize
tabSize: string;
The tab-size CSS property is used to customize the width of tab characters (U+0009).
textAlign
textAlign: string;
The text-align CSS property sets the horizontal alignment of the inline-level content inside a block element or table-cell box. This means it works like vertical-align but in the horizontal direction.
textAlignLast
textAlignLast: string;
The text-align-last CSS property sets how the last line of a block or a line, right before a forced line break, is aligned.
textAnchor
textAnchor: string;
The text-anchor CSS property aligns a box containing a string of text where the wrapping area is determined from the inline-size property, and the text is then placed relative to the anchor point of the element, which is defined using the x and y (or dx and dy) attributes. If present, the value of the CSS property overrides any value of the element's text-anchor attribute.
textAutospace
textAutospace: string;
The text-autospace CSS property allows you to specify the space applied between Chinese/Japanese/Korean (CJK) and non-CJK characters.
textBox
textBox: string;
The text-box CSS property is a shorthand that corresponds to the text-box-trim and text-box-edge properties, which together specify the amount of space to trim from the block-start edge and block-end edge of a text element's block container.
textBoxEdge
textBoxEdge: string;
The text-box-edge CSS property specifies an amount of space to trim from a text element's block container.
textBoxTrim
textBoxTrim: string;
The text-box-trim CSS property specifies which of the over and under edges of text content to trim from a text element's block container.
textCombineUpright
textCombineUpright: string;
The text-combine-upright CSS property sets the combination of characters into the space of a single character. If the combined text is wider than 1em, the user agent must fit the contents within 1em. The resulting composition is treated as a single upright glyph for layout and decoration. This property only has an effect in vertical writing modes.
textDecoration
textDecoration: string;
The text-decoration shorthand CSS property sets the appearance of decorative lines on text. It is a shorthand for text-decoration-line, text-decoration-color, text-decoration-style, and the newer text-decoration-thickness property.
textDecorationColor
textDecorationColor: string;
The text-decoration-color CSS property sets the color of decorations added to text by text-decoration-line.
textDecorationLine
textDecorationLine: string;
The text-decoration-line CSS property sets the kind of decoration that is used on text in an element, such as an underline or overline.
textDecorationSkipInk
textDecorationSkipInk: string;
The text-decoration-skip-ink CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders.
textDecorationStyle
textDecorationStyle: string;
The text-decoration-style CSS property sets the style of the lines specified by text-decoration-line. The style applies to all lines that are set with text-decoration-line.
textDecorationThickness
textDecorationThickness: string;
The text-decoration-thickness CSS property sets the stroke thickness of the decoration line that is used on text in an element, such as a line-through, underline, or overline.
textEmphasis
textEmphasis: string;
The text-emphasis CSS property applies emphasis marks to text (except spaces and control characters). It is a shorthand for text-emphasis-style and text-emphasis-color.
textEmphasisColor
textEmphasisColor: string;
The text-emphasis-color CSS property sets the color of emphasis marks. This value can also be set using the text-emphasis shorthand.
textEmphasisPosition
textEmphasisPosition: string;
The text-emphasis-position CSS property sets where emphasis marks are drawn. Similar to the text rendered by the <ruby> HTML element, if there isn't enough room for emphasis marks, the line height is increased.
textEmphasisStyle
textEmphasisStyle: string;
The text-emphasis-style CSS property sets the appearance of emphasis marks. It can also be set, and reset, using the text-emphasis shorthand.
textIndent
textIndent: string;
The text-indent CSS property sets the length of empty space (indentation) that is put before lines of text in a block.
textJustify
textJustify: string;
The text-justify CSS property sets what type of justification should be applied to text when text-align: justify; is set on an element.
textOrientation
textOrientation: string;
The text-orientation CSS property sets the orientation of the text characters in a line. It only affects text in vertical mode (when writing-mode is not horizontal-tb). It is useful for controlling the display of languages that use vertical script, and also for making vertical table headers.
textOverflow
textOverflow: string;
The text-overflow CSS property sets how hidden overflow content is signaled to users. It can be clipped, display an ellipsis (…), or display a custom string.
textRendering
textRendering: string;
The text-rendering CSS property provides information to the rendering engine about what to optimize for when rendering text.
textShadow
textShadow: string;
The text-shadow CSS property adds shadows to text. It accepts a comma-separated list of shadows to be applied to the text and any of its text-decoration. Each shadow is described by some combination of X and Y offsets from the element, blur radius, and color.
textTransform
textTransform: string;
The text-transform CSS property specifies how to capitalize an element's text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized. It also can help improve legibility for ruby.
textUnderlineOffset
textUnderlineOffset: string;
The text-underline-offset CSS property sets the offset distance of an underline text decoration line (applied using text-decoration) from its original position.
textUnderlinePosition
textUnderlinePosition: string;
The text-underline-position CSS property specifies the position of the underline which is set using the text-decoration property's underline value.
textWrap
textWrap: string;
The text-wrap CSS shorthand property controls how text inside an element is wrapped. The different values provide:
textWrapMode
textWrapMode: string;
The text-wrap-mode CSS property controls whether the text inside an element is wrapped. The different values provide alternate ways of wrapping the content of a block element. It can also be set, and reset, using the text-wrap shorthand or the white-space shorthand.
textWrapStyle
textWrapStyle: string;
The text-wrap-style CSS property controls how text inside an element is wrapped. The different values provide alternate ways of wrapping the content of a block element. It can also be set, and reset, using the text-wrap shorthand.
timelineScope
timelineScope: string;
The timeline-scope CSS property modifies the scope of a named animation timeline.
top
top: string;
The top CSS property sets the vertical position of a positioned element. This inset property has no effect on non-positioned elements.
touchAction
touchAction: string;
The touch-action CSS property sets how an element's region can be manipulated by a touchscreen user (for example, by zooming features built into the browser).
transform
transform: string;
The transform CSS property lets you rotate, scale, skew, or translate an element. It modifies the coordinate space of the CSS visual formatting model.
transformBox
transformBox: string;
The transform-box CSS property defines the layout box to which the transform, individual transform properties translate, scale, and rotate, and transform-origin properties relate.
transformOrigin
transformOrigin: string;
The transform-origin CSS property sets the origin for an element's transformations.
transformStyle
transformStyle: string;
The transform-style CSS property sets whether children of an element are positioned in the 3D space or are flattened in the plane of the element.
transition
transition: string;
The transition CSS property is a shorthand property for transition-property, transition-duration, transition-timing-function, transition-delay, and transition-behavior.
transitionBehavior
transitionBehavior: string;
The transition-behavior CSS property specifies whether transitions will be started for properties whose animation behavior is discrete.
transitionDelay
transitionDelay: string;
The transition-delay CSS property specifies the duration to wait before starting a property's transition effect when its value changes.
transitionDuration
transitionDuration: string;
The transition-duration CSS property sets the length of time a transition animation should take to complete. By default, the value is 0s, meaning that no animation will occur.
transitionProperty
transitionProperty: string;
The transition-property CSS property sets the CSS properties to which a transition effect should be applied.
transitionTimingFunction
transitionTimingFunction: string;
The transition-timing-function CSS property sets how intermediate values are calculated for CSS properties being affected by a transition effect.
translate
translate: string;
The translate CSS property allows you to specify translation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value.
unicodeBidi
unicodeBidi: string;
The unicode-bidi CSS property, together with the direction property, determines how bidirectional text in a document is handled. For example, if a block of content contains both left-to-right and right-to-left text, the user-agent uses a complex Unicode algorithm to decide how to display the text. The unicode-bidi property overrides this algorithm and allows the developer to control the text embedding.
userSelect
userSelect: string;
The user-select CSS property controls whether the user can select text. This doesn't have any effect on content loaded as part of a browser's user interface (its chrome), except in textboxes.
vectorEffect
vectorEffect: string;
The vector-effect CSS property suppresses specific transformation effects in SVG, thus permitting effects like a road on a map staying the same width no matter how the map is zoomed, or allowing a diagram key to retain its position and size regardless of other transforms. It can only be used with SVG elements that accept the vector-effect attribute. When used, the CSS value overrides any values of the element's vector-effect attribute.
verticalAlign
verticalAlign: string;
The vertical-align CSS property sets vertical alignment of an inline, inline-block or table-cell box.
viewTimeline
viewTimeline: string;
The view-timeline CSS shorthand property defines a named view progress timeline's name, direction, and inset values.
viewTimelineAxis
viewTimelineAxis: string;
The view-timeline-axis CSS property specifies the scroll direction to be used for a named view progress timeline.
viewTimelineInset
viewTimelineInset: string;
The view-timeline-inset CSS property is used to specify one or two values representing an adjustment to the position of the scrollport (see Scroll container for more details) in which the subject element of a named view progress timeline animation is deemed to be visible. Put another way, this allows you to specify start and/or end inset (or outset) values that offset the position of the timeline.
viewTimelineName
viewTimelineName: string;
The view-timeline-name CSS property specifies the names of one or more named view progress timelines associated with the element.
viewTransitionClass
viewTransitionClass: string;
The view-transition-class CSS property provides the selected elements with an identifying class (a <custom-ident>), providing an additional method of styling the view transitions for those elements.
viewTransitionName
viewTransitionName: string;
The view-transition-name CSS property specifies the view transition snapshot that selected elements will participate in. This enables you to animate those elements separately from the rest of the page, which uses the default cross-fade animation during a view transition. You can then define custom animation styles for these elements.
visibility
visibility: string;
The visibility CSS property shows or hides an element without changing the layout of a document. The property can also hide rows or columns in a <table>.
webkitAlignContent
webkitAlignContent: string;
Deprecated
This is a legacy alias of alignContent.
webkitAlignItems
webkitAlignItems: string;
Deprecated
This is a legacy alias of alignItems.
webkitAlignSelf
webkitAlignSelf: string;
Deprecated
This is a legacy alias of alignSelf.
webkitAnimation
webkitAnimation: string;
Deprecated
This is a legacy alias of animation.
webkitAnimationDelay
webkitAnimationDelay: string;
Deprecated
This is a legacy alias of animationDelay.
webkitAnimationDirection
webkitAnimationDirection: string;
Deprecated
This is a legacy alias of animationDirection.
webkitAnimationDuration
webkitAnimationDuration: string;
Deprecated
This is a legacy alias of animationDuration.
webkitAnimationFillMode
webkitAnimationFillMode: string;
Deprecated
This is a legacy alias of animationFillMode.
webkitAnimationIterationCount
webkitAnimationIterationCount: string;
Deprecated
This is a legacy alias of animationIterationCount.
webkitAnimationName
webkitAnimationName: string;
Deprecated
This is a legacy alias of animationName.
webkitAnimationPlayState
webkitAnimationPlayState: string;
Deprecated
This is a legacy alias of animationPlayState.
webkitAnimationTimingFunction
webkitAnimationTimingFunction: string;
Deprecated
This is a legacy alias of animationTimingFunction.
webkitAppearance
webkitAppearance: string;
Deprecated
This is a legacy alias of appearance.
webkitBackfaceVisibility
webkitBackfaceVisibility: string;
Deprecated
This is a legacy alias of backfaceVisibility.
webkitBackgroundClip
webkitBackgroundClip: string;
Deprecated
This is a legacy alias of backgroundClip.
webkitBackgroundOrigin
webkitBackgroundOrigin: string;
Deprecated
This is a legacy alias of backgroundOrigin.
webkitBackgroundSize
webkitBackgroundSize: string;
Deprecated
This is a legacy alias of backgroundSize.
webkitBorderBottomLeftRadius
webkitBorderBottomLeftRadius: string;
Deprecated
This is a legacy alias of borderBottomLeftRadius.
webkitBorderBottomRightRadius
webkitBorderBottomRightRadius: string;
Deprecated
This is a legacy alias of borderBottomRightRadius.
webkitBorderRadius
webkitBorderRadius: string;
Deprecated
This is a legacy alias of borderRadius.
webkitBorderTopLeftRadius
webkitBorderTopLeftRadius: string;
Deprecated
This is a legacy alias of borderTopLeftRadius.
webkitBorderTopRightRadius
webkitBorderTopRightRadius: string;
Deprecated
This is a legacy alias of borderTopRightRadius.
webkitBoxAlign
webkitBoxAlign: string;
Deprecated
This is a legacy alias of boxAlign.
webkitBoxFlex
webkitBoxFlex: string;
Deprecated
This is a legacy alias of boxFlex.
webkitBoxOrdinalGroup
webkitBoxOrdinalGroup: string;
Deprecated
This is a legacy alias of boxOrdinalGroup.
webkitBoxOrient
webkitBoxOrient: string;
Deprecated
This is a legacy alias of boxOrient.
webkitBoxPack
webkitBoxPack: string;
Deprecated
This is a legacy alias of boxPack.
webkitBoxShadow
webkitBoxShadow: string;
Deprecated
This is a legacy alias of boxShadow.
webkitBoxSizing
webkitBoxSizing: string;
Deprecated
This is a legacy alias of boxSizing.
webkitFilter
webkitFilter: string;
Deprecated
This is a legacy alias of filter.
webkitFlex
webkitFlex: string;
Deprecated
This is a legacy alias of flex.
webkitFlexBasis
webkitFlexBasis: string;
Deprecated
This is a legacy alias of flexBasis.
webkitFlexDirection
webkitFlexDirection: string;
Deprecated
This is a legacy alias of flexDirection.
webkitFlexFlow
webkitFlexFlow: string;
Deprecated
This is a legacy alias of flexFlow.
webkitFlexGrow
webkitFlexGrow: string;
Deprecated
This is a legacy alias of flexGrow.
webkitFlexShrink
webkitFlexShrink: string;
Deprecated
This is a legacy alias of flexShrink.
webkitFlexWrap
webkitFlexWrap: string;
Deprecated
This is a legacy alias of flexWrap.
webkitJustifyContent
webkitJustifyContent: string;
Deprecated
This is a legacy alias of justifyContent.
webkitLineClamp
webkitLineClamp: string;
webkitMask
webkitMask: string;
Deprecated
This is a legacy alias of mask.
webkitMaskBoxImage
webkitMaskBoxImage: string;
The non-standard prefixed -webkit-mask-box-image shorthand property sets the mask image for an element's border box.
Deprecated
This is a legacy alias of maskBorder.
webkitMaskBoxImageOutset
webkitMaskBoxImageOutset: string;
Deprecated
This is a legacy alias of maskBorderOutset.
webkitMaskBoxImageRepeat
webkitMaskBoxImageRepeat: string;
Deprecated
This is a legacy alias of maskBorderRepeat.
webkitMaskBoxImageSlice
webkitMaskBoxImageSlice: string;
Deprecated
This is a legacy alias of maskBorderSlice.
webkitMaskBoxImageSource
webkitMaskBoxImageSource: string;
Deprecated
This is a legacy alias of maskBorderSource.
webkitMaskBoxImageWidth
webkitMaskBoxImageWidth: string;
Deprecated
This is a legacy alias of maskBorderWidth.
webkitMaskClip
webkitMaskClip: string;
Deprecated
This is a legacy alias of maskClip.
webkitMaskComposite
webkitMaskComposite: string;
The -webkit-mask-composite property specifies the manner in which multiple mask images applied to the same element are composited with one another. Mask images are composited in the opposite order that they are declared with the -webkit-mask-image property.
Deprecated
This is a legacy alias of maskComposite.
webkitMaskImage
webkitMaskImage: string;
Deprecated
This is a legacy alias of maskImage.
webkitMaskOrigin
webkitMaskOrigin: string;
Deprecated
This is a legacy alias of maskOrigin.
webkitMaskPosition
webkitMaskPosition: string;
Deprecated
This is a legacy alias of maskPosition.
webkitMaskRepeat
webkitMaskRepeat: string;
Deprecated
This is a legacy alias of maskRepeat.
webkitMaskSize
webkitMaskSize: string;
Deprecated
This is a legacy alias of maskSize.
webkitOrder
webkitOrder: string;
Deprecated
This is a legacy alias of order.
webkitPerspective
webkitPerspective: string;
Deprecated
This is a legacy alias of perspective.
webkitPerspectiveOrigin
webkitPerspectiveOrigin: string;
Deprecated
This is a legacy alias of perspectiveOrigin.
webkitTextFillColor
webkitTextFillColor: string;
The -webkit-text-fill-color CSS property specifies the fill color of characters of text. If this property is not set, the value of the color property is used.
webkitTextSizeAdjust
webkitTextSizeAdjust: string;
Deprecated
This is a legacy alias of textSizeAdjust.
webkitTextStroke
webkitTextStroke: string;
The -webkit-text-stroke CSS property specifies the width and color of strokes for text characters. This is a shorthand property for the longhand properties -webkit-text-stroke-width and -webkit-text-stroke-color.
webkitTextStrokeColor
webkitTextStrokeColor: string;
The -webkit-text-stroke-color CSS property specifies the stroke color of characters of text. If this property is not set, the value of the color property is used.
webkitTextStrokeWidth
webkitTextStrokeWidth: string;
The -webkit-text-stroke-width CSS property specifies the width of the stroke for text.
webkitTransform
webkitTransform: string;
Deprecated
This is a legacy alias of transform.
webkitTransformOrigin
webkitTransformOrigin: string;
Deprecated
This is a legacy alias of transformOrigin.
webkitTransformStyle
webkitTransformStyle: string;
Deprecated
This is a legacy alias of transformStyle.
webkitTransition
webkitTransition: string;
Deprecated
This is a legacy alias of transition.
webkitTransitionDelay
webkitTransitionDelay: string;
Deprecated
This is a legacy alias of transitionDelay.
webkitTransitionDuration
webkitTransitionDuration: string;
Deprecated
This is a legacy alias of transitionDuration.
webkitTransitionProperty
webkitTransitionProperty: string;
Deprecated
This is a legacy alias of transitionProperty.
webkitTransitionTimingFunction
webkitTransitionTimingFunction: string;
Deprecated
This is a legacy alias of transitionTimingFunction.
webkitUserSelect
webkitUserSelect: string;
Deprecated
This is a legacy alias of userSelect.
whiteSpace
whiteSpace: string;
The white-space CSS property sets how white space inside an element is handled.
whiteSpaceCollapse
whiteSpaceCollapse: string;
The white-space-collapse CSS property controls how white space inside an element is collapsed.
widows
widows: string;
The widows CSS property sets the minimum number of lines in a block container that must be shown at the top of a page, region, or column.
width
width: string;
The width CSS property sets an element's width. By default, it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.
willChange
willChange: string;
The will-change CSS property hints to browsers how an element is expected to change. Browsers may set up optimizations before an element is actually changed. These kinds of optimizations can increase the responsiveness of a page by doing potentially expensive work before they are actually required.
wordBreak
wordBreak: string;
The word-break CSS property sets whether line breaks appear wherever the text would otherwise overflow its content box.
wordSpacing
wordSpacing: string;
The word-spacing CSS property sets the length of space between words and between tags.
wordWrap
wordWrap: string;
Deprecated
word-wrap is a legacy alias of overflow-wrap.
writingMode
writingMode: string;
The writing-mode CSS property sets whether lines of text are laid out horizontally or vertically, as well as the direction in which blocks progress. When set for an entire document, it should be set on the root element (html element for HTML documents).
x
x: string;
The x CSS property defines the x-axis coordinate of the top left corner of the SVG <rect> shape, <image> image, <foreignObject> viewport or nested <svg> viewport relative to the nearest <svg> ancestor's user coordinate system. If present, it overrides the element's x attribute.
y
y: string;
The y CSS property defines the y-axis coordinate of the top left corner of the SVG <rect> shape, <image> image, <foreignObject> viewport and nested <svg> viewport relative to the nearest <svg> ancestor's user coordinate system. If present, it overrides the element's y attribute.
zIndex
zIndex: string;
The z-index CSS property sets the z-order of a positioned element and its descendants or flex and grid items. Overlapping elements with a larger z-index cover those with a smaller one.
zoom
zoom: string;
The zoom CSS property can be used to control the magnification level of an element. transform: scale() can be used as an alternative to this property.