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.

MDN Reference

Inheritors

Properties

Link copied to clipboard

The accent-color CSS property sets the accent color for user-interface controls generated by some elements.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard
var 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.

Link copied to clipboard

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.

Link copied to clipboard
Link copied to clipboard

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.

Link copied to clipboard

The animation-composition CSS property specifies the composite operation to use when multiple animations affect the same property simultaneously.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

The animation-range-end CSS property is used to set the end of an animation's attachment range along its timeline, i.e., where along the timeline an animation will end.

Link copied to clipboard

The animation-range-start CSS property is used to set the start of an animation's attachment range along its timeline, i.e., where along the timeline an animation will start.

Link copied to clipboard

The animation-timeline CSS property specifies the timeline that is used to control the progress of a CSS animation.

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The backface-visibility CSS property sets whether the back face of an element is visible when turned towards the user.

Link copied to clipboard

The background shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method. Component properties not set in the background shorthand property value declaration are set to their default values.

Link copied to clipboard

The background-attachment CSS property sets whether a background image's position is fixed within the viewport, or scrolls with its containing block.

Link copied to clipboard

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.

Link copied to clipboard

The background-clip CSS property sets whether an element's background extends underneath its border box, padding box, or content box.

Link copied to clipboard

The background-color CSS property sets the background color of an element.

Link copied to clipboard

The background-image CSS property sets one or more background images on an element.

Link copied to clipboard

The background-origin CSS property sets the background's origin: from the border start, inside the border, or inside the padding.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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.

Link copied to clipboard

The border shorthand CSS property sets an element's border. It sets the values of border-width, border-style, and border-color.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The border-bottom-style CSS property sets the line style of an element's bottom border.

Link copied to clipboard

The border-bottom-width CSS property sets the width of the bottom border of an element.

Link copied to clipboard

The border-collapse CSS property sets whether cells inside a

Link copied to clipboard

The border-color shorthand CSS property sets the color of an element's border.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The border-image CSS property draws an image around a given element. It replaces the element's regular border.

Link copied to clipboard

The border-image-outset CSS property sets the distance by which an element's border image is set out from its border box.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The border-image-source CSS property sets the source image used to create an element's border image.

Link copied to clipboard

The border-image-width CSS property sets the width of an element's border image.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The border-left shorthand CSS property sets all the properties of an element's left border.

Link copied to clipboard

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.

Link copied to clipboard

The border-left-style CSS property sets the line style of an element's left border.

Link copied to clipboard

The border-left-width CSS property sets the width of the left border of an element.

Link copied to clipboard

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.

Link copied to clipboard

The border-right shorthand CSS property sets all the properties of an element's right border.

Link copied to clipboard

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.

Link copied to clipboard

The border-right-style CSS property sets the line style of an element's right border.

Link copied to clipboard

The border-right-width CSS property sets the width of the right border of an element.

Link copied to clipboard

The border-spacing CSS property sets the distance between the borders of adjacent cells in a

have shared or separate borders.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The border-style shorthand CSS property sets the line style for all four sides of an element's border.

Link copied to clipboard

The border-top shorthand CSS property sets all the properties of an element's top border.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The border-top-style CSS property sets the line style of an element's top border.

Link copied to clipboard

The border-top-width CSS property sets the width of the top border of an element.

Link copied to clipboard

The border-width shorthand CSS property sets the width of an element's border.

Link copied to clipboard

The bottom CSS property participates in setting the vertical position of a positioned element. This inset property has no effect on non-positioned elements.

Link copied to clipboard

The box-decoration-break CSS property specifies how an element's fragments should be rendered when broken across multiple lines, columns, or pages.

Link copied to clipboard

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.

Link copied to clipboard

The box-sizing CSS property sets how the total width and height of an element is calculated.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The caption-side CSS property puts the content of a table's

. This property applies only when border-collapse is separate.
on the specified side. The values are relative to the writing-mode of the table.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The color-interpolation CSS property is used in SVG to specify which color space to use for and SVG elements.

Link copied to clipboard

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.

Link copied to clipboard

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:

Link copied to clipboard

The column-count CSS property breaks an element's content into the specified number of columns.

Link copied to clipboard

The column-fill CSS property controls how an element's contents are balanced when broken into columns.

Link copied to clipboard

The column-gap CSS property sets the size of the gap (gutter) between an element's columns.

Link copied to clipboard

The column-rule shorthand CSS property sets the width, style, and color of the line drawn between columns in a multi-column layout.

Link copied to clipboard

The column-rule-color CSS property sets the color of the line drawn between columns in a multi-column layout.

Link copied to clipboard

