StandardLonghandProperties
Properties
The accent-color
CSS property sets the accent color for user-interface controls generated by some elements.
The CSS align-content
property sets the distribution of space between and around content items along a flexbox's cross-axis or a grid's block axis.
The CSS align-items
property sets the align-self
value on all direct children as a group. In Flexbox, it controls the alignment of items on the Cross Axis. In Grid Layout, it controls the alignment of items on the Block Axis within their grid area.
The align-tracks
CSS property sets the alignment in the masonry axis for grid containers that have masonry in their block axis.
The animation-composition
CSS property specifies the composite operation to use when multiple animations affect the same property simultaneously.
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.
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.
The animation-duration
CSS property sets the length of time that an animation takes to complete one cycle.
The animation-fill-mode
CSS property sets how a CSS animation applies styles to its target before and after its execution.
The animation-iteration-count
CSS property sets the number of times an animation sequence should be played before stopping.
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 @keyframe
at-rules are specified as a comma-separated list of names. If the specified name does not match any @keyframe
at-rule, no properties are animated.
The animation-play-state
CSS property sets whether an animation is running or paused.
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.
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.
The animation-timeline
CSS property specifies the timeline that is used to control the progress of an animation.
The animation-timing-function
CSS property sets how an animation progresses through the duration of each cycle.
The appearance
CSS property is used to control native appearance of UI controls, that are based on operating system's theme.
The aspect-ratio
CSS property sets a preferred aspect ratio for the box, which will be used in the calculation of auto sizes and some other layout functions.
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 you must make the element or its background at least partially transparent.
The backface-visibility
CSS property sets whether the back face of an element is visible when turned towards the user.
The background-attachment
CSS property sets whether a background image's position is fixed within the viewport, or scrolls with its containing block.
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.
The background-clip
CSS property sets whether an element's background extends underneath its border box, padding box, or content box.
The background-color
CSS property sets the background color of an element.
The background-image
CSS property sets one or more background images on an element.
The background-origin
CSS property sets the background's origin: from the border start, inside the border, or inside the padding.
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
.
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
.
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.
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.
Syntax: clip | ellipsis | <string>
The border-block-color
CSS property defines the color of the logical block borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color
and border-bottom-color
, or border-right-color
and border-left-color
property depending on the values defined for writing-mode
, direction
, and text-orientation
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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.
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.
The border-bottom-style
CSS property sets the line style of an element's bottom border
.
The border-bottom-width
CSS property sets the width of the bottom border of an element.
The border-collapse
CSS property sets whether cells inside a <table>
have shared or separate borders.
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.
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.
The border-image-outset
CSS property sets the distance by which an element's border image is set out from its border box.
The border-image-repeat
CSS property defines how the edge regions and middle region of a source image are adjusted to fit the dimensions of an element's border image. The middle region can be displayed by using the keyword "fill" in the border-image-slice property.
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.
The border-image-source
CSS property sets the source image used to create an element's border image.
The border-image-width
CSS property sets the width of an element's border image.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
The border-left-style
CSS property sets the line style of an element's left border
.
The border-left-width
CSS property sets the width of the left border of an element.
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
.
The border-right-style
CSS property sets the line style of an element's right border
.
The border-right-width
CSS property sets the width of the right border of an element.
The border-spacing
CSS property sets the distance between the borders of adjacent cells in a <table>
. This property applies only when border-collapse
is separate
.
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.
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.
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
.
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.
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.
The border-top-style
CSS property sets the line style of an element's top border
.
The border-top-width
CSS property sets the width of the top border of an element.
The box-decoration-break
CSS property specifies how an element's fragments should be rendered when broken across multiple lines, columns, or pages.
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.
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.
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.
The caption-side
CSS property puts the content of a table's <caption>
on the specified side. The values are relative to the writing-mode
of the table.
The caret-color
CSS property sets the color of the insertion caret, the visible marker where the next character typed will be inserted. This is sometimes referred to as the text input cursor. The caret appears in elements such as <input>
or those with the contenteditable
attribute. The caret is typically a thin vertical line that flashes to help make it more noticeable. By default, it is black, but its color can be altered with this property.
Syntax: auto | bar | block | underscore
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
.
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.
The color-scheme
CSS property allows an element to indicate which color schemes it can comfortably be rendered in.
The column-count
CSS property breaks an element's content into the specified number of columns.
The column-fill
CSS property controls how an element's contents are balanced when broken into columns.
The column-rule-color
CSS property sets the color of the line drawn between columns in a multi-column layout.
The column-rule-style
CSS property sets the style of the line drawn between columns in a multi-column layout.
The column-rule-width
CSS property sets the width of the line drawn between columns in a multi-column layout.
The column-span
CSS property makes it possible for an element to span across all columns when its value is set to all
.
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.
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.
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 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.
The container-type CSS property is used to define the type of containment used in a container query.
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.
The contain-intrinsic-length
CSS property sets the height of an element that a browser can use for layout when the element is subject to size containment.
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.
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.
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.
The counter-increment
CSS property increases or decreases the value of a CSS counter by a given value.
The counter-reset
CSS property resets a CSS counter to a given value. This property will create a new counter or reversed counter with the given name on the specified element.
The counter-set
CSS property sets a CSS counter to a given value. It manipulates the value of existing counters, and will only create new counters if there isn't already a counter of the given name on the element.
The empty-cells
CSS property sets whether borders and backgrounds appear around <table>
cells that have no visible content.
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).
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, items shrink to fit according to flex-shrink
.
The float
CSS property places an element on the left or right side of its container, allowing text and inline elements to wrap around it. The element is removed from the normal flow of the page, though still remaining a part of the flow (in contrast to absolute positioning).
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.
The font-feature-settings
CSS property controls advanced typographic features in OpenType fonts.
The font-kerning
CSS property sets the use of the kerning information stored in a font.
The font-language-override
CSS property controls the use of language-specific glyphs in a typeface.
The font-optical-sizing
CSS property sets whether text rendering is optimized for viewing at different sizes.
Syntax: normal | light | dark | <palette-identifier>
The font-size-adjust
CSS property sets the size of lower-case letters relative to the current font size (which defines the size of upper-case letters).
The font-smooth
CSS property controls the application of anti-aliasing when fonts are rendered.
The font-stretch
CSS property selects a normal, condensed, or expanded face from a font.
The font-synthesis
CSS property controls which missing typefaces, bold, italic, or small-caps, may be synthesized by the browser.
The font-synthesis-position
CSS property lets you specify whether or not a browser may synthesize the subscript and superscript "position" typefaces when they are missing in a font family, while using font-variant-position
to set the positions.
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.
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.
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.
The font-variant
CSS shorthand property allows you to set all the font variants for a font.
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
.
The font-variant-caps
CSS property controls the use of alternate glyphs for capital letters.
The font-variant-east-asian
CSS property controls the use of alternate glyphs for East Asian scripts, like Japanese and Chinese.
Syntax: normal | text | emoji | unicode
The font-variant-ligatures
CSS property controls which ligatures and contextual forms are used in textual content of the elements it applies to. This leads to more harmonized forms in the resulting text.
The font-variant-numeric
CSS property controls the usage of alternate glyphs for numbers, fractions, and ordinal markers.
The font-variant-position
CSS property controls the use of alternate, smaller glyphs that are positioned as superscript or subscript.
The font-variation-settings
CSS property provides low-level control over variable font characteristics, by specifying the four letter axis names of the characteristics you want to vary, along with their values.
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.
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.
The grid-auto-columns
CSS property specifies the size of an implicitly-created grid column track or pattern of tracks.
The grid-auto-flow
CSS property controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid.
The grid-auto-rows
CSS property specifies the size of an implicitly-created grid row track or pattern of tracks.
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.
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.
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.
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.
The grid-template-areas
CSS property specifies named grid areas, establishing the cells in the grid and assigning them names.
The grid-template-columns
CSS property defines the line names and track sizing functions of the grid columns.
The grid-template-rows
CSS property defines the line names and track sizing functions of the grid rows.
The hanging-punctuation
CSS property specifies whether a punctuation mark should hang at the start or end of a line of text. Hanging punctuation may be placed outside the line box.
The hyphenate-character
CSS property sets the character (or string) used at the end of a line before a hyphenation break.
The hyphenate-limit-chars
CSS property specifies the minimum word length to allow hyphenation of words as well as the the minimum number of characters before and after the hyphen.
The image-orientation
CSS property specifies a layout-independent correction to the orientation of an image.
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.
Syntax: [ from-image || <resolution> ] && snap?
The initial-letter
CSS property sets styling for dropped, raised, and sunken initial letters.
The inline-size
CSS property defines the horizontal or vertical size of an element's block, depending on its writing mode. It corresponds to either the width
or the height
property, depending on the value of writing-mode
.
Syntax: auto | none
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
.
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
.
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
.
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
.
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 a grid container.
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.
The CSS justify-self
property sets the way a box is justified inside its alignment container along the appropriate axis.
The justify-tracks
CSS property sets the alignment in the masonry axis for grid containers that have masonry in their inline axis.
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.
The line-height
CSS property sets the height of a line box. It's commonly used to set the distance between lines of text. On block-level elements, it specifies the minimum height of line boxes within the element. On non-replaced inline elements, it specifies the height that is used to calculate line box height.
The line-height-step
CSS property sets the step unit for line box heights. When the property is set, line box heights are rounded up to the closest multiple of the unit.
The list-style-image
CSS property sets an image to be used as the list item marker.
The list-style-position
CSS property sets the position of the ::marker
relative to a list item.
The list-style-type
CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.
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.
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.
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.
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
.
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
.
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.
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.
The margin-trim
property allows the container to trim the margins of its children where they adjoin the container's edges.
The mask-border-mode
CSS property specifies the blending mode used in a mask border.
The mask-border-outset
CSS property specifies the distance by which an element's mask border is set out from its border box.
The mask-border-repeat
CSS property sets how the edge regions of a source image are adjusted to fit the dimensions of an element's mask border.
The mask-border-slice
CSS property divides the image set by mask-border-source
into regions. These regions are used to form the components of an element's mask border.
The mask-border-source
CSS property sets the source image used to create an element's mask border.
The mask-border-width
CSS property sets the width of an element's mask border.
The mask-composite
CSS property represents a compositing operation used on the current mask layer with the mask layers below it.
The mask-origin
CSS property sets the origin of a mask.
The mask-position
CSS property sets the initial position, relative to the mask position layer set by mask-origin
, for each defined mask image.
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.
This feature is not Baseline because it does not work in some of the most widely-used browsers.
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. Concretely, this is used to determine the computed value of the font-size property when its specified value is math
.
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
.
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
.
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
.
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
.
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.
The offset-distance
CSS property specifies a position along an offset-path
for an element to be placed.
The offset-path
CSS property specifies a motion path for an element to follow and defines the element's positioning within the parent container or SVG coordinate system.
The offset-rotate
CSS property defines the orientation/direction of the element as it is positioned along the offset-path
.
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.
Syntax: auto | <position>
The offset-distance
CSS property specifies a position along an offset-path
for an element to be placed.
The offset-path
CSS property specifies a motion path for an element to follow and defines the element's positioning within the parent container or SVG coordinate system.
Syntax: normal | auto | <position>
The offset-rotate
CSS property defines the orientation/direction of the element as it is positioned along the offset-path
.
The offset-rotate
CSS property defines the orientation/direction of the element as it is positioned along the offset-path
.
The outline-color
CSS property sets the color of an element's outline.
The outline-offset
CSS property sets the amount of space between an outline and the edge or border of an element.
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
.
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
.
Syntax: auto | none
Syntax: visible | hidden | clip | scroll | auto
The overflow-clip-box
CSS property specifies relative to which box the clipping happens when there is an overflow. It is short hand for the overflow-clip-box-inline
and overflow-clip-box-block
properties.
Syntax: <visual-box> || <length [0,∞]>
Syntax: visible | hidden | clip | scroll | auto
The overflow-wrap
CSS property applies to inline elements, setting whether the browser should insert line breaks within an otherwise unbreakable string to prevent text from overflowing its line box.
The overlay
CSS property specifies whether an element appearing in the top layer (for example, a shown popover or modal <dialog>
element) is actually rendered in the top layer. This property is only relevant within a list of transition-property
values, and only if allow-discrete
is set as the transition-behavior
.
The overscroll-behavior-block
CSS property sets the browser's behavior when the block direction boundary of a scrolling area is reached.
The overscroll-behavior-inline
CSS property sets the browser's behavior when the inline direction boundary of a scrolling area is reached.
The overscroll-behavior-x
CSS property sets the browser's behavior when the horizontal boundary of a scrolling area is reached.
The overscroll-behavior-y
CSS property sets the browser's behavior when the vertical boundary of a scrolling area is reached.
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.
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.
The padding-bottom
CSS property sets the height of the padding area on the bottom of an element.
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.
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.
The padding-left
CSS property sets the width of the padding area to the left of an element.
The padding-right
CSS property sets the width of the padding area on the right of an element.
The padding-top
CSS property sets the height of the padding area on the top of an element.
The page-break-after
CSS property adjusts page breaks after the current element.
The page-break-before
CSS property adjusts page breaks before the current element.
The page-break-inside
CSS property adjusts page breaks inside the current element.
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.
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.
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.
The pointer-events
CSS property sets under what circumstances (if any) a particular graphic element can become the target of pointer events.
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.
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.
The ruby-position
CSS property defines the position of a ruby element relatives 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
).
The scrollbar-color
CSS property sets the color of the scrollbar track and thumb.
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.
The scrollbar-width
property allows the author to set the maximum thickness of an element's scrollbars when they are shown.
The scroll-behavior
CSS property sets the behavior for a scrolling box when scrolling is triggered by the navigation or CSSOM scrolling APIs.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 snapport (as the alignment container). The two values specify the snapping alignment in the block axis and inline axis, respectively. If only one value is specified, the second value defaults to the same value.
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.
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.
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.
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.
The scroll-snap-stop
CSS property defines whether or not the scroll container is allowed to "pass over" possible snap positions.
The scroll-snap-type
CSS property sets how strictly snap points are enforced on the scroll container in case there is one.
The scroll-timeline-axis
CSS property can be used to specify the scrollbar that will be used to provide the timeline for a scroll-timeline animation.
The scroll-timeline-name
CSS property defines a name that can be used to identify an element as the source of a scroll timeline for an animation.
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
.
The shape-margin
CSS property sets a margin for a CSS shape created using shape-outside
.
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 simple boxes.
The table-layout
CSS property sets the algorithm used to lay out <table>
cells, rows, and columns.
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.
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.
The text-decoration-color
CSS property sets the color of decorations added to text by text-decoration-line
.
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.
The text-decoration-skip
CSS property sets what parts of an element's content any text decoration affecting the element must skip over. It controls all text decoration lines drawn by the element and also any text decoration lines drawn by its ancestors.
The text-decoration-skip-ink
CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders.
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
.
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.
The text-emphasis-color
CSS property sets the color of emphasis marks. This value can also be set using the text-emphasis
shorthand.
The text-emphasis-position
CSS property sets where emphasis marks are drawn. Like ruby text, if there isn't enough room for emphasis marks, the line height is increased.
The text-emphasis-style
CSS property sets the appearance of emphasis marks. It can also be set, and reset, using the text-emphasis
shorthand.
The text-indent
CSS property sets the length of empty space (indentation) that is put before lines of text in a block.
The text-justify
CSS property sets what type of justification should be applied to text when text-align``: justify;
is set on an element.
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.
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.
The text-rendering
CSS property provides information to the rendering engine about what to optimize for when rendering text.
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.
The text-size-adjust
CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore this property.
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.
The text-underline-offset
CSS property sets the offset distance of an underline text decoration line (applied using text-decoration
) from its original position.
The text-underline-position
CSS property specifies the position of the underline which is set using the text-decoration
property's underline
value.
The timeline-scope
CSS property modifies the scope of a named animation timeline.
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).
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.
The transform-origin
CSS property sets the origin for an element's transformations.
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.
The transition-behavior
CSS property specifies whether transitions will be started for properties whose animation behavior is discrete.
The transition-delay
CSS property specifies the duration to wait before starting a property's transition effect when its value changes.
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.
The transition-property
CSS property sets the CSS properties to which a transition effect should be applied.
The transition-timing-function
CSS property sets how intermediate values are calculated for CSS properties being affected by a transition effect.
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.
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.
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.
The vertical-align
CSS property sets vertical alignment of an inline, inline-block or table-cell box.
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.
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.
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.
The view-transition-name
CSS property provides the selected element with a distinct identifying name (a <custom-ident>
) and causes it to participate in a separate view transition from the root view transition — or no view transition if the none
value is specified.
The visibility
CSS property shows or hides an element without changing the layout of a document. The property can also hide rows or columns in a <table>
.
The white-space
CSS property sets how white space inside an element is handled.
The white-space-collapse
CSS property controls how white space inside an element is collapsed.
Syntax: none | discard-before || discard-after || discard-inner
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.
The word-spacing
CSS property sets the length of space between words and between tags.
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).