CSS properties define the styles and visual layout of elements, from basic colors and fonts to advanced layout systems like Grid and Flexbox. Browse all 582 properties in our CSS Reference.
Sets the color for the inside of text characters. It's almost always used alongside 'background-clip: text' and a transparent 'color' to create text with image backgrounds or gradients.
97%Widely availableA shorthand for setting both the thickness and the color of text outlines in one line. Great for creating 'hollow' or 'ghost' text effects.
97%Widely availableSets the color of the outline (stroke) around text characters. Best used with a large font size to ensure the text remains readable.
97%Widely availableDefines how thick the outline (stroke) around text characters should be. Keep it subtle (1-2px) to prevent the text from looking distorted.
97%Widely availableSets the accent color for user-interface controls like checkboxes, radio buttons and range sliders. It allows you to style native forms with your brand color with a single line of CSS.
Snippet →97%Limited availabilityAligns content when there is extra space: a flex container's lines, a grid's tracks or, in newer browsers, a block's content. It's the cross-axis partner of justify-content.
97%Widely availableDefines the default behavior for how items are aligned along the cross axis (perpendicular to the main axis) in a flex or grid container.
97%Widely availableAllows you to override the default alignment for a single item inside a Flex or Grid container. While 'align-items' sets the default for everyone, 'align-self' lets one item 'do its own thing'.
97%Widely availableControls how an inline-level element (usually SVG text) aligns itself with the vertical baseline of its parent. It's essentially the 'vertical-align' for SVG text.
96%Newly availableA 'big reset' property that sets every CSS property on an element to one value (initial, inherit, unset, revert or revert-layer), except direction and unicode-bidi. Useful for clearing out unwanted styles from themes or parent elements.
97%Widely availableDefines a unique name for an element so it can be used as an anchor for other positioned elements. This creates the relationship needed for anchor positioning to work.
88%Newly availableLimits where an anchor name can be 'seen.' This prevents anchor names from leaking into other parts of the page, allowing you to reuse the same anchor names in different components safely.
88%Newly availableA shorthand property that applies an animation to an element. It links the element to a set of @keyframes and defines how that animation should behave.
97%Widely availableDetermines how the browser should mix multiple animations targeting the same property. You can either replace the previous value, add to it or accumulate it (useful for stacking transforms).
95%Widely availableSets a timer before an animation starts playing. You can use positive values to wait, or negative values to make the animation look like it's already halfway through its first cycle.
97%Widely availableDefines whether an animation should play forwards, backwards or alternate back and forth on every other cycle. Useful for creating smooth 'yo-yo' effects.
97%Widely availableSpecifies how long it takes for an animation to complete one full cycle (from 0% to 100%). Use seconds (s) or milliseconds (ms).
97%Widely availableDetermines how an element should look before the animation starts and after it finishes. 'forwards' is the most common use, as it keeps the final frame of the animation visible.
97%Widely availableSets the number of times an animation should play before stopping. You can use whole numbers (1, 2, 3) or 'infinite' for a never-ending loop.
97%Widely availableSpecifies the name of one or more @keyframes at-rules that should be applied to the selected element.
97%Widely availableAllows you to pause and resume a running animation. Typically used in combination with :hover or JavaScript to freeze an animation when a user interacts with it.
97%Widely availableA shorthand property for setting both the start and end points of a scroll-driven animation. It's the most concise way to define the 'active window' for a scroll effect.
89%Newly availableDefines where a scroll-driven animation should reach 100% completion. For example, you can stop the animation exactly when an element exits the top of the viewport.
89%Newly availableDefines the exact point in a scroll timeline where the animation should begin (0%). This allows you to delay the start of an animation until an element is partially visible.
89%Newly availableThe heart of scroll-driven animations. It links an animation to a timeline other than time, usually the scroll position of a container or how far an element has moved through the viewport.
89%Newly availableDefines the speed curve of an animation, such as 'ease-in', 'ease-out' or 'linear'. It controls whether the animation feels organic and bouncy or robotic and steady.
97%Widely availableAn experimental property that allows you to define exactly when an animation should start playing based on conditions like visibility in the viewport. It's part of the effort to make scroll and view-driven effects more declarative.
70%Limited availabilityUsed to display an element using platform-native styling. Setting it to none is the first step in creating custom form controls like checkboxes or selects.
97%Widely availableSets a preferred ratio for an element's width and height, ensuring it maintains a specific shape (like square or widescreen) even as it resizes.
Snippet →97%Widely availableApplies graphical effects like blur or color shifts to the area *behind* an element, allowing you to create frosted-glass effects.
Snippet →97%Newly availableDetermines if you can see the 'back' of an element when it's flipped in 3D space. Set it to 'hidden' for card-flip animations, where the back face shouldn't show through the front.
97%Widely availableThe ultimate shorthand for setting all background properties (color, image, repeat, etc.) in a single line. It's the most common way to style backgrounds efficiently.
97%Widely availableControls whether a background image stays fixed in place or scrolls along with the content. 'fixed' is often used to create a simple parallax-like effect where the page content slides over a static image.
97%Widely availableSets how an element's multiple background images and background color should blend with each other.
97%Widely availableSpecifies the 'boundary' for where the background should be visible. For example, you can clip the background to only show inside the element's text, or only within its padding area.
97%Widely availableSets the background color of an element. It fills the space behind the content, padding and border of the element.
97%Widely availableSets one or more background images for an element. This can be a URL to an image file or a CSS gradient function.
97%Widely availableSets the starting point for where a background image is positioned. Unlike 'background-clip' which hides parts of the background, 'background-origin' actually shifts the starting (0,0) coordinate of the image.
97%Widely availableSets the initial position of a background image. You can use keywords (center, top), percentages, or length values to move the image within its container.
97%Widely availableSpecifically controls the horizontal (left-to-right) position of a background image. This is useful when you want to change only the horizontal position via hover or animation without touching the vertical position.
97%Widely availableSpecifically controls the vertical (top-to-bottom) position of a background image. It sets the vertical position on its own, without touching the horizontal one.
97%Widely availableSets how background images are repeated. A background image can be repeated along the horizontal and vertical axes, or not repeated at all.
97%Widely availableA non-standard (but widely supported) property that specifically controls whether a background image repeats horizontally. It is usually easier to use the standard 'background-repeat' property instead.
92%Widely availableA non-standard (but widely supported) property that specifically controls whether a background image repeats vertically. It is usually easier to use the standard 'background-repeat' property instead.
92%Widely availableSets the size of the element's background image. Images can be left to their natural size, stretched or constrained to fit the available space.
97%Widely availableUsed in SVG to move text vertically relative to its baseline. It's the primary way to create subscripts or superscripts within SVG text elements without changing font sizes.
96%Newly availableDetermines which line box's baseline is used as the reference for an element with multiple lines. For example, you can choose to align an inline-block based on its first line of text or its last line.
79%Limited availabilityDefines the 'height' of an element in a way that respects the writing mode. If you switch from horizontal to vertical text, 'block-size' automatically switches from height to width so your layout remains consistent.
97%Widely availableA shorthand property that sets an element's border width, style and color in a single declaration.
97%Widely availableThe logical shorthand for both block-direction borders at once. It sets the width, style and color of both the 'start' and 'end' borders in the block dimension with a single line of CSS.
97%Widely availableSets the color of the borders in the block dimension (top and bottom in horizontal text). It's a logical way to style both 'vertical' ends of a box at once.
97%Widely availableA shorthand for setting the width, style and color of the 'end' side border in the block dimension. It's the logical equivalent of styling a bottom border.
97%Widely availableSets the color of the 'end' side of the block dimension (usually the bottom border). Using logical properties like this makes your CSS more readable for multi-language sites.
97%Widely availableSpecifies whether the 'end' block border is solid, dashed, dotted, etc. In standard horizontal English text, this corresponds to the bottom border style.
97%Widely availableDefines the thickness of the logical 'end' border. This is a modern replacement for 'border-bottom-width' that adapts to different writing modes.
97%Widely availableA shorthand for setting the width, style and color of the 'start' side border in the block dimension. Effectively styles the top border in horizontal writing modes.
97%Widely availableSets the color of the 'start' side of the block dimension (usually the top border). Part of the logical properties set for more flexible layout systems.
97%Widely availableDetermines the line style (solid, dashed, etc.) for the 'start' side border. In standard western layouts, this is the top border.
97%Widely availableDefines the thickness of the logical 'start' border. It replaces 'border-top-width' in modern CSS to better support different writing directions.
97%Widely availableSets the line style for both block-dimension borders (top and bottom) with one declaration. Using 'solid' is the most common way to define these boundaries.
97%Widely availableSets the thickness of the borders in the block dimension (usually top and bottom). It's a convenient way to adjust the vertical thickness of a box's borders simultaneously.
97%Widely availableThe shorthand to define width, style and color for just the bottom edge of an element. It's the standard way to create underlines, dividers and bottom-aligned accents.
97%Widely availableSets the color of the bottom border specifically. It's often used to create 'underline' effects on headings or nav links that are stylistically distinct from regular text underlines.
97%Widely availableSpecifically rounds the bottom-left corner of an element. This is useful for creating unique shapes like speech bubbles or tabbed interfaces where only certain corners should be rounded.
97%Widely availableSpecifically rounds the bottom-right corner of an element. It helps in building modern UI components like cards with soft corners or asymmetric decorative boxes.
97%Widely availableSets the line style for the bottom border. Beyond the standard 'solid', you can use 'dashed' or 'dotted' for separating content blocks without being too heavy.
97%Widely availableControls the thickness of the bottom border. It is frequently paired with a specific color to create focus indicators or status bars.
97%Widely availableDetermines whether table cells have shared or separate borders. 'Collapse' is the most common setting used to create clean, single-line borders between cells.
97%Widely availableA shorthand property that sets the color for all four borders of an element. If you provide four values, it sets them in 'top right bottom left' order.
97%Widely availableThe logical way to round the 'bottom-right' corner (in standard English text). It automatically moves to the bottom-left if you switch to a right-to-left language, keeping your layout consistent.
97%Widely availableRounds the corner where the 'end' of the block dimension meets the 'start' of the inline dimension (bottom-left in LTR). Like all logical properties, it adapts to the text direction.
97%Widely availableA massive shorthand for using an image (or gradient) to style an element's borders. It combines source, slice, width, outset and repeat into one line of CSS.
97%Widely availableControls how far outside the element's actual box the border image is drawn. It's useful for making a decorative border appear as if it's 'floating' around its container.
97%Widely availableDefines how the border image is filled along the edges. 'Stretch' pulls the image thin, while 'repeat' or 'round' tiles it. 'Round' is often best because it scales tiles slightly to avoid cutting them off.
97%Widely availableDetermines how to 'cut' the border image into nine pieces (four corners, four edges and a center). These pieces are then used to build the final border by resizing them to fit your element.
97%Widely availableSpecifies the image used as the border. You can use an actual image file (URL) or even a CSS gradient, which allows for advanced effects like gradient borders.
97%Widely availableSets the thickness of the border image. This can be different from the actual 'border-width', allowing you to scale the decorative image pieces independently of the box boundaries.
97%Widely availableThe logical shorthand for setting width, style and color for both the 'start' and 'end' borders in the inline dimension (left and right in LTR).
97%Widely availableSets the color for both borders in the inline dimension (usually left and right). It's the logical way to style 'horizontal' edges at once, adapting perfectly for right-to-left text.
97%Widely availableA shorthand for setting the width, style and color of the 'end' side border in the inline dimension. It's the logical successor to 'border-right'.
97%Widely availableSets the color for the 'end' side of the inline dimension (usually the right border). It ensures the border stays on the 'exit' side of text even if the language direction changes.
97%Widely availableSpecifies the line style for the logical 'end' border. In standard western layouts, this is the right border style.
97%Widely availableDefines the thickness of the logical 'end' border. Replaces 'border-right-width' to ensure the boundary stays on the correct side regardless of text direction.
97%Widely availableA shorthand for setting the width, style and color of the 'start' side border in the inline dimension. It's the logical equivalent of styling a left border.
97%Widely availableSets the color of the 'start' side of the inline dimension (usually the left border). It allows for easier localization without writing direction-specific overrides.
97%Widely availableDetermines the line style (solid, dashed, etc.) for the 'start' side border. Replaces 'border-left-style' for better international formatting.
97%Widely availableDefines the thickness of the logical 'start' border. It's the modern way to set a left border that flips to the right in RTL languages.
97%Widely availableSets the line style for both inline-dimension borders (left and right) with one declaration. Using 'solid' is the standard for defining box boundaries.
97%Widely availableSets the thickness of both logical inline borders (left and right) simultaneously. A convenient logical shorthand for symmetrical horizontal borders.
97%Widely availableA shorthand for setting the physical left border's width, style and color in one line. Handy for a simple vertical line beside an element.
97%Widely availableSets the color of the left border. While logical properties like 'border-inline-start-color' are often preferred for modern apps, this remains the standard way to target the physical left side specifically.
97%Widely availableDetermines the line style (solid, dashed, etc.) of the physical left border. Without a set style, the border won't appear even if you give it a width.
97%Widely availableControls the thickness of the physical left border. It can take keyword values like 'thin' or 'thick', but specific pixel values are most common.
97%Widely availableDefines the radius of an element's corners, allowing you to create rounded corners or circular shapes.
97%Widely availableA shorthand for setting the physical right border's width, style and color. It's the standard physical counterpart to the modern 'border-inline-end' property.
97%Widely availableSets the color of the physical right border. Useful for specific side-styling where you don't want the side to flip automatically in RTL languages.
97%Widely availableDetermines the line style of the physical right border. Common values include 'solid', 'double' or 'dotted'.
97%Widely availableControls the thickness of the physical right border. Often used to create visual separation in navigation bars or lists.
97%Widely availableGives an element's border any basic shape, like circle(), polygon() or path(). With one shape, the border is drawn as a line along it, as thick as the border width. With two shapes, the border fills the space between them. It switches off border-radius and corner-shape on that element and doesn't change layout. It works in Chrome and Edge 147 and later so far.
Snippet →68%Limited availabilityDetermines the distance between the borders of adjacent table cells. Note that this property only works if 'border-collapse' is set to 'separate'.
97%Widely availableThe logical way to round the corner where the 'start' of the block (top) meets the 'end' of the inline dimension (right in LTR). It adapts to writing mode changes automatically.
97%Widely availableRounds the corner where the 'start' of the block (top) and the 'start' of the inline dimension (left in LTR) meet. This is the logical successor to 'border-top-left-radius'.
97%Widely availableA shorthand for setting the line style of all four borders at once. Without a style (like 'solid' or 'dashed'), borders are invisible by default.
97%Widely availableA shorthand for setting the width, style and color of the physical top border in a single declaration.
97%Widely availableSets the color of the physical top border. Often used to create distinct top-bar accents on cards or containers.
97%Widely availableDefines the radius curve of the physical top-left corner. While logical alternatives exist, this remains the most common way to round specific corners in CSS.
97%Widely availableDefines the curve of the physical top-right corner. It can take one or two values to create circular or elliptical curves.
97%Widely availableSets the line style for the physical top border. You must set a style other than 'none' for the border to be rendered.
97%Widely availableSpecifies the thickness of the physical top border. It's often used for decorative 'top-border' highlights on layout components.
97%Widely availableA shorthand for setting the thickness of all four borders. You can provide 1, 2, 3 or 4 values to target different sides specifically.
97%Widely availableSets the vertical distance between the bottom edge of a positioned element and the bottom edge of its containing block.
97%Widely availableControls how an element's fragments (like when a line of text wraps or breaks across pages) are styled. 'Clone' repeats the padding and borders on every fragment, while 'slice' cuts them off.
97%Limited availabilityAdds shadow effects around an element's frame. It can be used to create depth, elevation or subtle glows.
97%Widely availableSets how the total width and height of an element is calculated. border-box includes padding and border in the size, while content-box does not.
97%Widely availableDefines what kind of break (page, column or region) should happen after an element. Commonly used in multi-column layouts or print CSS to force content onto a new page/column.
97%Widely availableSpecifies whether a page, column or region break should occur before an element. Useful for ensuring headers always start a new column or page.
97%Widely availableDetermines if an element should be allowed to split across pages or columns. Setting it to 'avoid' is the standard way to prevent images or cards from getting cut in half.
97%Widely availableSpecifies whether the caption of a table (the <caption> element) should be placed above or below the table content.
97%Widely availableAn experimental property to control the blinking behavior of the text cursor (caret). Setting it to 'manual' allows you to disable the default blink.
72%Limited availabilitySets the color of the text cursor (caret) in inputs, textareas or any editable element. This is a great way to maintain brand colors even in form fields.
97%Widely availableDetermines the visual shape of the text cursor. You can choose between the standard vertical bar, a block or an underscore (terminal-style).
70%Limited availabilitySpecifies whether an element should be moved below any 'floating' elements that come before it. It's the classic way to 'break' out of a float layout and start fresh on a new line.
97%Widely availableA legacy property used to define which portion of an absolutely positioned element is visible. It has been replaced by the more flexible 'clip-path' property.
97%Limited availabilityCreates a clipping region that sets what part of an element should be shown. Parts inside the region are visible, while those outside are hidden.
Snippet →97%Widely availableAn SVG-related property that determines how to calculate the 'insideness' of a point in a clipping path. 'Evenodd' is often used for complex shapes with holes.
97%Widely availableSets the color of an element's text. Child elements inherit it, and anything set to currentcolor, like a border or an SVG icon's fill, uses it too.
97%Widely availableA legacy property (deprecated in favor of 'print-color-adjust') that tells the browser whether it can override colors to save ink or improve readability when printing.
19%Limited availabilityAn SVG property that determines which color space should be used for gradient interpolations and color animations.
97%Widely availableSpecifies the color space for imaging operations performed via filter primitives. It's an internal SVG detail for how colors are calculated during complex filtering.
97%Widely availableTells the browser which color themes (light, dark) the element can be rendered in. This automatically adjusts UI elements like scrollbars and form controls to match the theme.
Snippet →97%Widely availableSplits the content of an element into a specified number of columns, similar to a newspaper layout.
97%Widely availableControls how content is distributed across columns. 'Balance' tries to make all columns equal in height, while 'auto' fills them one after another until they reach their height limit.
97%Widely availableSets the size of the gap (gutter) between columns in multi-column, flex or grid layouts.
97%Widely availableAn experimental property that allows setting a specific height for columns in a multi-column layout.
70%Limited availabilityA shorthand property that sets the width, style and color of the vertical line (rule) drawn between columns in a multi-column layout.
97%Widely availableDecides where the lines between columns stop and start again when they cross other gaps. With none, each line runs unbroken from one end of its gap to the other. With intersection, it breaks at every crossing. The default, normal, depends on the layout: in a grid, a line stops where an item spans across its gap. It's a longhand of rule-break. It works in Chrome, Edge and Opera so far.
68%Limited availabilitySets the color of the vertical line (rule) drawn between the columns of a multi-column layout.
97%Widely availableMoves the ends of the lines between columns. A positive length pulls each end in and a negative length pushes it out past the items. One value covers every end. Add a slash and a second value to treat ends that meet other rules apart from free ends. It's a shorthand for the column-rule-inset-cap-* and column-rule-inset-junction-* properties. It works in Chrome, Edge and Opera so far.
68%Limited availabilityMoves the free ends of the lines between columns. A free end is one that doesn't meet another rule, like where a gap reaches the edge of the container. One value sets the start and the end. Two values set the start, then the end. It's a shorthand for column-rule-inset-cap-start and column-rule-inset-cap-end. It works in Chrome, Edge and Opera so far.
68%Limited availabilityMoves the far end of a line between columns when that end is free, such as where the gap runs out at the container edge. A positive value stops the line short. A negative value lets it run past the edge. It's a longhand of column-rule-inset-cap. It works in Chrome, Edge and Opera so far.
68%Limited availabilityMoves the start of a line between columns when that end is free, such as where the gap begins at the container edge. A positive value pulls the line's start further in. A negative value pushes it out. It's a longhand of column-rule-inset-cap. It works in Chrome, Edge and Opera so far.
68%Limited availabilityMoves the end of every line segment between columns, both at free ends and where a segment meets other rules. Pair it with column-rule-inset-start to trim one end more than the other. It's a shorthand for column-rule-inset-cap-end and column-rule-inset-junction-end. It works in Chrome, Edge and Opera so far.
68%Limited availabilityMoves the ends of the lines between columns where they meet other rules at a gap crossing. Percentages are measured against the width of the gap being crossed, so -50% stretches each end halfway in and the pieces meet in the middle. One value sets both ends. Two values set the start, then the end. It's a shorthand for column-rule-inset-junction-start and column-rule-inset-junction-end. It works in Chrome, Edge and Opera so far.
68%Limited availabilityMoves the end of a line between columns where it runs into a crossing with other rules. A positive value stops the line short of the crossing. A negative value pushes it into the crossing. It's a longhand of column-rule-inset-junction. It works in Chrome, Edge and Opera so far.
68%Limited availabilityMoves the start of a line between columns where it leaves a crossing with other rules. A positive value leaves a small space after the crossing. The overlap-join keyword pulls the start back into the crossing so it joins the rule it meets. It's a longhand of column-rule-inset-junction. It works in Chrome, Edge and Opera so far.
68%Limited availabilityMoves the start of every line segment between columns, both at free ends and where a segment leaves other rules. Set it alone to trim only the start of each segment and leave the ends where they are. It's a shorthand for column-rule-inset-cap-start and column-rule-inset-junction-start. It works in Chrome, Edge and Opera so far.
68%Limited availabilityDetermines the line style (solid, dashed, dotted, etc.) of the vertical line drawn between columns.
97%Widely availableDecides whether a line between columns is drawn next to empty areas. With all, every part of the gap gets a line. With around, a part needs an item on at least one side. With between, it needs items on both sides. normal acts like all in a grid and like between in a multi-column layout. It's a longhand of rule-visibility-items. It works in Chrome, Edge and Opera so far.
68%Limited availabilitySets the thickness of the vertical line drawn between columns in a multi-column layout.
97%Widely availableAllows an element (like a header) to stretch across all columns instead of being confined to a single column in a multi-column layout.
97%Widely availableSets the ideal width for columns in a multi-column layout. The browser will create as many columns of at least this width as it can fit in the container.
97%Widely availableAn experimental property to control whether content should wrap into new columns or overflow in a multi-column layout.
70%Limited availabilityA shorthand property that allows you to easily create multi-column text layouts, similar to a newspaper or magazine.
97%Widely availableTells the browser that an element and its content are independent of the rest of the page. This allows the browser to optimize rendering because it knows changes inside won't affect anything outside.
97%Widely availableDefines the 'placeholder' block-size (height) of an element when it is subject to size containment (e.g., when off-screen). This prevents layout shifts when content loads or scrolls into view.
96%Widely availableSets the placeholder height for an element under size containment. It ensures the element occupies space even if its content isn't being rendered yet.
96%Widely availableDefines the placeholder inline-size (width) of an element when it is under size containment, preventing layout instability.
96%Widely availableA shorthand property to set both the width and height an element should 'pretend' to have when it is under size containment. Use it with content-visibility: auto, so skipped content keeps its space and the page doesn't jump while scrolling.
96%Widely availableSets the placeholder width for an element under size containment, helping the browser calculate layout without rendering the full content.
96%Widely availableNames a query container and sets its type in one line, written as name / type. If the type is left out it resets to normal, which size queries ignore.
96%Widely availableAssigns a name to a container so that nested elements can style themselves based on that specific container's size or state.
96%Widely availableDefines an element as a 'container' so its children can query its size or state. 'inline-size' is the most common value, allowing responsive styles based on the container's width.
96%Widely availableUsed with the ::before and ::after pseudo-elements to generate content on a page. It can be text, images or even the value of an attribute.
97%Widely availableAllows the browser to skip the rendering work for elements that are currently off-screen. Setting it to 'auto' can drastically improve the initial load speed and scroll performance of long pages.
Snippet →95%Newly availableAn experimental shorthand for styling the shapes (round, angled, etc.) of the corners at the end of the block axis (usually bottom-left and bottom-right).
73%Limited availabilityAn experimental shorthand for styling the shapes of the corners at the start of the block axis (usually top-left and top-right).
73%Limited availabilityAn experimental property to define the specific shape of the bottom-left corner. You can choose from 'round', 'angle' (beveled), or other shapes.
73%Limited availabilityAn experimental property for the bottom-right corner shape. Part of the new efforts to give designers more control over corner aesthetics beyond simple rounding.
73%Limited availabilityAn experimental shorthand to set the physical shape of both bottom corners simultaneously.
73%Limited availabilityAn experimental property to set the shape of the corner at the end of both the block and inline axes (usually the bottom-right corner in LTR languages).
73%Limited availabilityAn experimental property to set the shape of the corner at the end of the block axis and start of the inline axis (usually the bottom-left corner).
73%Limited availabilityAn experimental shorthand to set the shape of both corners on the inline-end side of an element (usually the right side).
73%Limited availabilityAn experimental shorthand to set the shape of both corners on the inline-start side of an element (usually the left side).
73%Limited availabilityAn experimental physical shorthand to set the shape of both left corners (top-left and bottom-left) simultaneously.
73%Limited availabilityAn experimental physical shorthand to set the shape of both right corners (top-right and bottom-right) simultaneously.
73%Limited availabilityA master shorthand property that allows you to set the shape of all four corners of an element. This is the cornerstone of the new 'CSS Borders 4' features for advanced corner styling.
Snippet →73%Limited availabilityAn experimental property to set the shape of the corner at the start of the block axis and end of the inline axis (usually the top-right corner).
73%Limited availabilityAn experimental property to set the shape of the corner at the start of both the block and inline axes (usually the top-left corner).
73%Limited availabilityAn experimental property for the top-left corner shape. It gives designers more control, allowing for beveled or angled corners instead of just rounded ones.
73%Limited availabilityAn experimental property for the top-right corner shape. Part of the new efforts to provide advanced border styling in CSS.
73%Limited availabilityAn experimental shorthand to set the physical shape of both top corners (top-left and top-right) at once.
73%Limited availabilityAdvances a CSS counter by a specified value (default is 1). It's commonly used to number items like chapters, sections or images in complex documents.
97%Widely availableResets a CSS counter to a specific value (default is 0). It's typically used on a parent element to start a new sequence for its children.
97%Widely availableSets a CSS counter to a specified value. Unlike 'counter-reset', which starts a new scope, 'counter-set' modifies the value of an existing counter within the current scope.
96%Widely availableSets the mouse cursor to show when the mouse pointer is over an element. Common values include pointer for links, wait for loading states and help.
97%Widely availableCommonly known as 'CSS Variables'. They allow you to store values (like colors or sizes) in a name starting with '--' and reuse them throughout your stylesheet using the 'var()' function.
97%Widely availableDefines the x-coordinate of the center of an SVG element, like a <circle> or <ellipse>. You can now control this directly via CSS properties.
97%Widely availableDefines the y-coordinate of the center of an SVG element, like a <circle> or <ellipse>. This works similarly to 'cx' but for the vertical axis.
97%Widely availableA CSS property that allows you to define the shape of an SVG <path> element. It lets you animate paths or changing them purely with CSS (e.g., on hover).
81%Limited availabilitySpecifies the base text direction for an element. 'ltr' is for languages like English, and 'rtl' is for languages like Arabic or Hebrew.
97%Widely availableDefines the internal and external display types of an element. It determines if an element behaves like a block or inline box and how its children are laid out.
97%Widely availableA display value that packs items into lanes like a masonry wall. Each item drops into the shortest column so you get Pinterest-style layouts without JavaScript measuring.
Snippet →N/ALimited availabilityAn SVG property that determines which baseline is used to align text. It's crucial for vertical alignment of text and icons within SVG graphics.
97%Widely availableA cutting-edge property that allows you to limit the maximum brightness of colors on HDR (High Dynamic Range) displays. This is useful for preventing eye strain when bright white elements are displayed on HDR screens.
85%Limited availabilityA table property that determines if borders and backgrounds should be shown for cells that have no visible content.
97%Widely availableA modern property that allows form fields (like textareas) to automatically grow or shrink based on the amount of text typed into them, without needing JavaScript.
Snippet →88%Newly availableSets the color or pattern used to paint the inside of an SVG shape. It is the SVG equivalent of the 'background-color' property for regular HTML elements.
97%Widely availableAn SVG property that controls the transparency of the inner fill of a shape or text. A value of 0 is fully transparent, and 1 is fully opaque.
97%Widely availableAn SVG property that determines how the interior of a complex shape (with overlapping paths) is filled with color.
97%Widely availableApplies graphical effects like blur, brightness or color shifts to an element, similar to image editing software effects.
97%Widely availableIn a grid lanes layout, each item goes into the shortest lane. fit-tolerance sets how close two lanes must be in length to count as a tie. Tied lanes fill in order, so items stay closer to source order. The default, normal, works out to 1em, and infinite places items strictly in order. Safari 26.4 supports it, but only under its earlier name, flow-tolerance. No browser accepts the name fit-tolerance yet.
11%Limited availabilitySets how much a flex item grows, how much it shrinks and the size it starts from, all in one line. flex: 1 makes items split the free space evenly.
97%Widely availableDefines the initial size of a flex item before the container distributes any remaining space. It works like width or height depending on the flex-direction.
97%Widely availableDetermines the orientation of flex items in a container, essentially choosing whether they form a horizontal row or a vertical column.
97%Widely availableA shorthand property that combines 'flex-direction' and 'flex-wrap'. It lets you set the direction of items and whether they should wrap in one line of code.
97%Widely availableDefines the ability for a flex item to grow if necessary. It accepts a unitless value that serves as a proportion; it dictates how much of the available space inside the flex container the item should take up.
97%Widely availableDefines the ability for a flex item to shrink if necessary. It works as a proportion; if the container is too small, items with a higher shrink value will shrink more to fit.
97%Widely availableAllows flex items to spill over into multiple lines when they run out of room, rather than squishing together on a single line.
97%Widely availableAn older layout property that pushes an element to the left or right, allowing text and other content to wrap around it. Often used for images within articles.
97%Widely availableAn SVG property that sets the color of an SVG filter's flood area. It's often used with 'feFlood' to fill a region with a solid color for lighting or shadow effects.
97%Widely availableAn SVG property that sets the transparency level of an SVG filter's flood color. 0 is invisible, 1 is fully solid.
97%Widely availableThe earlier name of fit-tolerance, for grid lanes layouts. It sets how close two lanes must be in length to count as a tie when the next item is placed. Safari 26.4 supports this name; the spec now calls it fit-tolerance.
N/ALimited availabilityA shorthand property that lets you set many text-related properties (like size, weight and family) all in one go. It's the most efficient way to define the overall look of your text.
97%Widely availableControls how a web font displays while loading. Values: auto, block, swap, fallback, optional.
92%Widely availableSpecifies a prioritized list of one or more font family names and/or generic family names for the selected element.
97%Widely availableA low-level property that gives you control over OpenType font features like ligatures, kerning and advanced typographic alternates.
97%Widely availableControls how the spacing between specific pairs of letters is adjusted (e.g., pulling 'A' and 'V' closer together) to make text look more balanced.
97%Widely availableOverrides language-specific glyph selection in OpenType fonts. Ensures correct rendering for specific languages.
74%Limited availabilityFor variable fonts, this property automatically adjusts the shape of letters to be more readable at small sizes or more elegant at large sizes.
97%Widely availableSelects a pre-defined color palette for color fonts. Lets you apply different color schemes to emoji and color glyphs.
97%Widely availableSets the size of the font. This is one of the most fundamental properties for defining the visual scale of text on a page.
97%Widely availableEnsures that if your primary font fails to load, the fallback font is automatically resized to match the same visual height (x-height), preventing the layout from jumping or text becoming unreadable.
92%Newly availableAllows you to choose a wider or narrower version of a font if the font family supports it (commonly used with variable fonts to squeeze or stretch text).
97%Widely availableSets whether text should be rendered in an upright (normal), slanted (italic), or skewed (oblique) style.
97%Widely availableControls synthetic font styling (bold, italic, small-caps). Prevents browser from creating fake styles when the font lacks variants.
97%Widely availableControls whether the browser is allowed to 'fake' subscript or superscript positions if the font doesn't have them built-in.
2%Limited availabilityControls whether the browser is allowed to 'fake' small-caps by shrinking capital letters if the font doesn't have a real small-caps version.
96%Widely availableControls whether the browser is allowed to 'fake' an italic style by slanting the text if a real italic font file isn't available.
96%Widely availableControls whether the browser is allowed to 'fake' a bold look by thickening the strokes if a real bold font file isn't available.
96%Widely availableA shorthand property that lets you control advanced typographic features like small caps, old-style numerals and special ligatures. It helps you make text look more professional and polished if the font supports it.
97%Widely availableA property that lets you toggle stylistic alternates in a font (like different ways to draw the letter 'g' or 'a') if the font has multiple versions of those characters.
95%Widely availableAllows you to use special 'all-caps' or 'small-caps' styles built into a font. Smaller caps are often used to make acronyms look more harmonious with lowercase text.
97%Widely availableA property that controls specialized typographic features for East Asian writing systems, like Japanese and Chinese (e.g., Ruby characters).
97%Widely availableEnables you to force a character to look like a colorful emoji or a simple black-and-white text symbol, assuming the font supports both.
76%Limited availabilityControls ligatures, where two or more characters merge into one shape (like 'fi' or 'fl').
97%Widely availableControls how numbers are displayed. You can use it to create 'old-style' numbers, slashed zeros (to distinguish 0 from O), or fractions.
97%Widely availableA property that lets you use real, typographically correct subscript and superscript characters built into a font, rather than having the browser 'fake' them with small offsets.
95%Widely availableControls low-level variable font axes. Lets you fine-tune font weight, width and other OpenType variations.
97%Widely availableSets the thickness or boldness of the font. Values can be keywords like 'bold' or numbers (e.g., 400 for regular, 700 for bold).
97%Widely availableSelects a condensed or expanded font face variation. Values range from ultra-condensed to ultra-expanded.
16%Limited availabilityControls whether the browser is allowed to override an element's colors (like when 'High Contrast Mode' is active on Windows). It's handy for preserving specific brand colors that might otherwise be hidden.
81%Limited availabilityLets an iframe take its height or width from the page inside it, so it doesn't need an inner scrollbar. The page inside has to agree by including <meta name="responsive-embedded-sizing">. Without that, nothing changes. The default, auto, keeps the usual fixed iframe size. It works in Chrome and Edge 154 and later so far.
63%Limited availabilitySets the distance between rows and columns in grid, flex or multi-column layouts. It is a shorthand for row-gap and column-gap.
97%Widely availableA deprecated property used in SVG to control the orientation of characters when text is written vertically. Use 'text-orientation' in modern CSS instead.
16%Limited availabilityA shorthand property for setting all the explicit and implicit grid properties in a single declaration. It allows you to define rows, columns and templates quickly.
Snippet →97%Widely availableA shorthand property that lets you assign an element to a specific named area or set of lines within a CSS Grid, defining its position and size in one line.
97%Widely availableSets the size of any columns that the browser creates automatically (implicit columns) when you place items outside of your explicitly defined grid columns.
97%Widely availableDetermines the algorithm used to automatically place grid items that aren't specifically positioned. It can fill row by row, column by column or try to fill gaps 'densely'.
97%Widely availableSets the size of any rows that the browser creates automatically (implicit rows) when items spill over your explicitly defined grid rows.
97%Widely availableA shorthand property for grid-column-start and grid-column-end. It defines an item's horizontal position and width within a grid in a single line.
97%Widely availableDefines which vertical grid line a grid item should end at. You can specify a line number, a named line or use 'span' to say how many columns it should cover.
97%Widely availableDefines which vertical grid line a grid item should begin at. You can specify a line number or a named line.
97%Widely availableA shorthand property for grid-row-start and grid-row-end. It defines an item's vertical position and height within a grid in one line.
97%Widely availableDefines which horizontal grid line a grid item should end at. You can use line numbers, names or 'span' keywords.
97%Widely availableDefines which horizontal grid line a grid item should begin at. You can specify a line number or a named line.
97%Widely availableA powerhouse shorthand that lets you define 'grid-template-rows', 'grid-template-columns' and 'grid-template-areas' all at once. It can define a whole page layout in one property.
97%Widely availableAllows you to design a grid layout using 'named areas'. You can draw a visual map of your page using strings, making complex layouts much easier to read.
97%Widely availableDefines the number and widths of columns in a grid. You can set fixed sizes, percentages or use the fr unit to fill available space.
97%Widely availableDefines the height of each row in a grid. You can set fixed heights, use percentages or the 'fr' unit to fill available vertical space.
97%Widely availableAllows punctuation to hang outside the line box. Creates traditional typography with punctuation hanging in margins.
16%Limited availabilitySets the height of an element. It defines the vertical space an element occupies.
97%Widely availableSets the character used when a word is broken at the end of a line. While usually a hyphen (-), you can change it to something else (like an arrow or a different symbol).
97%Widely availableSets rules for how and when a word should be hyphenated, such as the minimum word length or the minimum number of characters left at the start or end of a line.
79%Limited availabilityEnables automatic hyphenation of words. Values: none, manual, auto. Requires lang attribute to work.
97%Widely availableControls whether an image is automatically rotated based on its 'EXIF' metadata (data captured by cameras about how the photo was taken).
97%Widely availableDetermines how the browser should upscale or downscale an image. It's especially useful for making pixel art look sharp ('pixelated') rather than blurry when enlarged.
97%Widely availableAn old, mostly deprecated property used to control the 'Input Method Editor' (like character pickers for non-English languages). It's rarely used today and not supported in Chrome or Safari.
3%Limited availabilityA modern way to create 'drop caps' (large first letters at the start of a paragraph). You can specify how many lines high the letter should be and how many lines it should sink into the text.
Snippet →93%Limited availabilityA logical property that sets the 'width' of an element relative to the direction of text. In horizontal languages (like English), it's exactly the same as 'width'.
97%Widely availableA modern shorthand property that sets the distance between an element and its parent container. It's much faster than writing out 'top', 'right', 'bottom' and 'left' separately.
Snippet →97%Widely availableA logical shorthand for 'inset-block-start' and 'inset-block-end'. It defines an element's distance from the top and bottom of its container in one line.
97%Widely availableA logical property that sets the distance from the 'end' of the block axis (usually the 'bottom' in English layouts). It's the logical replacement for 'bottom'.
97%Widely availableA logical property that sets the distance from the 'start' of the block axis (usually the 'top' in English layouts). It's the logical replacement for 'top'.
97%Widely availableA logical property that sets the distance from the 'end' of the inline axis (usually the 'right' in LTR or 'left' in RTL). It's the logical replacement for 'right'.
97%Widely availableA logical property that sets the distance from the 'start' of the inline axis (usually the 'left' in LTR or 'right' in RTL). It's the logical replacement for 'left'.
97%Widely availableAn experimental property that can make an entire section of a page 'inert' (unclickable and ignored by assistive technology), similar to the 'inert' HTML attribute but via CSS.
73%Limited availabilityExperimental shorthand for 'interest-delay-start' and 'interest-delay-end'. Controls the timing for appearing and disappearing 'interest' UI elements like tooltips.
72%Limited availabilityExperimental: Part of the Interest API. Sets the delay before an 'interest' state (like a tooltip or hover-card) is dismissed after the user stops showing interest.
72%Limited availabilityExperimental: Part of the Interest API. Sets the delay before an 'interest' state (like a tooltip or popover) appears after the user starts showing interest (e.g., hovering).
72%Limited availabilityIt allows you to animate an element's size to or from keywords like 'auto', 'min-content' or 'max-content' smoothly.
Snippet →74%Limited availabilityDefines whether an element must create a new stacking context. This is useful for preventing mix-blend-mode or z-index from affecting elements outside of a specific container.
97%Widely availableDefines how the browser distributes space between and around content items along the main axis of a flex container or the inline axis of a grid container.
97%Widely availableDefines the default alignment for all items inside a grid container along the inline (horizontal) axis.
97%Widely availableAllows a single item inside a grid or flex container to override the default alignment set by its parent.
97%Widely availableMoves a positioned element in from the left. With absolute or fixed it measures from the left edge of the containing block, and with relative it shifts the element from where it would normally sit.
97%Widely availableSets the horizontal spacing (kerning) between characters in a block of text.
97%Widely availableSpecifies the color of the light source used in SVG filter primitives like <feDiffuseLighting> and <feSpecularLighting>.
97%Widely availableSets strictness level for CJK line-breaking rules. Values: auto, loose, normal, strict, anywhere.
97%Widely availableLimits the number of lines displayed in a block of text, automatically adding an ellipsis (...) at the end. It's the modern, non-prefixed way to do 'multiline truncation'.
Snippet →97%Limited availabilitySets the height of a line box. It is commonly used to set the distance between lines of text, which significantly affects readability.
97%Widely availableA shorthand property for setting all the list style properties at once. It's most commonly used to remove bullets entirely.
97%Widely availableAllows you to use an image (like a tiny icon or logo) as the bullet point for list items.
97%Widely availableDetermines whether the list bullet appears inside or outside the text block. 'inside' makes the bullet part of the first line of text, while 'outside' keeps it in the margin.
97%Widely availableSets the marker (bullet or number) for a list item element. You can choose from built-in shapes, numbers or even custom strings.
97%Widely availableSets the margin area on all four sides of an element. It creates space between an element and its neighbors.
97%Widely availableA logical shorthand for 'margin-block-start' and 'margin-block-end'. It sets the vertical spacing (top and bottom) in one line.
97%Widely availableA logical property that sets the margin at the 'end' of the block axis (usually the 'bottom' in English). It's the logical replacement for 'margin-bottom'.
97%Widely availableA logical property that sets the margin at the 'start' of the block axis (usually the 'top' in English). It's the logical replacement for 'margin-top'.
97%Widely availableSets the amount of empty space below an element. This space pushes other elements further down the page.
97%Widely availableA logical shorthand for 'margin-inline-start' and 'margin-inline-end'. It sets the horizontal spacing (left and right) in one line.
97%Widely availableA logical property that sets the margin at the 'end' of the inline axis (usually the 'right' in LTR or 'left' in RTL). It's the logical replacement for 'margin-right'.
97%Widely availableA logical property that sets the margin at the 'start' of the inline axis (usually the 'left' in LTR or 'right' in RTL). It's the logical replacement for 'margin-left'.
97%Widely availableSets the amount of empty space on the left side of an element. This can be used to push the element away from its neighbor on the left.
97%Widely availableSets the amount of empty space on the right side of an element. This creates a gap between the element and whatever is to its right.
97%Widely availableSets the amount of empty space above an element. This pushes the element further down the page from its top neighbor.
97%Widely availableAn experimental property that 'trims' the margins of child elements when they hit the edges of their container. It's a cleaner way to handle things like the last item's margin-bottom.
71%Limited availabilityPuts the same SVG marker on the first point, every middle point and the last point of a shape. The marker is drawn by an SVG <marker> element that url() points to.
97%Widely availableAn SVG property that places a 'marker' (like an arrowhead or dot) at the very last point of a path, line or polyline.
97%Widely availableDefines the symbol or marker that will be displayed at every vertex (point) of an SVG path, except for the very first and very last points. Use it for dots or arrowheads along a multi-segment line.
97%Widely availableDefines the symbol or marker that will be displayed at the very first point of an SVG path. It's commonly used to add arrowheads to the start of a line.
97%Widely availableA shorthand property that allows you to hide or partially hide parts of an element using an image or a gradient. It's like using a stencil to cut a shape out of an element.
97%Widely availableA shorthand property that lets you use an image as a 'border mask' for an element. This allows you to create decorative borders that are defined by an external image file.
94%Limited availabilityDefines how much the mask border area extends beyond the element's border box, effectively pushing the mask outwards.
94%Limited availabilityDetermines how the edges and corners of the mask border image are repeated or stretched to fill the mask area.
94%Limited availabilitySpecifies how to 'slice' the mask border image into nine regions (four corners, four edges and a center). This allows the edges to scale while keeping the corners fixed.
94%Limited availabilitySets the image that will be used to create the mask border. This image is sliced and applied to the border area of an element.
94%Limited availabilitySets the thickness of the mask border. If this is different from the element's actual border width, the mask border will scale to fit.
94%Limited availabilityDetermines which area of the element (border, padding or content box) the mask should actually apply to. It works similarly to 'background-clip'.
97%Widely availableDefines how multiple mask layers should be combined together (e.g., should they be added, subtracted or intersected).
95%Widely availableSets the image that will be used as the masking layer for an element. It allows you to selectively hide parts of an element using gradients or transparent images.
97%Widely availableSpecifies whether the mask should be treated as an alpha mask (using transparency) or a luminance mask (using brightness).
94%Limited availabilityDefines the 'origin' or starting point of the mask position. It determines where the mask image is placed relative to the element's boxes.
97%Widely availableSets the initial position of the mask image within the masking area. It works exactly like 'background-position'.
97%Widely availableControls whether the mask image is tiled (repeated) across the element, and how it is tiled. It works exactly like 'background-repeat'.
97%Widely availableSets the size of the mask image. You can use keywords like 'cover' or 'contain', or specific pixel/percentage values, just like 'background-size'.
97%Widely availableAn SVG property (also available in CSS) that determines whether an SVG <mask> element should be treated as an alpha mask or a luminance mask.
97%Widely availableControls how MathML formulas are scaled when nested. Increasing the depth usually makes the text smaller, similar to how subscripts or superscripts work.
91%Newly availableA property for MathML that determines whether superscripts should be shifted upwards more aggressively ('normal') or kept closer to the baseline ('compact').
91%Newly availableSpecifies whether MathML equations should be rendered in a 'display' style (centered and full-sized) or an 'inline' style (more compact to fit inside a paragraph).
96%Widely availableA logical property that sets the maximum size of an element in the block axis (usually 'height'). It's the logical replacement for 'max-height'.
97%Widely availableSets the maximum height of an element. It prevents the element from becoming taller than the specified value. If the content is taller, it will overflow based on the overflow property.
97%Widely availableA logical property that sets the maximum size of an element in the inline axis (usually 'width'). It's the logical replacement for 'max-width'.
97%Widely availableSets the maximum width of an element. It prevents the element from becoming wider than the specified value, even if the content or container is larger.
97%Widely availableA logical property that sets the minimum size of an element in the block axis (usually 'height'). It's the logical replacement for 'min-height'.
97%Widely availableSets the minimum height of an element. It prevents the element from becoming shorter than the specified value, which is useful for ensuring a section always has some height even if it's empty.
97%Widely availableA logical property that sets the minimum size of an element in the inline axis (usually 'width'). It's the logical replacement for 'min-width'.
97%Widely availableSets the minimum width of an element. It prevents the element from becoming narrower than the specified value, even if the content or container is smaller.
97%Widely availableSets how an element's content should blend with the content of the element's direct background (parent).
97%Widely availableDefines how an <img> or <video> should be resized to fit its container. cover makes images fill a space without being squashed.
Snippet →97%Widely availableSets the alignment of an image or video within its container when using object-fit. It's like background-position but for replaced elements like <img> and <video>.
97%Widely availableAllows you to specify a 'view box' for an image or video, similar to how viewBox works in SVG. This essentially lets you crop or zoom into a specific part of a replaced element using CSS.
78%Limited availabilityA shorthand property for setting all the individual motion path properties (path, distance, rotation, etc.) in a single line.
96%Widely availableDefines the point of the element that is actually 'attached' to the motion path. By default, it's the center, but you can change it to a corner or specific position.
95%Widely availableSpecifies how far along a motion path (defined by offset-path) an element should be placed. It's usually animated from 0% to 100%.
96%Widely availableDefines the actual path an element should follow during a motion animation. You can use SVG path strings, shapes (like circles), or даже browser curves.
97%Widely availableSets the initial starting position of a motion path. It determines where the 'zero point' of the path is located relative to the element's container.
95%Widely availableControls the rotation of an element as it moves along a path. By default, 'auto' makes the element 'face' the direction it's moving.
96%Widely availableSets the transparency level of an element. A value of 0 is fully transparent, while 1 is fully opaque.
97%Widely availableChanges the visual order of items within a flex or grid container without changing their actual order in the HTML code.
97%Widely availableSpecifies the minimum number of lines of a paragraph that must be left at the bottom of a page or column before a break.
94%Limited availabilityA shorthand property for setting the width, style and color of an element's outline. Outlines are drawn outside the border edge and don't take up space.
97%Widely availableSets the color of the outline drawn around an element. Outlines are different from borders because they don't take up any space in the layout.
97%Widely availableAdds space between the edge of the element and the outline. Positive values push the outline away, negative values pull it inside.
97%Widely availableSets the style of the outline (like 'solid', 'dashed' or 'dotted'). It works exactly like 'border-style'.
97%Widely availableSets the thickness of the outline around an element. It works exactly like 'border-width'.
97%Widely availableDecides what happens when content is too big for its box: it can spill out, get cut off or scroll. One value sets both directions, and two values set x then y.
97%Widely availableA browser optimization that helps keep your scroll position steady when content is added to the page above where you're looking. It prevents the page from 'jumping' unexpectedly.
Snippet →83%Newly availableA logical property that sets the overflow behavior in the block direction (usually vertical). It's the logical replacement for 'overflow-y'.
88%Newly availableWorks with 'overflow: clip' to allow content to extend slightly beyond the element's box before it is cut off. It's like a 'safe zone' for clipped content.
81%Limited availabilityA logical property that sets the overflow behavior in the inline direction (usually horizontal). It's the logical replacement for 'overflow-x'.
88%Newly availableAlso known as word-wrap. Breaks words if they would overflow the container instead of creating a scrollbar.
97%Widely availableControls what happens to content that is wider than its container. It can be hidden, clipped or made to scroll horizontally.
97%Widely availableControls what happens to content that is taller than its container. This is the most common way to add a vertical scrollbar to a box.
97%Widely availableA property used for elements in the 'top layer' (like <dialog> or popovers). It specifies whether an element should be rendered in the top layer even when it's not the active modal.
76%Limited availabilityA shorthand for setting how the browser handles reaching the boundary of a scroll area in both directions. It helps stop annoying 'scroll chaining'.
Snippet →96%Limited availabilityA logical property that controls what happens when you reach the end of a scroll area in the block (vertical) direction. It prevents 'scroll chaining' to the parent container.
96%Limited availabilityA logical property that controls what happens when you reach the end of a scroll area in the inline (horizontal) direction. It prevents 'scroll chaining' to the parent container.
96%Limited availabilityControls what happens when you reach the end of a horizontal scroll zone. It's often used to keep users from accidentally navigating 'back' or 'forward' with swipe gestures.
96%Limited availabilityControls what happens when you reach the end of a vertical scroll zone. This is the most common way to stop the background page from scrolling when a popup or menu is open.
96%Limited availabilitySets the padding area on all four sides of an element. It creates space between an element's content and its border.
97%Widely availableA logical shorthand for setting both 'padding-block-start' and 'padding-block-end'. It's like setting 'padding-top' and 'padding-bottom' at the same time.
97%Widely availableA logical property that sets the padding at the end of the block axis. For normal horizontal text, this is the same as 'padding-bottom'.
97%Widely availableA logical property that sets the padding at the start of the block axis. For normal horizontal text, this is the same as 'padding-top'.
97%Widely availableSets the amount of internal space between the bottom edge of an element and its content.
97%Widely availableA logical shorthand for setting both 'padding-inline-start' and 'padding-inline-end'. It's like setting 'padding-left' and 'padding-right' at the same time.
97%Widely availableA logical property that sets the padding at the end of the inline axis. For left-to-right text, this is 'padding-right'.
97%Widely availableA logical property that sets the padding at the start of the inline axis. For left-to-right text, this is 'padding-left'.
97%Widely availableSets the amount of internal space between the left edge of an element and its content.
97%Widely availableSets the amount of internal space between the right edge of an element and its content.
97%Widely availableSets the amount of internal space between the top edge of an element and its content.
97%Widely availableTells the browser which named page type an element prints on. When the name changes from one element to the next, a new page starts.
97%Widely availableA legacy property used to control page breaks when printing. It's used to force or prevent a new page from starting after an element.
97%Limited availabilityA legacy property used to control page breaks when printing. It's used to force or prevent a new page from starting before an element.
97%Limited availabilityA legacy property used to prevent a page break from occurring inside an element when printing (for example, to keep an image and its caption on the same page).
97%Limited availabilityAn SVG-related property that controls whether an element's fill or stroke is drawn first. This is useful for preventing a thick stroke from obscuring the fill of a shape or text.
97%Widely availableGives an element a 3D feel by setting the distance between the viewer and the 'z=0' plane. A smaller number creates a more intense 3D effect.
97%Widely availableSets the 'vanishing point' for a 3D transformation. It determines the position from which the viewer is looking at the 3D space.
97%Widely availableA shorthand for setting both 'align-content' and 'justify-content' at once. It controls how the alignment of the entire content block (not individual items) happens within its container.
97%Widely availableA shorthand for setting both align-items and justify-items in a single property. It's a quick way to center items in CSS Grid.
97%Widely availableA shorthand for setting both 'align-self' and 'justify-self' on a single item. It lets one specific item in a Flex or Grid container override the default alignment of the group.
97%Widely availableSpecifies under what circumstances (if any) a particular graphic element can become the target of pointer events (like clicks or hovers).
97%Widely availableChooses how an element is placed. static and relative keep it in the normal flow. absolute and fixed lift it out, and sticky holds it in view as you scroll.
Snippet →97%Widely availableSpecifies which defined anchor element a positioned element should track. It connects the positioned element to its anchor by name.
88%Newly availableA newer, simplified way to position an element relative to its anchor. Instead of manually calculating top/left, you can use logical regions like 'top-right' or 'bottom-center'.
88%Newly availableLists backup positions for an anchored element and, optionally, how to sort them, in one line. When the element would overflow, the browser tries the fallbacks until one fits.
88%Newly availablePart of the Anchor Positioning API, this property lets you define a list of 'backup' positions for an element. If the primary position would cause the element to overflow its container, the browser will try these fallbacks instead.
Snippet →88%Newly availableDetermines the order in which the browser tries the fallback positions defined in 'position-try-fallbacks'. You can tell the browser to prioritize the position with the most available space.
88%Newly availableControls when an anchor-positioned element should be shown or hidden based on the visibility of its anchor. For example, you can hide a tooltip if its anchor is scrolled out of view.
88%Newly availableA hint to the browser's print engine. It specifies whether the browser should use economical colors (to save ink) or force the printout to match the exact colors/backgrounds shown on screen.
97%Newly availableSpecifies which characters to use for curly quotes or other language-specific quotation marks when using the <q> tag or 'content: open-quote'.
97%Widely availableSets the radius of an SVG <circle> element. This property allows you to control the size of circles directly from your CSS, which is great for hover effects or animations.
97%Widely availableA new property that fixes a common accessibility issue: when you reorder items visually (using Flexbox or Grid 'order'), screen readers still read them in their original code order. This property tells the browser to follow the visual layout instead.
73%Limited availabilityA companion to 'reading-flow'. It allows you to manually specify the order in which a screen reader or keyboard navigation should move through elements, regardless of their position in the HTML source.
73%Limited availabilitySets whether an element is resizable by the user, and if so, in which directions. Note that this only works on elements where overflow is not 'visible'.
83%Limited availabilityMoves a positioned element in from the right. With absolute or fixed it measures from the right edge of the containing block, and with relative it shifts the element left from where it would normally sit.
97%Widely availableAn individual transform property that rotates an element around a fixed point (the transform-origin) without needing the shorthand transform property.
96%Widely availableSets the size of the gap (gutter) between rows in a Grid, Flexbox or Multi-column layout.
97%Widely availableDraws a line in the gaps between rows of a grid, flex or multi-column layout. It's a shorthand for row-rule-width, row-rule-style and row-rule-color, the same way column-rule works for columns. The line sits inside the gap and takes up no space. It works in Chrome, Edge and Opera so far.
Snippet →68%Limited availabilityDecides where the lines between rows stop. none draws one unbroken line from one end of the gap to the other, even behind items that span it. intersection breaks the line at every crossing. normal depends on the layout. In a grid the line stops at items that span across the gap but runs through plain crossings. In flex and multi-column layouts it acts like none. The rule-break shorthand sets it together with column-rule-break. It works in Chrome, Edge and Opera so far.
68%Limited availabilitySets the color of the lines drawn in the gaps between rows. It's one of the three properties the row-rule shorthand sets. No line shows until row-rule-style is set to something other than none. It works in Chrome, Edge and Opera so far.
68%Limited availabilityPulls the ends of the row lines in or pushes them out. A positive length shortens each line and a negative one stretches it. A percentage is measured against the width of the gap being crossed. It's a shorthand that sets all four row inset longhands at once: the cap ends and the junction ends on both sides. Values after a slash set the junction ends, like 0px / -4px. It works in Chrome, Edge and Opera so far.
68%Limited availabilitySets how far the cap ends of the row lines are pulled in or pushed out. A cap is a line end at the container edge or next to an empty area, where no other line meets it. One value sets both ends. Two values set the start side, then the end side. It's a shorthand for row-rule-inset-cap-start and row-rule-inset-cap-end. The row-rule-inset shorthand sets it too. It works in Chrome, Edge and Opera so far.
68%Limited availabilityMoves the end-side tip of a row line when that tip is a cap. A cap is a line end at the container edge or next to an empty area, where no other line meets it. In a grid with left-to-right text, that's the right end. A positive value pulls the tip in and a negative value pushes it out. The row-rule-inset-cap, row-rule-inset-end and row-rule-inset shorthands all set it. It works in Chrome, Edge and Opera so far.
68%Limited availabilityMoves the start-side tip of a row line when that tip is a cap. A cap is a line end at the container edge or next to an empty area, where no other line meets it. In a grid with left-to-right text, that's the left end. A positive value pulls the tip in and a negative value pushes it out. The row-rule-inset-cap, row-rule-inset-start and row-rule-inset shorthands all set it. It works in Chrome, Edge and Opera so far.
68%Limited availabilityMoves the end-side tip of every row line, whether that tip sits at a cap or a junction. In a grid with left-to-right text, that's the right end. A positive value pulls the tip in and a negative value pushes it out. It's a shorthand for row-rule-inset-cap-end and row-rule-inset-junction-end. The rule-inset-end shorthand sets it too. It works in Chrome, Edge and Opera so far.
68%Limited availabilityMoves the ends of the row lines that sit at crossings. A junction is a line end at a crossing where other lines are also drawn. One value sets both ends. Two values set the start side, then the end side. overlap-join stretches the lines into the crossing so they join up neatly. It's a shorthand for row-rule-inset-junction-start and row-rule-inset-junction-end. The row-rule-inset shorthand sets it too. It works in Chrome, Edge and Opera so far.
68%Limited availabilityMoves the end-side tip of a row line when that tip is a junction. A junction is a line end at a crossing where other lines are also drawn. In a grid with left-to-right text, that's the right end. A positive value pulls the tip back and a negative value pushes it into the crossing. The row-rule-inset-junction, row-rule-inset-end and row-rule-inset shorthands all set it. It works in Chrome, Edge and Opera so far.
68%Limited availabilityMoves the start-side tip of a row line when that tip is a junction. A junction is a line end at a crossing where other lines are also drawn. In a grid with left-to-right text, that's the left end. A positive value pulls the tip back and a negative value pushes it into the crossing. The row-rule-inset-junction, row-rule-inset-start and row-rule-inset shorthands all set it. It works in Chrome, Edge and Opera so far.
68%Limited availabilityMoves the start-side tip of every row line, whether that tip sits at a cap or a junction. In a grid with left-to-right text, that's the left end. A positive value pulls the tip in and a negative value pushes it out. It's a shorthand for row-rule-inset-cap-start and row-rule-inset-junction-start. The rule-inset-start shorthand sets it too. It works in Chrome, Edge and Opera so far.
68%Limited availabilityPicks the style of the lines between rows, such as solid, dashed or dotted. The keywords work the same as border-style. It's one of the three properties the row-rule shorthand sets. The default is none, so no line shows until you pick a style. It works in Chrome, Edge and Opera so far.
68%Limited availabilityDecides which parts of a row gap get a line when cells next to it are empty. all draws every part. around draws a part if an item sits on at least one side. between draws it only when items sit on both sides. normal acts like all. It applies to grid and multi-column containers, not flex. The rule-visibility-items shorthand sets it together with column-rule-visibility-items. It works in Chrome, Edge and Opera so far.
68%Limited availabilitySets how thick the lines between rows are. It takes a length or thin, medium or thick. Negative values aren't allowed. It's one of the three properties the row-rule shorthand sets. The line takes up no space, so a line wider than the gap gets covered by the items next to it. It works in Chrome, Edge and Opera so far.
68%Limited availabilityA property used in East Asian typography to align 'ruby' annotations (the tiny pronunciation guides above characters). It works like 'justify-content' but specifically for ruby text.
91%Newly availableSpecifies whether a ruby annotation (pronunciation guide) can 'hang over' onto adjacent characters if it is wider than the character it's attached to.
81%Limited availabilityControls where a ruby annotation is placed relative to its character (usually either 'over' or 'under').
97%Newly availableDraws lines in both the column gaps and the row gaps of a grid, flex or multi-column container. It takes a width, style and color like border. It sets column-rule and row-rule to the same value. The lines don't take up space, so nothing in the layout moves. It works in Chrome, Edge and Opera so far.
68%Limited availabilityDecides whether the lines in both column and row gaps stop where they cross other gaps. none draws one unbroken line per gap and intersection breaks at every crossing. normal depends on the layout: in a grid, lines stop where an item spans across them. It sets column-rule-break and row-rule-break to the same value. It works in Chrome, Edge and Opera so far.
68%Limited availabilitySets the color of the lines in both column and row gaps. It takes one color or a comma-separated list. With a list, each gap takes the next color in turn. It sets column-rule-color and row-rule-color to the same value. It works in Chrome, Edge and Opera so far.
68%Limited availabilityMoves the ends of the lines in both column and row gaps. Positive lengths pull the ends in and negative lengths push them out. The overlap-join keyword stretches lines into each crossing so they join neatly. With overlap-join, free ends stay where they are. It sets column-rule-inset and row-rule-inset to the same value. It works in Chrome, Edge and Opera so far.
68%Limited availabilityMoves the free ends of the lines in both column and row gaps. Free ends are the ones that don't meet another rule, like those at the edges of the container. Ends at crossings stay where they are. It sets column-rule-inset-cap and row-rule-inset-cap to the same value. It works in Chrome, Edge and Opera so far.
68%Limited availabilityMoves the end of every line segment in both column and row gaps, at free ends and at crossings alike. The starts stay put. It sets column-rule-inset-end and row-rule-inset-end to the same value. It works in Chrome, Edge and Opera so far.
68%Limited availabilityMoves the ends of lines that meet other rules at a crossing, in both column and row gaps. A small positive value leaves a little space around each crossing while free ends stay flush. It sets column-rule-inset-junction and row-rule-inset-junction to the same value. It works in Chrome, Edge and Opera so far.
68%Limited availabilityMoves the start of every line segment in both column and row gaps, at free ends and at crossings alike. The ends stay put. It sets column-rule-inset-start and row-rule-inset-start to the same value. It works in Chrome, Edge and Opera so far.
68%Limited availabilityDecides which lines are painted on top where row rules and column rules cross. The default, row-over-column, puts the row lines on top. column-over-row puts the column lines on top. It applies to grid, flex and grid lanes containers, not multi-column ones. It works in Chrome, Edge and Opera so far.
68%Limited availabilitySets the line style in both column and row gaps. It takes the same keywords as border-style, like solid, dashed or dotted. The default is none, so no lines show until you set a style. It sets column-rule-style and row-rule-style to the same value. It works in Chrome, Edge and Opera so far.
68%Limited availabilityDecides whether lines in both column and row gaps are drawn next to empty areas. all draws every part, around needs an item on at least one side and between needs items on both sides. It sets column-rule-visibility-items and row-rule-visibility-items to the same value. It applies to grid and multi-column containers. It works in Chrome, Edge and Opera so far.
68%Limited availabilitySets how thick the lines are in both column and row gaps. It takes a length or thin, medium or thick. Negative values aren't allowed. It sets column-rule-width and row-rule-width to the same value. It works in Chrome, Edge and Opera so far.
68%Limited availabilitySets the horizontal radius of an SVG <ellipse> or the corner rounding radius of a <rect>. It allows you to create rounded rectangles directly from CSS.
96%Widely availableSets the vertical radius of an SVG <ellipse> or the corner rounding radius of a <rect>. It works just like 'rx' but for the vertical axis.
96%Widely availableAn individual transform property that resizes an element, making it larger or smaller without needing the shorthand transform property.
96%Widely availableWhen you scroll mostly in one direction, a browser may lock the scroll to that one axis. scroll-axis-lock: none turns that off for a scroll container, so diagonal scrolling stays diagonal. The default, auto, lets the browser lock. Set it on the root element to cover the page. Setting it on body does not reach the page. Only Chrome on desktop supports it so far, from version 153.
64%Limited availabilitySets the behavior for a scrolling box when scrolling is triggered by navigation or CSSom scrolling APIs. smooth creates a nice transition instead of an instant jump.
97%Widely availableA property that tells the browser to automatically 'snap' to a specific element when the page first loads or when a container first appears.
74%Limited availabilityDefines the margin (offset) of an element when it is scrolled into view via scroll-snapping or anchor links. This is extremely useful for preventing fixed headers from covering the top of a section.
Snippet →97%Widely availableA shorthand that sets both the start and end scroll margins at the same time. It creates a 'snap buffer' in the vertical direction (or whatever the 'block' axis is).
97%Widely availableSets the margin between the end of an element and the edge of its scroll container specifically for 'scroll snapping'. This ensures that when an element snaps into view, it doesn't bump directly against the edge.
97%Widely availableSets the 'snap margin' at the start of an element. Use it so a sticky header doesn't cover a section's title when you scroll to it.
97%Widely availableForces a specific amount of empty space at the bottom of an element when it's being snapped into place by the browser.
97%Widely availableA shorthand that sets both the start and end scroll margins in the horizontal (inline) direction at once.
97%Widely availableSets the snap margin at the 'end' of an element in the text flow (usually the right side in English). It ensures a gap between the element and the edge of the scroll container when it snaps.
97%Widely availableSets the snap margin at the 'start' of an element in the text flow (usually the left side in English). This is great for horizontal carousels to keep the current item from hugging the left edge.
97%Widely availableForces a specific amount of empty space on the left side of an element when it's snapped into place by the browser.
97%Widely availableForces a specific amount of empty space on the right side of an element when it's snapped into place by the browser.
97%Widely availableForces a specific amount of empty space at the top of an element when it's snapped into place. Extremely common for preventing sticky headers from overlapping your anchor targets.
97%Widely availableGives a scroll container a ::scroll-marker-group, the box that holds a carousel's navigation dots. before places it just ahead of the container and after places it just after. The default, none, creates no group. Each item's ::scroll-marker then goes into that group. The spec also has links and tabs modes, but browser data only lists none, before and after so far. It works in Chrome, Edge and Samsung Internet so far.
Snippet →73%Limited availabilitySets the padding (inner offset) of a scroll container. It ensures that when elements snap or are scrolled into view, they stay a certain distance away from the edges of the container.
97%Widely availableSets the padding at the end of the scroll container's 'snapping area'. While 'scroll-margin' is set on the items, 'scroll-padding' is set on the container itself.
97%Widely availableSets the padding at the start of the scroll container's 'snapping area'. It's applied to the SCROLL CONTAINER and affects how ALL items inside it are positioned when snapped.
97%Widely availableSets the snap padding at the bottom of the scroll container. It essentially creates a 'safe zone' at the bottom of the scroller so that snapped items don't hit the very edge.
97%Widely availableA shorthand that sets both the start and end scroll padding in the horizontal (inline) direction on a container.
97%Widely availableSets the snap padding at the 'end' of the scroll container in the text flow (usually the right side). Applied to the container, it affects where all items inside will snap.
97%Widely availableSets the snap padding at the 'start' of the scroll container in the text flow (usually the left side). Keeps snapped items from hugging the left edge.
97%Widely availableSets a fixed amount of padding on the left side of a scroll container that specifically interacts with scroll snapping.
97%Widely availableSets a fixed amount of padding on the right side of a scroll container that specifically interacts with scroll snapping.
97%Widely availableSets a fixed amount of padding on the top of a scroll container that specifically interacts with scroll snapping. Often applied to the root element to account for sticky headers.
97%Widely availableUsed on children within a scroll-snap container to define which part of the element should snap to the container. You can snap to the start, center or end of the element.
97%Widely availableDetermines whether a scroll container is allowed to 'skip' snap points when the user is scrolling quickly. Setting it to 'always' forces the scroll to stop at every single item.
97%Widely availableEnables scroll snapping on a container, forcing the scroll position to 'snap' to certain elements. It converts a smooth scroll into a stepped, slider-like experience.
97%Widely availableA new property that allows you to group multiple targets in a scroll container together. This helps the browser decide which element should be 'snapped' to when there are multiple potential choices.
72%Limited availabilityLinks an animation's progress directly to the scroll position of a scroll container. This replaces time-based durations with scroll-based progress.
89%Newly availableSets which axis of a scroll container drives a scroll timeline: block, inline, x or y. In horizontal text, block is vertical and inline is horizontal.
89%Newly availableAssigns a custom name to a scroll timeline, allowing it to be referenced by the animation-timeline property on other elements.
89%Newly availableA modern, standard way to change the colors of a scrollbar's 'thumb' (the moving part) and 'track' (the background). It's much simpler than the old webkit pseudo-elements.
Snippet →89%Newly availableUsed with 'shape-outside', this property defines the alpha (transparency) limit that determines the shape. A threshold of 0.5 means pixels with more than 50% opacity will form part of the shape.
97%Widely availableSets a margin for a shape created with 'shape-outside'. It adds a buffer of empty space between the custom shape and the text wrapping around it.
97%Widely availableThe core property for CSS Shapes. It allows text to wrap around complex paths (like circles, polygons or transparent images) instead of just being limited to rectangular boxes.
Snippet →97%Widely availableAn SVG-specific property that tells the browser how to render shapes. You can prioritize speed over quality, or ensure that lines and edges look perfectly crisp on modern screens.
97%Widely availableA basic speech property that determines if an element should be read aloud at all by speech-enabled browsers or screen readers.
78%Limited availabilityControls how a screen reader or speech synthesizer should pronounce certain content. For example, it can force the browser to 'spell out' every letter or read out punctuation marks.
16%Limited availabilityDefines the color used at a specific 'stop' in an SVG gradient. It's applied to the <stop> element inside a <linearGradient> or <radialGradient>.
97%Widely availableDefines the transparency (alpha) of a color stop in an SVG gradient. This allows you to create gradients that fade into transparency.
97%Widely availableAn experimental property (mainly supported in Safari) that allows you to set the color of an SVG path or text stroke using standard CSS color values.
16%Limited availabilityCreates dashed or dotted lines for SVG shapes. You provide a list of numbers that define the length of the dashes and the spaces between them.
97%Widely availableDefines where a dash pattern (created with 'stroke-dasharray') starts. By animating this value, you can create the 'self-drawing' line effect commonly seen in SVG animations.
97%Widely availableDefines the shape of the ends of an SVG path. You can make them blunt (butt), rounded (round), or extended (square).
97%Widely availableDefines how the corners of an SVG path or shape should look when two lines meet. Options include sharp (miter), rounded (round), or flattened (bevel).
97%Widely availableWorks with 'stroke-linejoin: miter' to determine when the sharp points of a corner should be 'clipped' or flattened. If the point gets too long (beyond this limit), it automatically turns into a bevel join.
97%Widely availableDefines the transparency (alpha) of the border (stroke) of an SVG shape or text. A value of 0 is fully transparent, and 1 is fully opaque.
97%Widely availableSets the thickness of the border (stroke) on SVG shapes or text. It can be defined in pixels, percentages or other standard CSS units.
97%Widely availableControls the width of tab characters in code/preformatted text. Specify as a number of spaces or a length.
97%Widely availableControls the algorithm used to lay out table cells, rows and columns. 'Fixed' allows for faster rendering and consistent column widths based on the table's width.
97%Widely availableSets the horizontal alignment of inline-level content inside a block container. It can align text to the left, right, center or justify it.
97%Widely availableControls text alignment for all lines, including the last. More restrictive version of text-align.
45%Limited availabilityControls alignment of the last line of text. Lets you justify all lines except the final one.
96%Widely availableAn SVG-specific property used to align a string of text relative to its starting point. It's essentially 'text-align' but for text elements inside an <svg>.
97%Widely availableA new property that automatically adds small amounts of spacing between different types of characters (like between ideographs and non-ideographs in mixed-language text) to improve readability.
88%Newly availableThe shorthand property for 'text-box-trim' and 'text-box-edge'. It provides a concise way to control how a text box's vertical space is calculated and trimmed.
Snippet →90%Newly availableWorks with 'text-box-trim' to define which metric (like the 'cap height' or 'alphabetic' baseline) should be used as the boundary when trimming the space around a block of text.
90%Newly availableA highly anticipated property that allows you to 'trim' the leading (built-in vertical space) from the top and bottom of a text block. This solves the long-standing problem of text not being perfectly centered vertically in buttons or containers.
90%Newly availableUsed in vertical writing modes (like Japanese or Chinese) to 'group' short characters (like numbers or acronyms) together so they appear horizontally (upright) instead of stacked vertically.
97%Widely availableA shorthand property that sets the appearance of decorative lines on text, such as underlines, overlines and strike-throughs.
97%Widely availableSets the color of the lines defined by 'text-decoration-line' (like underlines, overlines or strike-throughs).
97%Widely availableAn experimental property that allows you to adjust the position of an underline or overline, pushing it closer to or further away from the text baseline.
46%Limited availabilitySets which type of decorative line should be added to the text. You can add more than one line at once (like an underline and an overline).
97%Widely availableA broader property that defines which parts of an element's content should be skipped by its text decorations. For example, you can tell an underline to skip spaces or the edges of the box.
16%Widely availableControls how underlines are drawn when they cross the 'descenders' of characters (like the tails on 'g', 'j' or 'p'). Setting it to 'auto' makes the line skip over the tails for a cleaner look.
97%Widely availableDecides whether underlines and other decoration lines run under spaces. The default, start end, leaves spaces at the start and end of a line bare. all skips every space, so each word gets its own line. none decorates spaces like any other character. Only Chrome on desktop supports it so far, from version 155.
9%Limited availabilitySets the visual style of the decoration lines. You can make underlines wavy, dashed, dotted or double.
97%Widely availableSets the thickness (stroke width) of the decoration lines. You can use standard units like pixels or percentages to make underlines thicker or thinner.
97%Widely availableThe shorthand property for adding emphasis marks to text. This is frequently used in East Asian languages to highlight important words, similar to how italics or bolding are used in English.
97%Widely availableSets the color of emphasis marks (like the dots or circles often used in East Asian typography) added to text.
97%Widely availableDetermines where emphasis marks should be placed relative to the text. They can appear above (over), below (under), or on the sides for vertical text.
97%Widely availableDefines the shape or appearance of emphasis marks. You can use standard shapes like circles and triangles, or even provide a custom character string.
97%Widely availableScales the font size of text so each line fills the full width of its box. grow makes text bigger to fit and shrink makes it smaller. consistent, used when you don't pick, scales every line by the same amount. per-line scales each line on its own but skips the last line, and per-line-all includes it. A percentage sets the limit. It works in Chrome and Edge 150 and later so far.
67%Limited availabilitySets the amount of empty space that appears before the first line of text in a block. Negative values can be used to create 'hanging' indents.
97%Widely availableSpecifies how text is justified. Values: auto, inter-word, inter-character, distribute (for CJK).
73%Limited availabilityUsed in vertical writing modes to decide if individual characters should be rotated sideways or kept standing upright.
97%Widely availableDefines how text is shown when it overflows its containing element. It can clip the text or add an ellipsis (...) to indicate there is more content.
97%Widely availableTells the browser what to prioritize when rendering text: speed of display, readability (legibility), or geometric precision. 'optimizeLegibility' is great for making headlines look their best.
97%Widely availableAdds a shadow to text. You can control the shadow's offset (X and Y), blur radius, and color. You can also stack multiple shadows by separating them with commas.
97%Widely availableMainly used for mobile devices, this property tells the browser whether it should automatically increase the size of text to make it more readable when you rotate your phone or zoom in. Setting it to 'none' prevents this behavior.
92%Limited availabilityA modern property that helps manage the spacing between characters in CJK (Chinese, Japanese, Korean) typography. It specifically handles how 'half-width' punctuation and characters should be spaced to keep the layout looking clean.
74%Limited availabilitySpecifies how to capitalize an element's text. It can be used to make text appear in all-caps, all-lowercase or with each word capitalized.
97%Widely availableAllows you to precisely control the distance between an underline and the text baseline. Use it to keep underlines clear of letter tails or to place them exactly where you want.
97%Widely availableDefines where an underline should be placed. While 'offset' moves it by a specific amount, 'position' lets you choose logical spots like 'under' the descenders (the tails of letters) or on the sides for vertical text.
97%Widely availableThe shorthand property for 'text-wrap-mode' and 'text-wrap-style'. It controls both whether text wraps and how the wrapping algorithm behaves.
94%Widely availableA newer way to define if text should wrap to the next line or not. This is essentially a more modern version of the 'white-space' property for wrapping.
91%Newly availableControls the algorithm used to wrap text. 'balance' suits short headlines, keeping lines roughly equal in length, while 'pretty' avoids 'orphans' (single words on a new line) in paragraphs.
91%Newly availableA property for scroll-driven animations. It allows you to 'broaden' the scope of a named scroll timeline so it can be accessed by elements outside of the immediate parent/child relationship.
89%Newly availableA shorthand that sets a timeline trigger's name, the timeline it watches and, optionally, its ranges through timeline-trigger-range. Animations can then start or stop as that timeline moves through the ranges.
70%Limited availabilitySets the stretch of a timeline that turns a timeline trigger on, as a start and an end in one value. When the timeline enters that stretch, the trigger fires the action named in animation-trigger. It is the shorthand for timeline-trigger-activation-range-start and timeline-trigger-activation-range-end, and it uses the same syntax as animation-range. The timeline-trigger shorthand can set it too. It works in Chrome and Edge 146 and later so far.
70%Limited availabilitySets the point on a timeline where a trigger's activation range ends. Together with the start, it marks the window the timeline has to enter to turn the trigger on. A narrow window, like cover 40% to cover 60%, fires only near the middle of the screen. The default, normal, means the end of the timeline. It is a longhand of the timeline-trigger-activation-range shorthand. It works in Chrome and Edge 146 and later so far.
70%Limited availabilitySets the point on a timeline where a trigger's activation range begins. Once the timeline reaches it, the trigger can turn on and start its animation. Values work like animation-range-start, so entry 50% means the element is halfway into view. The default, normal, means the start of the timeline. It is a longhand of the timeline-trigger-activation-range shorthand. It works in Chrome and Edge 146 and later so far.
70%Limited availabilitySets how long a timeline trigger stays on after it turns on, as a start and an end in one value. When the timeline leaves this range, the trigger turns off and runs the second action in animation-trigger, if there is one. By default it matches the activation range, and the spec says it always covers at least that much. It is the shorthand for timeline-trigger-active-range-start and timeline-trigger-active-range-end. The timeline-trigger shorthand can set it too. It works in Chrome and Edge 146 and later so far.
70%Limited availabilitySets the point where a trigger's active range ends. If the timeline moves past it, for example when an element scrolls off the top, the trigger turns off. Setting it later than the activation end keeps an effect on for longer. The default, auto, copies the end of the activation range. It is a longhand of the timeline-trigger-active-range shorthand. It works in Chrome and Edge 146 and later so far.
70%Limited availabilitySets the point where a trigger's active range begins. If the timeline moves back before it, for example when you scroll back up, the trigger turns off. Setting it earlier than the activation start keeps an effect on until the element has fully left. The default, auto, copies the start of the activation range. It is a longhand of the timeline-trigger-active-range shorthand. It works in Chrome and Edge 146 and later so far.
70%Limited availabilityAn experimental property for scroll-driven animations. It allows you to name a specific point or 'trigger' in a timeline that an animation should react to.
70%Limited availabilityAn experimental property that defines which element's scroll progress should trigger a specific timeline-based animation.
70%Limited availabilityDetermines the vertical distance between the top edge of a positioned element and the top edge of its containing block.
97%Widely availableTells the browser how to handle touch interactions (like swiping or pinching) on a specific element. This is vital for complex mobile UIs, such as custom maps or sliders, where you want to disable default browser scrolling to handle it yourself.
97%Widely availableApplies 2D or 3D transformations to an element, allowing you to rotate, scale, skew or move it in space.
97%Widely availableDefines the bounding box that a transform (like a rotation or scale) is relative to. This is especially important for SVG elements where you might want to rotate an object around its own center instead of the SVG's top-left corner.
97%Widely availableSets the anchor point for a transform. For example, if you rotate a square, 'transform-origin' decides if it spins around its center, one of its corners or even a point outside the square entirely.
97%Widely availableDetermines if child elements should be rendered 'flat' against their parent or if they should exist in their own 3D space. You need it for 3D scenes (like a rotating cube) where children share the same 3D space.
97%Widely availableA shorthand property that allows you to define the transition between two states of an element's properties, making the change smooth rather than instant.
97%Widely availableAllows you to enable transitions for properties that normally switch instantly, like 'display'. By setting it to 'allow-discrete', you can create entry and exit animations for elements that are removed from the DOM or hidden.
Snippet →93%Limited availabilitySets the amount of time to wait before starting a transition once it has been triggered. This is useful for staggered animations or making hover effects feel more intentional.
97%Widely availableSpecifies how long a transition should take to complete. A shorter duration makes changes feel snappy, while a longer one makes them feel smoother and slower.
97%Widely availableSpecifies which CSS properties should be animated during a transition. You can list specific properties like 'transform' or 'opacity' to ensure you aren't accidentally animating things that might hurt performance.
97%Widely availableDefines the 'curve' or speed of a transition over its duration. It determines if the animation starts slow, ends fast or follows a custom cubic-bezier path for more natural movement.
97%Widely availableAn individual transform property that moves an element in 2D or 3D space without needing the shorthand transform property.
96%Widely availableAn experimental property for scroll-driven animations. It defines how broadly a named timeline trigger is visible to other elements, allowing animations to be triggered by remote ancestors or descendants.
70%Limited availabilityProvides control over how the browser handles text that contains mixed directions (like English and Arabic). It works with the 'direction' property to ensure punctuation and character flow follow the correct logic for the specific language.
97%Widely availableControls whether the user can select text within an element. It is often used to prevent text selection on UI elements like buttons or icons.
97%Limited availabilitySpecifies a vector effect to be applied to an SVG shape. The most common value is 'non-scaling-stroke', which ensures that lines stay at the same thickness even when you scale up the entire SVG image.
97%Widely availableSets the vertical alignment of an inline or table-cell element. It's commonly used to align icons with text or to center content inside a table cell.
97%Widely availableA shorthand for defining a scroll timeline that is tied to when an element enters and leaves the visible part of the screen (the viewport). It's the core of modern 'reveal on scroll' animations.
89%Newly availableSpecifies the axis (vertical or horizontal) that a 'view-timeline' should follow. For most standard web pages, this is 'block' (vertical scrolling).
89%Newly availableAllows you to offset the 'start' and 'end' points of a view-timeline. This is useful if you want an animation to start before an element is fully on screen (e.g., when it's 20% visible) or continue after it has partially left.
89%Newly availableDefines a name for a view-timeline, which tracks an element's visibility within its scroll container. You can then use this name in your 'animation-timeline' property to trigger animations based on the element's position as you scroll.
89%Newly availableAllows you to apply names or 'classes' to specific view transitions. This makes it easier to target groups of elements with the same transition effects, rather than having to define them individually for every single element.
90%Newly availableThe core property for enabling view transitions on specific elements. By giving an element a 'view-transition-name', the browser will automatically track its position and size across page changes and animate the difference.
93%Newly availableKeeps the view-transition-name values on an element and inside it private to that element. With all, a view transition started on the document or on an ancestor won't pick them up. A transition started on the element itself, with element.startViewTransition(), still sees them. The default, none, changes nothing. It works in Chrome and Edge 147 and later so far.
68%Limited availabilityShows or hides an element without affecting the document layout. Unlike display: none, a hidden element still takes up space.
97%Widely availableControls how white space (spaces, tabs and newlines) inside an element is handled. It can be used to prevent text from wrapping or to preserve multiple spaces and line breaks.
97%Widely availableA modern property that gives you fine-grained control over how the browser 'collapses' multiple spaces into one. It is essentially the first part of the classic 'white-space' property, now split out for better control.
94%Widely availableSpecifies the minimum number of lines of a paragraph that must be left at the TOP of a new page or column when a page break occurs. It prevents lonely single lines from ending up on a new page by themselves.
94%Limited availabilitySets the width of an element. It can be defined in absolute units like pixels or relative units like percentages.
97%Widely availableTells the browser that an element is expected to change soon, allowing the browser to optimize for that change before it happens. Use it sparingly to improve performance for complex animations.
97%Widely availableMarks part of an installed web app as a handle for moving its window, like a title bar. move turns it on and the default, none, leaves it off. While someone drags there, the page gets no pointer, mouse or drag events from it. The value is inherited, so give buttons inside the bar window-drag: none. It works in Chrome and Edge 152 and later on desktop so far.
21%Limited availabilityControls whether words can break at arbitrary points. Values: normal, break-all, keep-all.
97%Widely availableAdjusts the amount of space between words in a block of text. This can be used to improve readability or to create specific typographic effects by tightening or loosening the text flow.
97%Widely availableDefines whether lines of text are laid out horizontally or vertically, and the direction in which blocks progress. Use it for vertical Chinese, Japanese or Mongolian text and for vertical labels in layouts.
97%Widely availableDirectly sets the horizontal position (the x-coordinate) of an SVG shape or element. It is the CSS equivalent of the 'x' attribute used in SVG files.
97%Widely availableDirectly sets the vertical position (the y-coordinate) of an SVG shape or element. It is the CSS equivalent of the 'y' attribute used in SVG files.
97%Widely availableSets the stack order of a positioned element. Elements with a higher z-index are always in front of an element with a lower z-index.
97%Widely availableA non-standard (but now widely supported) property that scales the entire element. While 'transform: scale()' is usually better for modern layouts, 'zoom' is still used for simple scaling without affecting the surrounding layout flow as much.
96%Widely availableNothing matches.