The column-rule-style CSS property sets the style of the line drawn between columns in a multi-column layout.

Link copied to clipboard

The column-rule-width CSS property sets the width of the line drawn between columns in a multi-column layout.

Link copied to clipboard

The columns CSS shorthand property sets the number of columns to use when drawing an element's contents, as well as those columns' widths.

Link copied to clipboard

The column-span CSS property makes it possible for an element to span across all columns when its value is set to all.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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:

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The counter-set CSS property sets CSS counters on the element to the given values.

Link copied to clipboard

The cssFloat property of the CSSStyleProperties interface returns the CSS float property.

Link copied to clipboard
open var cssText: String

The cssText property of the CSSStyleDeclaration interface returns or sets the text of the element's inline style declaration only.

Link copied to clipboard

The cursor CSS property sets the mouse cursor, if any, to show when the mouse pointer is over an element.

Link copied to clipboard
var cx: String

The cx CSS property defines the x-axis center point of an SVG or element. If present, it overrides the element's cx attribute.

Link copied to clipboard
var cy: String

The cy CSS property defines the y-axis center point of an SVG or elements. If present, it overrides the element's cy attribute.

Link copied to clipboard
var d: String

The d CSS property defines a path to be drawn by the SVG element. If present, it overrides the element's d attribute.

Link copied to clipboard

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).

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The dynamic-range-limit CSS property specifies the maximum luminance allowed for High Dynamic Range (HDR) content.

Link copied to clipboard

The empty-cells CSS property sets whether borders and backgrounds appear around

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The flex CSS shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container.

Link copied to clipboard

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.

Link copied to clipboard

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).

Link copied to clipboard

The flex-flow CSS shorthand property specifies the direction of a flex container, as well as its wrapping behavior.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard
Link copied to clipboard

The flood-color CSS property defines the color of the current filter primitive subregion in and elements within a . If present, it overrides the element's flood-color attribute.

Link copied to clipboard

The flood-opacity CSS property defines the opacity of the current filter primitive subregion in and elements within a . If present, it overrides the element's flood-opacity attribute.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The font-feature-settings CSS property controls advanced typographic features in OpenType fonts.

Link copied to clipboard

The font-kerning CSS property sets the use of the kerning information stored in a font.

Link copied to clipboard

The font-language-override CSS property controls the use of language-specific glyphs in a typeface.

Link copied to clipboard

The font-optical-sizing CSS property sets whether text rendering is optimized for viewing at different sizes.

Link copied to clipboard

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.

Link copied to clipboard

The font-size CSS property sets the size of the font. Changing the font size also updates the sizes of the font size-relative units, such as em, ex, and so forth.

Link copied to clipboard

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.

Link copied to clipboard

The font-style CSS property sets whether a font should be styled with a normal, italic, or oblique face from its font-family.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The font-variant CSS shorthand property allows you to set all the font variants for a font.

Link copied to clipboard

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.

Link copied to clipboard

The font-variant-caps CSS property controls the use of alternate glyphs used for small or petite capitals or for titling.

Link copied to clipboard

The font-variant-east-asian CSS property controls the use of alternate glyphs for East Asian scripts, like Japanese and Chinese.

Link copied to clipboard

The font-variant-emoji CSS property specifies the default presentation style for displaying emojis.

Link copied to clipboard

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.

Link copied to clipboard

The font-variant-numeric CSS property controls the usage of alternate glyphs for numbers, fractions, and ordinal markers.

Link copied to clipboard

The font-variant-position CSS property controls the use of alternate, smaller glyphs that are positioned as superscript or subscript.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard
var 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.

Link copied to clipboard

The grid CSS property is a shorthand property that sets all of the explicit and implicit grid properties in a single declaration.

Link copied to clipboard

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.

Link copied to clipboard

The grid-auto-columns CSS property specifies the size of an implicitly-created grid column track or pattern of tracks.

Link copied to clipboard

The grid-auto-flow CSS property controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid.

Link copied to clipboard

The grid-auto-rows CSS property specifies the size of an implicitly-created grid row track or pattern of tracks.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The grid-template CSS property is a shorthand property for defining grid columns, grid rows, and grid areas.

Link copied to clipboard

The grid-template-areas CSS property specifies named grid areas, establishing the cells in the grid and assigning them names.

Link copied to clipboard

The grid-template-columns CSS property defines the line names and track sizing functions of the grid columns.

Link copied to clipboard

The grid-template-rows CSS property defines the line names and track sizing functions of the grid rows.

Link copied to clipboard

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.

Link copied to clipboard

