repo_id
stringlengths
22
103
file_path
stringlengths
41
147
content
stringlengths
181
193k
__index_level_0__
int64
0
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/webkit_extensions/index.md
--- title: "-webkit-prefixed CSS extensions" slug: Web/CSS/WebKit_Extensions page-type: landing-page status: - non-standard --- {{CSSRef}} User agents based on WebKit or Blink, such as Safari and Chrome, support several special extensions to [CSS](/en-US/docs/Web/CSS). These extensions are prefixed with `-webkit-`....
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/view-timeline/index.md
--- title: view-timeline slug: Web/CSS/view-timeline page-type: css-shorthand-property status: - experimental browser-compat: css.properties.view-timeline --- {{CSSRef}}{{SeeCompatTable}} The **`view-timeline`** [CSS](/en-US/docs/Web/CSS) [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) is used to def...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/revert-layer/index.md
--- title: revert-layer slug: Web/CSS/revert-layer page-type: css-keyword status: - experimental browser-compat: css.types.global_keywords.revert-layer --- {{CSSRef}}{{SeeCompatTable}} The **`revert-layer`** CSS keyword rolls back the value of a property in a {{cssxref("@layer", "cascade layer")}} to the value of t...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/min-inline-size/index.md
--- title: min-inline-size slug: Web/CSS/min-inline-size page-type: css-property browser-compat: css.properties.min-inline-size --- {{CSSRef}} The **`min-inline-size`** [CSS](/en-US/docs/Web/CSS) property defines the horizontal or vertical minimal size of an element's block, depending on its writing mode. It correspo...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_focus/index.md
--- title: ":focus" slug: Web/CSS/:focus page-type: css-pseudo-class browser-compat: css.selectors.focus --- {{CSSRef}} The **`:focus`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) represents an element (such as a form input) that has received focus. It is generally triggered when th...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/scroll-margin-bottom/index.md
--- title: scroll-margin-bottom slug: Web/CSS/scroll-margin-bottom page-type: css-property browser-compat: css.properties.scroll-margin-bottom --- {{CSSRef}} The `scroll-margin-bottom` property defines the bottom margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area i...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_seeking/index.md
--- title: ":seeking" slug: Web/CSS/:seeking page-type: css-pseudo-class browser-compat: css.selectors.seeking --- {{CSSRef}} The **`:seeking`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) selector represents an element that is playable, such as {{htmlelement("audio")}} or {{htmlelem...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/border-inline-end-color/index.md
--- title: border-inline-end-color slug: Web/CSS/border-inline-end-color page-type: css-property browser-compat: css.properties.border-inline-end-color --- {{CSSRef}} The **`border-inline-end-color`** [CSS](/en-US/docs/Web/CSS) property defines the color of the logical inline-end border of an element, which maps to a...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/text-align/index.md
--- title: text-align slug: Web/CSS/text-align page-type: css-property browser-compat: css.properties.text-align --- {{CSSRef}} The **`text-align`** [CSS](/en-US/docs/Web/CSS) property sets the horizontal alignment of the inline-level content inside a block element or table-cell box. This means it works like {{cssxre...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/border-bottom-width/index.md
--- title: border-bottom-width slug: Web/CSS/border-bottom-width page-type: css-property browser-compat: css.properties.border-bottom-width --- {{CSSRef}} The **`border-bottom-width`** [CSS](/en-US/docs/Web/CSS) property sets the width of the bottom border of an element. {{EmbedInteractiveExample("pages/css/border-b...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/border-bottom-style/index.md
--- title: border-bottom-style slug: Web/CSS/border-bottom-style page-type: css-property browser-compat: css.properties.border-bottom-style --- {{CSSRef}} The **`border-bottom-style`** [CSS](/en-US/docs/Web/CSS) property sets the line style of an element's bottom {{cssxref("border")}}. {{EmbedInteractiveExample("pag...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/border-bottom-left-radius/index.md
--- title: border-bottom-left-radius slug: Web/CSS/border-bottom-left-radius page-type: css-property browser-compat: css.properties.border-bottom-left-radius --- {{CSSRef}} The **`border-bottom-left-radius`** [CSS](/en-US/docs/Web/CSS) property rounds the bottom-left corner of an element by specifying the radius (or ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/filter-function/index.md
--- title: <filter-function> slug: Web/CSS/filter-function page-type: css-type browser-compat: css.types.filter-function --- {{CSSRef}} The **`<filter-function>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types) represents a graphical effect that can change the appearance of an input image. It i...
0
data/mdn-content/files/en-us/web/css/filter-function
data/mdn-content/files/en-us/web/css/filter-function/drop-shadow/index.md
--- title: drop-shadow() slug: Web/CSS/filter-function/drop-shadow page-type: css-function browser-compat: css.types.filter-function.drop-shadow --- {{CSSRef}} The **`drop-shadow()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) applies a drop shadow effect to the input image. Its result i...
0
data/mdn-content/files/en-us/web/css/filter-function
data/mdn-content/files/en-us/web/css/filter-function/opacity/index.md
--- title: opacity() slug: Web/CSS/filter-function/opacity page-type: css-function browser-compat: css.types.filter-function.opacity --- {{CSSRef}} The **`opacity()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) applies transparency to the samples in the input image. Its result is a {{css...
0
data/mdn-content/files/en-us/web/css/filter-function
data/mdn-content/files/en-us/web/css/filter-function/grayscale/index.md
--- title: grayscale() slug: Web/CSS/filter-function/grayscale page-type: css-function browser-compat: css.types.filter-function.grayscale --- {{CSSRef}} The **`grayscale()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) converts the input image to grayscale. Its result is a {{cssxref("&lt...
0
data/mdn-content/files/en-us/web/css/filter-function
data/mdn-content/files/en-us/web/css/filter-function/brightness/index.md
--- title: brightness() slug: Web/CSS/filter-function/brightness page-type: css-function browser-compat: css.types.filter-function.brightness --- {{CSSRef}} The **`brightness()`** [CSS](/en-US/docs/Web/CSS) {{cssxref("&lt;filter-function&gt;")}} applies a linear multiplier value on an element or an input image, makin...
0
data/mdn-content/files/en-us/web/css/filter-function
data/mdn-content/files/en-us/web/css/filter-function/hue-rotate/index.md
--- title: hue-rotate() slug: Web/CSS/filter-function/hue-rotate page-type: css-function browser-compat: css.types.filter-function.hue-rotate --- {{CSSRef}} The **`hue-rotate()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) rotates the [hue](https://en.wikipedia.org/wiki/Hue) of an elemen...
0
data/mdn-content/files/en-us/web/css/filter-function
data/mdn-content/files/en-us/web/css/filter-function/sepia/index.md
--- title: sepia() slug: Web/CSS/filter-function/sepia page-type: css-function browser-compat: css.types.filter-function.sepia --- {{CSSRef}} The **`sepia()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) converts the input image to sepia, giving it a warmer, more yellow/brown appearance. ...
0
data/mdn-content/files/en-us/web/css/filter-function
data/mdn-content/files/en-us/web/css/filter-function/saturate/index.md
--- title: saturate() slug: Web/CSS/filter-function/saturate page-type: css-function browser-compat: css.types.filter-function.saturate --- {{CSSRef}} The **`saturate()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) super-saturates or desaturates the input image. Its result is a {{cssxref...
0
data/mdn-content/files/en-us/web/css/filter-function
data/mdn-content/files/en-us/web/css/filter-function/contrast/index.md
--- title: contrast() slug: Web/CSS/filter-function/contrast page-type: css-function browser-compat: css.types.filter-function.contrast --- {{CSSRef}} The **`contrast()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) adjusts the contrast of the input image. Its result is a {{cssxref("&lt;f...
0
data/mdn-content/files/en-us/web/css/filter-function
data/mdn-content/files/en-us/web/css/filter-function/blur/index.md
--- title: blur() slug: Web/CSS/filter-function/blur page-type: css-function browser-compat: css.types.filter-function.blur --- {{CSSRef}} The **`blur()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) applies a [Gaussian blur](https://en.wikipedia.org/wiki/Gaussian_blur) to the input image...
0
data/mdn-content/files/en-us/web/css/filter-function
data/mdn-content/files/en-us/web/css/filter-function/invert/index.md
--- title: invert() slug: Web/CSS/filter-function/invert page-type: css-function browser-compat: css.types.filter-function.invert --- {{CSSRef}} The **`invert()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) inverts the color samples in the input image. Its result is a {{cssxref("&lt;filt...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/text-shadow/index.md
--- title: text-shadow slug: Web/CSS/text-shadow page-type: css-property browser-compat: css.properties.text-shadow --- {{CSSRef}} The **`text-shadow`** CSS property adds shadows to text. It accepts a comma-separated list of shadows to be applied to the text and any of its [`decorations`](/en-US/docs/Web/CSS/text-dec...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/hue/index.md
--- title: <hue> slug: Web/CSS/hue page-type: css-type browser-compat: - css.types.color.hsl - css.types.color.hwb - css.types.color.lch - css.types.color.oklch spec-urls: https://drafts.csswg.org/css-color/#typedef-hue --- {{CSSRef}} The **`<hue>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/hue/color_wheel.svg
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400"> <style> text { font: 20px sans-serif; } div { border-radius: 50%; height: 100%; width: 100%; background: conic-gradient(red, #ff0, green, #0ff, blue, #f0f, red); } </style> <path fill="#fff" d="M0 0h40...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/css_table/index.md
--- title: CSS table slug: Web/CSS/CSS_table page-type: css-module spec-urls: https://www.w3.org/TR/CSS22/tables.html --- {{CSSRef}} The **CSS table** module helps you define how to lay out table data. ## Reference ### Properties - {{cssxref("border-collapse")}} - {{cssxref("border-spacing")}} - {{cssxref("caption...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/row-gap/index.md
--- title: row-gap slug: Web/CSS/row-gap page-type: css-property browser-compat: css.properties.row-gap --- {{CSSRef}} The **`row-gap`** [CSS](/en-US/docs/Web/CSS) property sets the size of the gap ({{glossary("gutters","gutter")}}) between an element's rows. Early versions of the specification called this property ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/scroll-behavior/index.md
--- title: scroll-behavior slug: Web/CSS/scroll-behavior page-type: css-property browser-compat: css.properties.scroll-behavior --- {{CSSRef}} The **`scroll-behavior`** [CSS](/en-US/docs/Web/CSS) property sets the behavior for a scrolling box when scrolling is triggered by the navigation or CSSOM scrolling APIs. {{E...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/border-top-left-radius/index.md
--- title: border-top-left-radius slug: Web/CSS/border-top-left-radius page-type: css-property browser-compat: css.properties.border-top-left-radius --- {{CSSRef}} The **`border-top-left-radius`** [CSS](/en-US/docs/Web/CSS) property rounds the top-left corner of an element by specifying the radius (or the radius of t...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_doublecolon_-moz-list-number/index.md
--- title: "::-moz-list-number" slug: Web/CSS/::-moz-list-number page-type: css-pseudo-element status: - non-standard --- {{CSSRef}}{{Non-standard_header}} The **`::-moz-list-number`** [CSS](/en-US/docs/Web/CSS) [pseudo-element](/en-US/docs/Web/CSS/Pseudo-elements) is a [Mozilla extension](/en-US/docs/Web/CSS/Mozil...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/string/index.md
--- title: <string> slug: Web/CSS/string page-type: css-type browser-compat: css.types.string --- {{CSSRef}} The **`<string>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types) represents a sequence of characters. Strings are used in numerous CSS properties, such as {{CSSxRef("content")}}, {{CSSx...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/overflow-block/index.md
--- title: overflow-block slug: Web/CSS/overflow-block page-type: css-property browser-compat: css.properties.overflow-block --- {{CSSRef}} The **`overflow-block`** [CSS](/en-US/docs/Web/CSS) property sets what shows when content overflows the block start and block end edges of a box. This may be nothing, a scroll ba...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/css_multicol_layout/index.md
--- title: CSS multi-column layout slug: Web/CSS/CSS_multicol_layout page-type: css-module spec-urls: https://drafts.csswg.org/css-multicol/ --- {{CSSRef}} The **CSS multi-column layout** module lets you divide content across multiple columns. By using the properties in this module, you can define the preferred number...
0
data/mdn-content/files/en-us/web/css/css_multicol_layout
data/mdn-content/files/en-us/web/css/css_multicol_layout/using_multicol_layouts/index.md
--- title: Using multi-column layouts slug: Web/CSS/CSS_multicol_layout/Using_multicol_layouts page-type: guide --- {{CSSRef}} The properties defined in the **CSS multi-column layout module** extend the _block layout mode_ , enabling the easy definition of multiple columns of text. People have trouble reading text if...
0
data/mdn-content/files/en-us/web/css/css_multicol_layout
data/mdn-content/files/en-us/web/css/css_multicol_layout/handling_content_breaks_in_multicol_layout/index.md
--- title: Handling content breaks in multi-column layout slug: Web/CSS/CSS_multicol_layout/Handling_content_breaks_in_multicol_layout page-type: guide --- {{CSSRef}} Content between column boxes in a multicol layout breaks in the same way that it breaks between pages in paged media. In both contexts, you can control...
0
data/mdn-content/files/en-us/web/css/css_multicol_layout
data/mdn-content/files/en-us/web/css/css_multicol_layout/basic_concepts/index.md
--- title: Basic concepts of multi-column layout slug: Web/CSS/CSS_multicol_layout/Basic_concepts page-type: guide --- {{CSSRef}} Multi-column layout, usually referred to as multicol layout, is a specification for laying out content into a set of column boxes much like columns in a newspaper. This guide explains how ...
0
data/mdn-content/files/en-us/web/css/css_multicol_layout
data/mdn-content/files/en-us/web/css/css_multicol_layout/handling_overflow_in_multicol_layout/index.md
--- title: Handling overflow in multi-column layout slug: Web/CSS/CSS_multicol_layout/Handling_overflow_in_multicol_layout page-type: guide --- {{CSSRef}} In this guide, we look at how to deal with overflow in a multi-column (_multicol_) layout, both inside the column boxes and in situations where there is more conte...
0
data/mdn-content/files/en-us/web/css/css_multicol_layout
data/mdn-content/files/en-us/web/css/css_multicol_layout/spanning_balancing_columns/index.md
--- title: Spanning and balancing columns slug: Web/CSS/CSS_multicol_layout/Spanning_balancing_columns page-type: guide --- {{CSSRef}} In this guide, we look at how to make elements span across columns inside the multi-column (_multicol_) container and how to control how the columns are filled. ## Spanning the colum...
0
data/mdn-content/files/en-us/web/css/css_multicol_layout
data/mdn-content/files/en-us/web/css/css_multicol_layout/styling_columns/index.md
--- title: Styling columns slug: Web/CSS/CSS_multicol_layout/Styling_columns page-type: guide --- {{CSSRef}} As column boxes created inside multi-column (_multicol_) containers are anonymous boxes, styling individual columns is not possible, but we can style the gaps between the columns and the container in general. ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/scroll-padding-right/index.md
--- title: scroll-padding-right slug: Web/CSS/scroll-padding-right page-type: css-property browser-compat: css.properties.scroll-padding-right --- {{CSSRef}} The `scroll-padding-right` property defines offsets for the right of the _optimal viewing region_ of the scrollport: the region used as the target region for pl...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/border-block-end-style/index.md
--- title: border-block-end-style slug: Web/CSS/border-block-end-style page-type: css-property browser-compat: css.properties.border-block-end-style --- {{CSSRef}} The **`border-block-end-style`** [CSS](/en-US/docs/Web/CSS) property defines the style of the logical block-end border of an element, which maps to a phys...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/shorthand_properties/index.md
--- title: Shorthand properties slug: Web/CSS/Shorthand_properties page-type: guide --- {{CSSRef}} **_Shorthand properties_** are CSS properties that let you set the values of multiple other CSS properties simultaneously. Using a shorthand property, you can write more concise (and often more readable) style sheets, s...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_doublecolon_selection/index.md
--- title: "::selection" slug: Web/CSS/::selection page-type: css-pseudo-element browser-compat: css.selectors.selection --- {{CSSRef}} The **`::selection`** CSS [pseudo-element](/en-US/docs/Web/CSS/Pseudo-elements) applies styles to the part of a document that has been highlighted by the user (such as clicking and d...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_-moz-drag-over/index.md
--- title: ":-moz-drag-over" slug: Web/CSS/:-moz-drag-over page-type: css-pseudo-class status: - non-standard browser-compat: css.selectors:-moz-drag-over --- {{CSSRef}}{{Non-standard_header}} The **`:-moz-drag-over`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) is a [Mozilla exten...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_muted/index.md
--- title: ":muted" slug: Web/CSS/:muted page-type: css-pseudo-class browser-compat: css.selectors.muted --- {{CSSRef}} The **`:muted`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) selector represents an element that is capable of making sound, such as {{htmlelement("audio")}} or {{h...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_doublecolon_-moz-range-progress/index.md
--- title: "::-moz-range-progress" slug: Web/CSS/::-moz-range-progress page-type: css-pseudo-element status: - non-standard browser-compat: css.selectors.-moz-range-progress --- {{CSSRef}}{{Non-standard_header}} The **`::-moz-range-progress`** [CSS](/en-US/docs/Web/CSS) [pseudo-element](/en-US/docs/Web/CSS/Pseudo-e...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/animation/index.md
--- title: animation slug: Web/CSS/animation page-type: css-shorthand-property browser-compat: css.properties.animation --- {{CSSRef}} The **`animation`** [shorthand](/en-US/docs/Web/CSS/Shorthand_properties) [CSS](/en-US/docs/Web/CSS) property applies an animation between styles. It is a shorthand for {{cssxref("ani...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/line-break/index.md
--- title: line-break slug: Web/CSS/line-break page-type: css-property browser-compat: css.properties.line-break --- {{CSSRef}} The **`line-break`** CSS property sets how to break lines of Chinese, Japanese, or Korean (CJK) text when working with punctuation and symbols. {{EmbedInteractiveExample("pages/css/line-bre...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/frequency-percentage/index.md
--- title: <frequency-percentage> slug: Web/CSS/frequency-percentage page-type: css-type browser-compat: css.types.frequency-percentage --- {{CSSRef}} The **`<frequency-percentage>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types) represents a value that can be either a {{Cssxref("frequency")}}...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/paint-order/index.md
--- title: paint-order slug: Web/CSS/paint-order page-type: css-property browser-compat: css.properties.paint-order --- {{CSSRef}} The **`paint-order`** [CSS](/en-US/docs/Web/CSS) property lets you control the order in which the fill and stroke (and painting markers) of text content and shapes are drawn. ## Syntax ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/mask-position/index.md
--- title: mask-position slug: Web/CSS/mask-position page-type: css-property browser-compat: css.properties.mask-position --- {{CSSRef}} The **`mask-position`** [CSS](/en-US/docs/Web/CSS) property sets the initial position, relative to the mask position layer set by {{cssxref("mask-origin")}}, for each defined mask i...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/box-decoration-break/index.md
--- title: box-decoration-break slug: Web/CSS/box-decoration-break page-type: css-property browser-compat: css.properties.box-decoration-break --- {{CSSRef}} The **`box-decoration-break`** [CSS](/en-US/docs/Web/CSS) property specifies how an element's [fragments](/en-US/docs/Web/CSS/CSS_fragmentation) should be rende...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/unset/index.md
--- title: unset slug: Web/CSS/unset page-type: css-keyword browser-compat: css.types.global_keywords.unset --- {{CSSRef}} The **`unset`** CSS keyword resets a property to its inherited value if the property naturally inherits from its parent, and to its [initial value](/en-US/docs/Web/CSS/initial_value) if not. In o...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/transition-property/index.md
--- title: transition-property slug: Web/CSS/transition-property page-type: css-property browser-compat: css.properties.transition-property --- {{CSSRef}} The **`transition-property`** [CSS](/en-US/docs/Web/CSS) property sets the CSS properties to which a [transition effect](/en-US/docs/Web/CSS/CSS_transitions/Using_...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/time/index.md
--- title: <time> slug: Web/CSS/time page-type: css-type browser-compat: css.types.time --- {{CSSRef}} The **`<time>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types) represents a time value expressed in seconds or milliseconds. It is used in {{cssxref("animation")}}, {{cssxref("transition")}},...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/text-wrap/index.md
--- title: text-wrap slug: Web/CSS/text-wrap page-type: css-property browser-compat: css.properties.text-wrap --- {{CSSRef}} The **`text-wrap`** CSS property controls how text inside an element is wrapped. The different values provide: - Typographic improvements, for example more balanced line lengths across broken ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/caption-side/index.md
--- title: caption-side slug: Web/CSS/caption-side page-type: css-property browser-compat: css.properties.caption-side --- {{CSSRef}} The **`caption-side`** [CSS](/en-US/docs/Web/CSS) property puts the content of a table's {{HTMLElement("caption")}} on the specified side. The values are relative to the {{cssxref('wri...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_nth-child/index.md
--- title: ":nth-child()" slug: Web/CSS/:nth-child page-type: css-pseudo-class browser-compat: css.selectors.nth-child --- {{CSSRef}} The **`:nth-child()`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) matches elements based on the indexes of the elements in the child list of their pa...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/scroll-margin-top/index.md
--- title: scroll-margin-top slug: Web/CSS/scroll-margin-top page-type: css-property browser-compat: css.properties.scroll-margin-top --- {{CSSRef}} The `scroll-margin-top` property defines the top margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_past/index.md
--- title: ":past" slug: Web/CSS/:past page-type: css-pseudo-class browser-compat: css.selectors.past --- {{CSSRef}} The **`:past`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) selector is a time-dimensional pseudo-class that will match for any element which appears entirely before a...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/display-internal/index.md
--- title: <display-internal> slug: Web/CSS/display-internal page-type: css-type browser-compat: - css.properties.display.table_values - css.properties.display.ruby_values --- {{CSSRef}} Some layout models such as `table` and `ruby` have a complex internal structure, with several different roles that their childr...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_lang/index.md
--- title: ":lang()" slug: Web/CSS/:lang page-type: css-pseudo-class browser-compat: css.selectors.lang --- {{CSSRef}} The **`:lang()`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) matches elements based on the language they are determined to be in. {{EmbedInteractiveExample("pages/...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/counters/index.md
--- title: counters() slug: Web/CSS/counters page-type: css-function browser-compat: css.types.counters --- {{CSSRef}} The **`counters()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) enables combining markers when nesting counters. The function returns a string that concatenates the curr...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/ident/index.md
--- title: <ident> slug: Web/CSS/ident page-type: css-type spec-urls: https://drafts.csswg.org/css-values/#css-identifier --- {{CSSRef}} The **`<ident>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types) denotes an arbitrary string used as an {{glossary("identifier")}}. ## Syntax The syntax of ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/text-combine-upright/index.md
--- title: text-combine-upright slug: Web/CSS/text-combine-upright page-type: css-property browser-compat: css.properties.text-combine-upright --- {{CSSRef}} The **`text-combine-upright`** [CSS](/en-US/docs/Web/CSS) property sets the combination of characters into the space of a single character. If the combined text...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/background-origin/index.md
--- title: background-origin slug: Web/CSS/background-origin page-type: css-property browser-compat: css.properties.background-origin --- {{CSSRef}} The **`background-origin`** [CSS](/en-US/docs/Web/CSS) property sets the background's origin: from the border start, inside the border, or inside the padding. {{EmbedIn...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/grid-template-columns/index.md
--- title: grid-template-columns slug: Web/CSS/grid-template-columns page-type: css-property browser-compat: css.properties.grid-template-columns --- {{CSSRef}} The **`grid-template-columns`** CSS property defines the line names and track sizing functions of the {{glossary("grid column", "grid columns")}}. {{EmbedIn...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/clamp/index.md
--- title: clamp() slug: Web/CSS/clamp page-type: css-function browser-compat: css.types.clamp --- {{CSSRef}} The **`clamp()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) clamps a middle value within a range of values between a defined minimum bound and a maximum bound. The function take...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/css_miscellaneous/index.md
--- title: CSS miscellaneous slug: Web/CSS/CSS_miscellaneous page-type: css-module --- {{CSSRef}} These pages contain CSS properties that are supported by browsers but either aren't included in a CSS specification, don't fit into any other CSS categories, or are experimental. ## Reference ### Properties - {{cssxre...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/break-before/index.md
--- title: break-before slug: Web/CSS/break-before page-type: css-property browser-compat: css.properties.break-before --- {{CSSRef}} The **`break-before`** [CSS](/en-US/docs/Web/CSS) property sets how page, column, or region breaks should behave before a generated box. If there is no generated box, the property is i...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/hex-color/index.md
--- title: <hex-color> slug: Web/CSS/hex-color page-type: css-type browser-compat: css.types.color.rgb_hexadecimal_notation --- {{CSSRef}} The **`<hex-color>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types) is a notation for describing the _hexadecimal color syntax_ of an [sRGB](/en-US/docs/Gl...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/css_animations/index.md
--- title: CSS animations slug: Web/CSS/CSS_animations page-type: css-module spec-urls: - https://drafts.csswg.org/css-animations-2/ - https://drafts.csswg.org/css-animations/ --- {{CSSRef}} The **CSS animations** module lets you animate the values of CSS properties, such as background-position and transform, ove...
0
data/mdn-content/files/en-us/web/css/css_animations
data/mdn-content/files/en-us/web/css/css_animations/using_css_animations/index.md
--- title: Using CSS animations slug: Web/CSS/CSS_animations/Using_CSS_animations page-type: guide --- {{CSSRef}} **CSS animations** make it possible to animate transitions from one CSS style configuration to another. Animations consist of two components, a style describing the CSS animation and a set of keyframes th...
0
data/mdn-content/files/en-us/web/css/css_animations
data/mdn-content/files/en-us/web/css/css_animations/tips/index.md
--- title: CSS animation tips and tricks slug: Web/CSS/CSS_animations/Tips page-type: guide --- {{CSSRef}} CSS animations make it possible to do incredible things with the elements that make up your documents and apps. However, there are things you might want to do that aren't obvious, or clever ways to do things tha...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/text-indent/index.md
--- title: text-indent slug: Web/CSS/text-indent page-type: css-property browser-compat: css.properties.text-indent --- {{CSSRef}} The **`text-indent`** CSS property sets the length of empty space (indentation) that is put before lines of text in a block. {{EmbedInteractiveExample("pages/css/text-indent.html")}} Ho...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_doublecolon_-webkit-search-results-button/index.md
--- title: "::-webkit-search-results-button" slug: Web/CSS/::-webkit-search-results-button page-type: css-pseudo-element status: - non-standard browser-compat: css.selectors.-webkit-search-results-button --- {{CSSRef}}{{Non-standard_header}} The **`::-webkit-search-results-button`** CSS [pseudo-element](/en-US/docs...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_default/index.md
--- title: ":default" slug: Web/CSS/:default page-type: css-pseudo-class browser-compat: css.selectors.default --- {{CSSRef}} The **`:default`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) selects form elements that are the default in a group of related elements. {{EmbedInteractiveE...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/margin-right/index.md
--- title: margin-right slug: Web/CSS/margin-right page-type: css-property browser-compat: css.properties.margin-right --- {{CSSRef}} The **`margin-right`** [CSS](/en-US/docs/Web/CSS) property sets the [margin area](/en-US/docs/Web/CSS/CSS_box_model/Introduction_to_the_CSS_box_model#margin_area) on the right side of ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_-moz-only-whitespace/index.md
--- title: ":-moz-only-whitespace" slug: Web/CSS/:-moz-only-whitespace page-type: css-pseudo-class status: - non-standard browser-compat: css.selectors.-moz-only-whitespace --- {{CSSRef}}{{Non-standard_header}} > **Note:** In [Selectors Level 4](https://drafts.csswg.org/selectors-4/#the-empty-pseudo), the {{CSSxRef...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/margin-bottom/index.md
--- title: margin-bottom slug: Web/CSS/margin-bottom page-type: css-property browser-compat: css.properties.margin-bottom --- {{CSSRef}} The **`margin-bottom`** [CSS](/en-US/docs/Web/CSS) property sets the [margin area](/en-US/docs/Web/CSS/CSS_box_model/Introduction_to_the_CSS_box_model#margin_area) on the bottom of ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/margin-bottom/margin-bottom.svg
<svg baseProfile="full" xmlns="http://www.w3.org/2000/svg" width="400" height="130"><defs><pattern id="a" patternUnits="userSpaceOnUse" x="0" y="0" width="105" height="105"><path d="m0 90 15 15M0 75l30 30M0 60l45 45M0 45l60 60M0 30l75 75M0 15l90 90M0 0l105 105M15 0l90 90M30 0l75 75M45 0l60 60M60 0l45 45M75 0l30 30M90 0...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/mask-border-mode/index.md
--- title: mask-border-mode slug: Web/CSS/mask-border-mode page-type: css-property spec-urls: https://drafts.fxtf.org/css-masking-1/#the-mask-border-mode --- {{CSSRef}} The **`mask-border-mode`** [CSS](/en-US/docs/Web/CSS) property specifies the blending mode used in a [mask border](/en-US/docs/Web/CSS/mask-border). ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/-webkit-overflow-scrolling/index.md
--- title: "-webkit-overflow-scrolling" slug: Web/CSS/-webkit-overflow-scrolling page-type: css-property status: - non-standard browser-compat: css.properties.-webkit-overflow-scrolling --- {{CSSRef}} {{Non-standard_header}} The `-webkit-overflow-scrolling` [CSS](/en-US/docs/Web/CSS) property controls whether or no...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_stalled/index.md
--- title: ":stalled" slug: Web/CSS/:stalled page-type: css-pseudo-class browser-compat: css.selectors.stalled --- {{CSSRef}} The **`:stalled`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) selector represents an element that is playable, such as {{htmlelement("audio")}} or {{htmlelem...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/max/index.md
--- title: max() slug: Web/CSS/max page-type: css-function browser-compat: css.types.max --- {{CSSRef}} The **`max()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) lets you set the largest (most positive) value from a list of comma-separated expressions as the value of a CSS property valu...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/font-variant/index.md
--- title: font-variant slug: Web/CSS/font-variant page-type: css-shorthand-property browser-compat: css.properties.font-variant --- {{CSSRef}} The **`font-variant`** CSS [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) allows you to set all the font variants for a font. You can also set the `<font-var...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/descendant_combinator/index.md
--- title: Descendant combinator slug: Web/CSS/Descendant_combinator page-type: css-combinator browser-compat: css.selectors.descendant --- {{CSSRef}} The **descendant combinator** — typically represented by a single space (" ") character — combines two selectors such that elements matched by the second selector are ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/padding-top/index.md
--- title: padding-top slug: Web/CSS/padding-top page-type: css-property browser-compat: css.properties.padding-top --- {{CSSRef}} The **`padding-top`** [CSS](/en-US/docs/Web/CSS) property sets the height of the [padding area](/en-US/docs/Web/CSS/CSS_box_model/Introduction_to_the_CSS_box_model#padding_area) on the to...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/padding-top/padding-top.svg
<svg baseProfile="full" xmlns="http://www.w3.org/2000/svg" width="400" height="130"><defs><pattern id="a" patternUnits="userSpaceOnUse" x="0" y="0" width="105" height="105"><path d="m0 90 15 15M0 75l30 30M0 60l45 45M0 45l60 60M0 30l75 75M0 15l90 90M0 0l105 105M15 0l90 90M30 0l75 75M45 0l60 60M60 0l45 45M75 0l30 30M90 0...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_host_function/index.md
--- title: ":host()" slug: Web/CSS/:host_function page-type: css-pseudo-class browser-compat: css.selectors.hostfunction --- {{CSSRef}} The **`:host()`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) function selects the shadow host of the [shadow DOM](/en-US/docs/Web/API/Web_component...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/filter/index.md
--- title: filter slug: Web/CSS/filter page-type: css-property browser-compat: css.properties.filter --- {{CSSRef}} The **`filter`** [CSS](/en-US/docs/Web/CSS) property applies graphical effects like blur or color shift to an element. Filters are commonly used to adjust the rendering of images, backgrounds, and borde...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/animation-direction/index.md
--- title: animation-direction slug: Web/CSS/animation-direction page-type: css-property browser-compat: css.properties.animation-direction --- {{CSSRef}} The **`animation-direction`** [CSS](/en-US/docs/Web/CSS) property sets whether an animation should play forward, backward, or alternate back and forth between play...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/containing_block/index.md
--- title: Layout and the containing block slug: Web/CSS/Containing_block page-type: guide --- {{CSSRef}} The size and position of an element are often impacted by its **containing block**. Most often, the containing block is the [content area](/en-US/docs/Web/CSS/CSS_box_model/Introduction_to_the_CSS_box_model#conte...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/font-palette/index.md
--- title: font-palette slug: Web/CSS/font-palette page-type: css-property browser-compat: css.properties.font-palette --- {{CSSRef}} The **`font-palette`** [CSS](/en-US/docs/Web/CSS) property allows specifying one of the many palettes contained in a font that a user agent should use for the font. Users can also over...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/scroll-margin-left/index.md
--- title: scroll-margin-left slug: Web/CSS/scroll-margin-left page-type: css-property browser-compat: css.properties.scroll-margin-left --- {{CSSRef}} The `scroll-margin-left` property defines the left margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determin...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/animation-timing-function/index.md
--- title: animation-timing-function slug: Web/CSS/animation-timing-function page-type: css-property browser-compat: css.properties.animation-timing-function --- {{CSSRef}} The **`animation-timing-function`** [CSS](/en-US/docs/Web/CSS) property sets how an animation progresses through the duration of each cycle. {{E...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/column-rule/index.md
--- title: column-rule slug: Web/CSS/column-rule page-type: css-shorthand-property browser-compat: css.properties.column-rule --- {{CSSRef}} The **`column-rule`** [shorthand](/en-US/docs/Web/CSS/Shorthand_properties) [CSS](/en-US/docs/Web/CSS) property sets the width, style, and color of the line drawn between column...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/border-block-start-color/index.md
--- title: border-block-start-color slug: Web/CSS/border-block-start-color page-type: css-property browser-compat: css.properties.border-block-start-color --- {{CSSRef}} The **`border-block-start-color`** [CSS](/en-US/docs/Web/CSS) property defines the color of the logical block-start border of an element, which maps...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/color-interpolation-method/index.md
--- title: <color-interpolation-method> slug: Web/CSS/color-interpolation-method page-type: css-type browser-compat: - css.types.color.color-mix - css.types.image.gradient.conic-gradient.interpolation_color_space - css.types.image.gradient.linear-gradient.interpolation_color_space - css.types.image.gradient.rad...
0