The hyphenate-character CSS property sets the character (or string) used at the end of a line before a hyphenation break.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The image-orientation CSS property specifies a layout-independent correction to the orientation of an image.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The isolation CSS property determines whether an element must create a new stacking context.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The CSS justify-self property sets the way a box is justified inside its alignment container along the appropriate axis.

Link copied to clipboard

The left CSS property participates in specifying the horizontal position of a positioned element. This inset property has no effect on non-positioned elements.

Link copied to clipboard
open override val length: Int

The read-only property returns an integer that represents the number of style declarations in this CSS declaration block.

Link copied to clipboard

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.

Link copied to clipboard

The lighting-color CSS property defines the color of the light source for the and SVG lighting filter primitives within an SVG . If present, it overrides the element's lighting-color attribute.

Link copied to clipboard

The line-break CSS property sets how to break lines of Chinese, Japanese, or Korean (CJK) text when working with punctuation and symbols.

Link copied to clipboard

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.

Link copied to clipboard

The list-style CSS shorthand property allows you to set all the list style properties at once.

Link copied to clipboard

The list-style-image CSS property sets an image to be used as the list item marker.

Link copied to clipboard

The list-style-position CSS property sets the position of the ::marker relative to a list item.

Link copied to clipboard

The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.

Link copied to clipboard

The margin CSS shorthand property sets the margin area on all four sides of an element.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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 element, and can only be referenced with a value. The value of the CSS property overrides any values of the marker-start, marker, and marker-end attributes in the SVG.

Link copied to clipboard

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 element, and can only be referenced with a value. The value of the CSS property overrides any values of the marker-end attribute in the SVG.

Link copied to clipboard

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 element, and can only be referenced with a value. The value of the CSS property overrides any values of the marker-mid attribute in the SVG.

Link copied to clipboard

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 element, and can only be referenced with a value. The value of the CSS property overrides any values of the marker-start attribute in the SVG.

Link copied to clipboard

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 .

Link copied to clipboard

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.

Link copied to clipboard

The mask-composite CSS property represents a compositing operation used on the current mask layer with the mask layers below it.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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 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.

Link copied to clipboard

The mask-position CSS property sets the initial position, relative to the mask position layer set by mask-origin, for each defined mask image.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The mask-type CSS property applies to the SVG 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.

Link copied to clipboard

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.

Link copied to clipboard

The math-style property indicates whether MathML equations should render with normal or compact height.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The object-fit CSS property sets how the content of a replaced element, such as an or

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The offset-distance CSS property specifies a position along an offset-path for an element to be placed.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The offset-rotate CSS property defines the orientation/direction of the element as it is positioned along the offset-path.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The outline CSS shorthand property sets most of the outline properties in a single declaration.

Link copied to clipboard

The outline-color CSS property sets the color of an element's outline.

Link copied to clipboard

The outline-offset CSS property sets the amount of space between an outline and the edge or border of an element.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The overscroll-behavior CSS property sets what a browser does when reaching the boundary of a scrolling area.

Link copied to clipboard

The overscroll-behavior-block CSS property sets the browser's behavior when the block direction boundary of a scrolling area is reached.

Link copied to clipboard

The overscroll-behavior-inline CSS property sets the browser's behavior when the inline direction boundary of a scrolling area is reached.

Link copied to clipboard

The overscroll-behavior-x CSS property sets the browser's behavior when the horizontal boundary of a scrolling area is reached.

Link copied to clipboard

The overscroll-behavior-y CSS property sets the browser's behavior when the vertical boundary of a scrolling area is reached.

Link copied to clipboard

The padding CSS shorthand property sets the padding area on all four sides of an element at once.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The padding-bottom CSS property sets the height of the padding area on the bottom of an element.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The padding-left CSS property sets the width of the padding area to the left of an element.

Link copied to clipboard

The padding-right CSS property sets the width of the padding area on the right of an element.

Link copied to clipboard

The padding-top CSS property sets the height of the padding area on the top of an element.

Link copied to clipboard

The page CSS property is used to specify the named page, a specific type of page defined by the @page at-rule.

Link copied to clipboard

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.

Link copied to clipboard
open val parentRule: CSSRule?

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The pointer-events CSS property sets under what circumstances (if any) a particular graphic element can become the target of pointer events.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The position-try CSS property is a shorthand that corresponds to the position-try-order and position-try-fallbacks properties.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The CSS quotes property sets how the browser should render quotation marks that are automatically added to the HTML 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.

Link copied to clipboard
var r: String

The r CSS property defines the radius of a circle. It can only be used with the SVG element. If present, it overrides the circle's r attribute.

Link copied to clipboard

The resize CSS property sets whether an element is resizable, and if so, in which directions.

Link copied to clipboard

The right CSS property participates in specifying the horizontal position of a positioned element. This inset property has no effect on non-positioned elements.

Link copied to clipboard

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.

Link copied to clipboard

The row-gap CSS property sets the size of the gap (gutter) between an element's rows.

Link copied to clipboard

The ruby-align CSS property defines the distribution of the different ruby elements over the base.

Link copied to clipboard

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).

Link copied to clipboard
var rx: String

The rx CSS property defines the x-axis, or horizontal, radius of an SVG and the horizontal curve of the corners of an SVG rectangle. If present, it overrides the shape's rx attribute.

Link copied to clipboard
var ry: String

The ry CSS property defines the y-axis, or vertical, radius of an SVG and the vertical curve of the corners of an SVG rectangle. If present, it overrides the shape's ry attribute.

Link copied to clipboard

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.

Link copied to clipboard

The scrollbar-color CSS property sets the color of the scrollbar track and thumb.

Link copied to clipboard

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.

Link copied to clipboard

The scrollbar-width property allows the author to set the desired thickness of an element's scrollbars when they are shown.

Link copied to clipboard

The scroll-behavior CSS property sets the behavior for a scrolling box when scrolling is triggered by the navigation or CSSOM scrolling APIs.

Link copied to clipboard

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.

Link copied to clipboard

The scroll-margin-block shorthand property sets the scroll margins of an element in the block dimension.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The scroll-margin-inline shorthand property sets the scroll margins of an element in the inline dimension.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The scroll-padding shorthand property sets scroll padding on all sides of an element at once, much like the padding property does for padding on an element.

Link copied to clipboard

The scroll-padding-block shorthand property sets the scroll padding of an element in the block dimension.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The scroll-padding-inline shorthand property sets the scroll padding of an element in the inline dimension.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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).

Link copied to clipboard

The scroll-snap-stop CSS property defines whether or not the scroll container is allowed to "pass over" possible snap positions.

Link copied to clipboard

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.

Link copied to clipboard

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). scroll-timeline is set on the scroller that will provide the timeline. The starting scroll position represents 0% progress and the ending scroll position represents 100% progress. If the 0% position and 100% position coincide (i.e., the scroll container has no overflow to scroll), the timeline is inactive.

Link copied to clipboard

The scroll-timeline-axis CSS property is used to specify the scrollbar direction that will be used to provide the timeline for a named scroll progress timeline animation, which is progressed through by scrolling a scrollable element (scroller) between top and bottom (or left and right). scroll-timeline is set on the scroller that will provide the timeline. See CSS scroll-driven animations for more details.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The shape-margin CSS property sets a margin for a CSS shape created using shape-outside.

Link copied to clipboard

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.

Link copied to clipboard

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 , , , , , , and elements. If explicitly declared, the value of the CSS property overrides the any values of the element's shape-rendering attribute.

Link copied to clipboard

The stop-color CSS property defines the color to use for an SVG element within a gradient. If present, it overrides the element's stop-color attribute.

Link copied to clipboard

The stop-opacity CSS property defines the opacity of a given color gradient stop in the SVG element within an SVG gradient. If present, it overrides the element's stop-opacity attribute.

Link copied to clipboard

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, or ); 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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The table-layout CSS property sets the algorithm used to lay out

cells that have no visible content.

Link copied to clipboard

The tab-size CSS property is used to customize the width of tab characters (U+0009).

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The text-autospace CSS property allows you to specify the space applied between Chinese/Japanese/Korean (CJK) and non-CJK characters.

Link copied to clipboard

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.

Link copied to clipboard

The text-box-edge CSS property specifies an amount of space to trim from a text element's block container.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The text-decoration-color CSS property sets the color of decorations added to text by text-decoration-line.

Link copied to clipboard

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.

Link copied to clipboard

The text-decoration-skip-ink CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The text-emphasis-color CSS property sets the color of emphasis marks. This value can also be set using the text-emphasis shorthand.

Link copied to clipboard

The text-emphasis-position CSS property sets where emphasis marks are drawn. Similar to the text rendered by the HTML element, if there isn't enough room for emphasis marks, the line height is increased.

Link copied to clipboard

The text-emphasis-style CSS property sets the appearance of emphasis marks. It can also be set, and reset, using the text-emphasis shorthand.

Link copied to clipboard

The text-indent CSS property sets the length of empty space (indentation) that is put before lines of text in a block.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The text-rendering CSS property provides information to the rendering engine about what to optimize for when rendering text.

Link copied to clipboard

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 decorations. Each shadow is described by some combination of X and Y offsets from the element, blur radius, and color.

Link copied to clipboard

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.

Link copied to clipboard

The text-underline-offset CSS property sets the offset distance of an underline text decoration line (applied using text-decoration) from its original position.

Link copied to clipboard

The text-underline-position CSS property specifies the position of the underline which is set using the text-decoration property's underline value.

Link copied to clipboard

The text-wrap CSS shorthand property controls how text inside an element is wrapped. The different values provide:

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The timeline-scope CSS property modifies the scope of a named animation timeline.

Link copied to clipboard
var top: String

The top CSS property sets the vertical position of a positioned element. This inset property has no effect on non-positioned elements.

Link copied to clipboard

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).

Link copied to clipboard

The transform CSS property lets you rotate, scale, skew, or translate an element. It modifies the coordinate space of the CSS visual formatting model.

Link copied to clipboard

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.

Link copied to clipboard

The transform-origin CSS property sets the origin for an element's transformations.

Link copied to clipboard

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.

Link copied to clipboard

The transition CSS property is a shorthand property for transition-property, transition-duration, transition-timing-function, transition-delay, and transition-behavior.

Link copied to clipboard

The transition-behavior CSS property specifies whether transitions will be started for properties whose animation behavior is discrete.

Link copied to clipboard

The transition-delay CSS property specifies the duration to wait before starting a property's transition effect when its value changes.

Link copied to clipboard

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.

Link copied to clipboard

The transition-property CSS property sets the CSS properties to which a transition effect should be applied.

Link copied to clipboard

The transition-timing-function CSS property sets how intermediate values are calculated for CSS properties being affected by a transition effect.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The vertical-align CSS property sets vertical alignment of an inline, inline-block or table-cell box.

Link copied to clipboard

The view-timeline CSS shorthand property is used to define a named view progress timeline, which is progressed through based on the change in visibility of an element (known as the subject) inside a scrollable element (scroller). view-timeline is set on the subject.

Link copied to clipboard

The view-timeline-axis CSS property is used to specify the scrollbar direction that will be used to provide the timeline for a named view progress timeline animation, which is progressed through based on the change in visibility of an element (known as the subject) inside a scrollable element (scroller). view-timeline-axis is set on the subject. See CSS scroll-driven animations for more details.

Link copied to clipboard

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.

Link copied to clipboard

The view-timeline-name CSS property is used to define the name of a named view progress timeline, which is progressed through based on the change in visibility of an element (known as the subject) inside a scrollable element (scroller). view-timeline is set on the subject.

Link copied to clipboard

The view-transition-class CSS property provides the selected elements with an identifying class (a ), providing an additional method of styling the view transitions for those elements.

Link copied to clipboard

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.

Link copied to clipboard

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

cells, rows, and columns.

Link copied to clipboard
Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The -webkit-text-stroke-width CSS property specifies the width of the stroke for text.

Link copied to clipboard

The white-space CSS property sets how white space inside an element is handled.

Link copied to clipboard

The white-space-collapse CSS property controls how white space inside an element is collapsed.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The word-break CSS property sets whether line breaks appear wherever the text would otherwise overflow its content box.

Link copied to clipboard

The word-spacing CSS property sets the length of space between words and between tags.

Link copied to clipboard

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).

Link copied to clipboard
var x: String

The x CSS property defines the x-axis coordinate of the top left corner of the SVG shape, image, viewport or nested viewport relative to the nearest ancestor's user coordinate system. If present, it overrides the element's x attribute.

Link copied to clipboard
var y: String

The y CSS property defines the y-axis coordinate of the top left corner of the SVG shape, image, viewport and nested viewport relative to the nearest ancestor's user coordinate system. If present, it overrides the element's y attribute.

Link copied to clipboard

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.

Link copied to clipboard

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.

Functions

Link copied to clipboard
open operator fun get(index: Int): JsString
Link copied to clipboard
open fun getPropertyPriority(property: String): String

The CSSStyleDeclaration.getPropertyPriority() method interface returns a string that provides all explicitly set priorities on the CSS property.

Link copied to clipboard
open fun getPropertyValue(property: String): String

The CSSStyleDeclaration.getPropertyValue() method interface returns a string containing the value of a specified CSS property.

Link copied to clipboard
open fun item(index: Int): String

The CSSStyleDeclaration.item() method interface returns a CSS property name from a CSSStyleDeclaration by index.

Link copied to clipboard
open fun removeProperty(property: String): String

The CSSStyleDeclaration.removeProperty() method interface removes a property from a CSS style declaration object.

Link copied to clipboard
open fun setProperty(property: String, value: String?, priority: String = definedExternally)

The CSSStyleDeclaration.setProperty() method interface sets a new value for a property on a CSS style declaration object.

.