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/-moz-force-broken-image-icon/index.md
--- title: "-moz-force-broken-image-icon" slug: Web/CSS/-moz-force-broken-image-icon page-type: css-property status: - deprecated - non-standard browser-compat: css.properties.-moz-force-broken-image-icon --- {{Non-standard_header}}{{CSSRef}}{{Deprecated_Header}} The **`-moz-force-broken-image-icon`** extended CS...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/calc-sum/index.md
--- title: <calc-sum> slug: Web/CSS/calc-sum page-type: css-type browser-compat: css.types.calc-sum --- {{CSSRef}} The **`<calc-sum>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types) represents an expression which performs a calculation in any [CSS math function](/en-US/docs/Web/CSS/CSS_Functio...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/backdrop-filter/index.md
--- title: backdrop-filter slug: Web/CSS/backdrop-filter page-type: css-property browser-compat: css.properties.backdrop-filter --- {{CSSRef}} The **`backdrop-filter`** [CSS](/en-US/docs/Web/CSS) property lets you apply graphical effects such as blurring or color shifting to the area behind an element. Because it app...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/font-variant-ligatures/index.md
--- title: font-variant-ligatures slug: Web/CSS/font-variant-ligatures page-type: css-property browser-compat: css.properties.font-variant-ligatures --- {{CSSRef}} The **`font-variant-ligatures`** CSS property controls which {{Glossary("ligature", "ligatures")}} and {{Glossary("contextual forms")}} are used in textua...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/relative-size/index.md
--- title: <relative-size> slug: Web/CSS/relative-size page-type: css-type spec-urls: https://drafts.csswg.org/css-fonts/#valdef-font-size-relative-size --- {{CSSRef}} The **`<relative-size>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types) describes relative size keywords. The `<relative-size>...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/viewport_concepts/index.md
--- title: Viewport concepts slug: Web/CSS/Viewport_concepts page-type: guide --- {{CSSRef}} This article explains the concept of the viewport — what it is, its impact in terms of CSS, SVG, and mobile devices — and differentiates between the visual viewport and the layout viewport. ## What is a viewport? A viewport...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_doublecolon_-webkit-search-cancel-button/index.md
--- title: "::-webkit-search-cancel-button" slug: Web/CSS/::-webkit-search-cancel-button page-type: css-pseudo-element status: - non-standard browser-compat: css.selectors.-webkit-search-cancel-button --- {{CSSRef}}{{Non-standard_header}} The **`::-webkit-search-cancel-button`** CSS [pseudo-element](/en-US/docs/Web...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/left/index.md
--- title: left slug: Web/CSS/left page-type: css-property browser-compat: css.properties.left --- {{CSSRef}} The **`left`** [CSS](/en-US/docs/Web/CSS) property participates in specifying the horizontal position of a [positioned element](/en-US/docs/Web/CSS/position). It has no effect on non-positioned elements. {{E...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/@keyframes/index.md
--- title: "@keyframes" slug: Web/CSS/@keyframes page-type: css-at-rule browser-compat: css.at-rules.keyframes --- {{CSSRef}} The **`@keyframes`** CSS [at-rule](/en-US/docs/Web/CSS/At-rule) controls the intermediate steps in a CSS animation sequence by defining styles for keyframes (or waypoints) along the animation ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/inset-inline/index.md
--- title: inset-inline slug: Web/CSS/inset-inline page-type: css-shorthand-property browser-compat: css.properties.inset-inline --- {{CSSRef}} The **`inset-inline`** [CSS](/en-US/docs/Web/CSS) property defines the logical start and end offsets of an element in the inline direction, which maps to physical offsets dep...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/container/index.md
--- title: container slug: Web/CSS/container page-type: css-shorthand-property browser-compat: css.properties.container --- {{CSSRef}} The **container** [shorthand](/en-US/docs/Web/CSS/Shorthand_properties) [CSS](/en-US/docs/Web/CSS) property establishes the element as a query container and specifies the name and typ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/border-left/index.md
--- title: border-left slug: Web/CSS/border-left page-type: css-shorthand-property browser-compat: css.properties.border-left --- {{CSSRef}} The **`border-left`** [shorthand](/en-US/docs/Web/CSS/Shorthand_properties) [CSS](/en-US/docs/Web/CSS) property sets all the properties of an element's left [border](/en-US/docs...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/initial_value/index.md
--- title: Initial value slug: Web/CSS/initial_value page-type: guide spec-urls: https://www.w3.org/TR/CSS22/cascade.html#specified-value --- {{CSSRef}} The **initial value** of a [CSS](/en-US/docs/Web/CSS) property is its default value, as listed in its definition table in the specification. The usage of the initial...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/justify-self/index.md
--- title: justify-self slug: Web/CSS/justify-self page-type: css-property browser-compat: css.properties.justify-self --- {{CSSRef}} The [CSS](/en-US/docs/Web/CSS) **`justify-self`** property sets the way a box is justified inside its alignment container along the appropriate axis. {{EmbedInteractiveExample("pages/...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/grid-template-rows/index.md
--- title: grid-template-rows slug: Web/CSS/grid-template-rows page-type: css-property browser-compat: css.properties.grid-template-rows --- {{CSSRef}} The **`grid-template-rows`** CSS property defines the line names and track sizing functions of the {{glossary("grid_row", "grid rows")}}. {{EmbedInteractiveExample("...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/css_writing_modes/index.md
--- title: CSS writing modes slug: Web/CSS/CSS_writing_modes page-type: css-module spec-urls: https://drafts.csswg.org/css-writing-modes/ --- {{CSSRef}} The **CSS writing modes** module defines various international writing modes, such as left-to-right (e.g., used by Latin and Indic scripts), right-to-left (e.g., use...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/css_positioned_layout/index.md
--- title: CSS positioned layout slug: Web/CSS/CSS_positioned_layout page-type: css-module spec-urls: https://drafts.csswg.org/css-position/ --- {{CSSRef}} The **CSS positioned layout** module defines how to position elements on a web page. ## Reference ### Properties - {{cssxref("top")}} - {{cssxref("right")}} - ...
0
data/mdn-content/files/en-us/web/css/css_positioned_layout
data/mdn-content/files/en-us/web/css/css_positioned_layout/understanding_z-index/index.md
--- title: Understanding z-index slug: Web/CSS/CSS_positioned_layout/Understanding_z-index page-type: guide --- {{CSSRef}} In the most basic cases, [HTML](/en-US/docs/Web/HTML) pages can be considered two-dimensional, because text, images, and other elements are arranged on the page without overlapping. In this case,...
0
data/mdn-content/files/en-us/web/css/css_positioned_layout/understanding_z-index
data/mdn-content/files/en-us/web/css/css_positioned_layout/understanding_z-index/stacking_context/index.md
--- title: Stacking context slug: Web/CSS/CSS_positioned_layout/Understanding_z-index/Stacking_context page-type: guide --- {{CSSRef}} **Stacking context** is a three-dimensional conceptualization of HTML elements along an imaginary z-axis relative to the user, who is assumed to be facing the viewport or the webpage....
0
data/mdn-content/files/en-us/web/css/css_positioned_layout/understanding_z-index
data/mdn-content/files/en-us/web/css/css_positioned_layout/understanding_z-index/stacking_without_z-index/index.md
--- title: Stacking without the z-index property slug: Web/CSS/CSS_positioned_layout/Understanding_z-index/Stacking_without_z-index page-type: guide --- {{CSSRef}} When the {{cssxref("z-index")}} property is not specified on any element, elements are stacked in the following order (from bottom to top): 1. The backgr...
0
data/mdn-content/files/en-us/web/css/css_positioned_layout/understanding_z-index
data/mdn-content/files/en-us/web/css/css_positioned_layout/understanding_z-index/stacking_context_example_1/index.md
--- title: Stacking context example 1 slug: Web/CSS/CSS_positioned_layout/Understanding_z-index/Stacking_context_example_1 page-type: guide --- {{CSSRef}} ## Description Let's start with a basic example. In the root stacking context, there are two relatively positioned `<div>` elements (DIV #1 and DIV #3) without `z...
0
data/mdn-content/files/en-us/web/css/css_positioned_layout/understanding_z-index
data/mdn-content/files/en-us/web/css/css_positioned_layout/understanding_z-index/stacking_floating_elements/index.md
--- title: Stacking floating elements slug: Web/CSS/CSS_positioned_layout/Understanding_z-index/Stacking_floating_elements page-type: guide --- {{CSSRef}} For floating elements, the stacking order is a bit different. Floating elements are placed between non-positioned elements and positioned elements: 1. The backgro...
0
data/mdn-content/files/en-us/web/css/css_positioned_layout/understanding_z-index
data/mdn-content/files/en-us/web/css/css_positioned_layout/understanding_z-index/using_z-index/index.md
--- title: Using z-index slug: Web/CSS/CSS_positioned_layout/Understanding_z-index/Using_z-index page-type: guide --- {{CSSRef}} The first article of this guide, [Stacking without the z-index property](/en-US/docs/Web/CSS/CSS_positioned_layout/Understanding_z-index/Stacking_without_z-index), explains how stacking is ...
0
data/mdn-content/files/en-us/web/css/css_positioned_layout/understanding_z-index
data/mdn-content/files/en-us/web/css/css_positioned_layout/understanding_z-index/stacking_context_example_2/index.md
--- title: Stacking context example 2 slug: Web/CSS/CSS_positioned_layout/Understanding_z-index/Stacking_context_example_2 page-type: guide --- {{CSSRef}} ## Description This is a very simple example, but it is the key for understanding the concept of _stacking context_. There are the same four DIVs of the previous ...
0
data/mdn-content/files/en-us/web/css/css_positioned_layout/understanding_z-index
data/mdn-content/files/en-us/web/css/css_positioned_layout/understanding_z-index/stacking_context_example_3/index.md
--- title: Stacking context example 3 slug: Web/CSS/CSS_positioned_layout/Understanding_z-index/Stacking_context_example_3 page-type: guide --- {{CSSRef}} ## Description This last example shows problems that arise when mixing several positioned elements in a multi-level HTML hierarchy and when `z-index` values are a...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/list-style-type/index.md
--- title: list-style-type slug: Web/CSS/list-style-type page-type: css-property browser-compat: css.properties.list-style-type --- {{CSSRef}} The **`list-style-type`** [CSS](/en-US/docs/Web/CSS) property sets the marker (such as a disc, character, or custom counter style) of a list item element. {{EmbedInteractiveE...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/font-variant-position/index.md
--- title: font-variant-position slug: Web/CSS/font-variant-position page-type: css-property browser-compat: css.properties.font-variant-position --- {{CSSRef}} The **`font-variant-position`** CSS property controls the use of alternate, smaller glyphs that are positioned as superscript or subscript. The glyphs are p...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_-moz-locale-dir_ltr/index.md
--- title: ":-moz-locale-dir(ltr)" slug: Web/CSS/:-moz-locale-dir_ltr page-type: css-pseudo-class status: - non-standard --- {{CSSRef}}{{Non-standard_header}} The **`:-moz-locale-dir(ltr)`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) is a [Mozilla extension](/en-US/docs/Web/CSS/Mo...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/css_scrollbars_styling/index.md
--- title: CSS scrollbars styling slug: Web/CSS/CSS_scrollbars_styling page-type: css-module browser-compat: - css.properties.scrollbar-color - css.properties.scrollbar-width spec-urls: https://drafts.csswg.org/css-scrollbars/ --- {{CSSRef}} The **CSS scrollbars styling** module defines properties that you can us...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/margin-inline-start/index.md
--- title: margin-inline-start slug: Web/CSS/margin-inline-start page-type: css-property browser-compat: css.properties.margin-inline-start --- {{CSSRef}} The **`margin-inline-start`** [CSS](/en-US/docs/Web/CSS) property defines the logical inline start margin of an element, which maps to a physical margin depending ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/isolation/index.md
--- title: isolation slug: Web/CSS/isolation page-type: css-property browser-compat: css.properties.isolation --- {{CSSRef}} The **`isolation`** [CSS](/en-US/docs/Web/CSS) property determines whether an element must create a new {{glossary("stacking context")}}. {{EmbedInteractiveExample("pages/css/isolation.html")}...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/calc/index.md
--- title: calc() slug: Web/CSS/calc page-type: css-function browser-compat: css.types.calc --- {{CSSRef}} The **`calc()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) lets you perform calculations when specifying CSS property values. It can be used with {{cssxref("&lt;length&gt;")}}, {{c...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/margin-trim/index.md
--- title: margin-trim slug: Web/CSS/margin-trim page-type: css-property status: - experimental browser-compat: css.properties.margin-trim --- {{CSSRef}}{{SeeCompatTable}} The `margin-trim` property allows the container to trim the margins of its children where they adjoin the container's edges. ## Syntax ```css ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/@font-feature-values/index.md
--- title: "@font-feature-values" slug: Web/CSS/@font-feature-values page-type: css-at-rule browser-compat: css.at-rules.font-feature-values --- {{CSSRef}} The **`@font-feature-values`** [CSS](/en-US/docs/Web/CSS) [at-rule](/en-US/docs/Web/CSS/At-rule) lets you use a common name in the {{cssxref("font-variant-alterna...
0
data/mdn-content/files/en-us/web/css/@font-feature-values
data/mdn-content/files/en-us/web/css/@font-feature-values/font-display/index.md
--- title: font-display slug: Web/CSS/@font-feature-values/font-display page-type: css-at-rule-descriptor browser-compat: css.at-rules.font-feature-values.font-display spec-urls: https://drafts.csswg.org/css-fonts/#descdef-font-feature-values-font-display --- {{CSSRef}} The **`font-display`** descriptor for the {{css...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/content/index.md
--- title: content slug: Web/CSS/content page-type: css-property browser-compat: css.properties.content --- {{CSSRef}} The **`content`** [CSS](/en-US/docs/Web/CSS) property replaces content with a generated value. It can be used to define what is rendered inside an element or pseudo-element. For elements, the `conten...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/content/mdn.svg
<svg xmlns="http://www.w3.org/2000/svg" height="200" width="226.855"><defs><linearGradient gradientTransform="translate(-353.18 -4908.622) scale(6.99647)" gradientUnits="userSpaceOnUse" id="a" y2="701.6" x2="66.7" y1="730.2" x1="66.7"><stop offset="0" style="stop-color:#2075bc;stop-opacity:1"/><stop offset="1" style="s...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/scroll-margin/index.md
--- title: scroll-margin slug: Web/CSS/scroll-margin page-type: css-shorthand-property browser-compat: css.properties.scroll-margin --- {{CSSRef}} The **`scroll-margin`** [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) sets all of the scroll margins of an element at once, assigning values much like the...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/css_backgrounds_and_borders/index.md
--- title: CSS backgrounds and borders slug: Web/CSS/CSS_backgrounds_and_borders page-type: css-module spec-urls: https://drafts.csswg.org/css-backgrounds/ --- {{CSSRef}} The **CSS backgrounds and borders** module provides properties for adding borders, rounded corners, and box shadows to elements. You can add diffe...
0
data/mdn-content/files/en-us/web/css/css_backgrounds_and_borders
data/mdn-content/files/en-us/web/css/css_backgrounds_and_borders/resizing_background_images/index.md
--- title: Resizing background images with background-size slug: Web/CSS/CSS_backgrounds_and_borders/Resizing_background_images page-type: guide --- {{CSSRef}} The **{{cssxref("background-size")}}** CSS property lets you resize the background image of an element, overriding the default behavior of tiling the image at...
0
data/mdn-content/files/en-us/web/css/css_backgrounds_and_borders
data/mdn-content/files/en-us/web/css/css_backgrounds_and_borders/box-shadow_generator/index.md
--- title: Box-shadow generator slug: Web/CSS/CSS_backgrounds_and_borders/Box-shadow_generator page-type: guide --- {{CSSRef}} This tool lets you construct CSS {{cssxref("box-shadow")}} effects, to add box shadow effects to your CSS objects. {{EmbedGHLiveSample("css-examples/tools/box-shadow-generator/", '100%', 900...
0
data/mdn-content/files/en-us/web/css/css_backgrounds_and_borders
data/mdn-content/files/en-us/web/css/css_backgrounds_and_borders/border-image_generator/index.md
--- title: Border-image generator slug: Web/CSS/CSS_backgrounds_and_borders/Border-image_generator page-type: guide --- {{CSSRef}} This tool can be used to generate CSS {{cssxref("border-image")}} values. {{EmbedGHLiveSample("css-examples/tools/border-image-generator/", '100%', 1200)}} ## See also - [Border-radius...
0
data/mdn-content/files/en-us/web/css/css_backgrounds_and_borders
data/mdn-content/files/en-us/web/css/css_backgrounds_and_borders/border-radius_generator/index.md
--- title: Border-radius generator slug: Web/CSS/CSS_backgrounds_and_borders/Border-radius_generator page-type: guide --- {{CSSRef}} This tool can be used to generate CSS {{cssxref("border-radius")}} effects. {{EmbedGHLiveSample("css-examples/tools/border-radius-generator/", '100%', 900)}} ## See also - [Border-im...
0
data/mdn-content/files/en-us/web/css/css_backgrounds_and_borders
data/mdn-content/files/en-us/web/css/css_backgrounds_and_borders/using_multiple_backgrounds/index.md
--- title: Using multiple backgrounds slug: Web/CSS/CSS_backgrounds_and_borders/Using_multiple_backgrounds page-type: guide --- {{CSSRef}} You can apply **multiple backgrounds** to elements. These are layered atop one another with the first background you provide on top and the last background listed in the back. Onl...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/text-decoration-style/index.md
--- title: text-decoration-style slug: Web/CSS/text-decoration-style page-type: css-property browser-compat: css.properties.text-decoration-style --- {{CSSRef}} The **`text-decoration-style`** [CSS](/en-US/docs/Web/CSS) property sets the style of the lines specified by {{ cssxref("text-decoration-line") }}. The style...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_user-valid/index.md
--- title: ":user-valid" slug: Web/CSS/:user-valid page-type: css-pseudo-class browser-compat: css.selectors.user-valid --- {{CSSRef}} The **`:user-valid`** CSS [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) represents any validated form element whose value validates correctly based on its [validation constraints...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/id_selectors/index.md
--- title: ID selectors slug: Web/CSS/ID_selectors page-type: css-selector browser-compat: css.selectors.id --- {{CSSRef}} The CSS **ID selector** matches an element based on the value of the element's [`id`](/en-US/docs/Web/HTML/Global_attributes/id) attribute. In order for the element to be selected, its `id` attri...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/contain-intrinsic-width/index.md
--- title: contain-intrinsic-width slug: Web/CSS/contain-intrinsic-width page-type: css-property browser-compat: css.properties.contain-intrinsic-width --- {{CSSRef}} The **`contain-intrinsic-width`** [CSS](/en-US/docs/Web/CSS) property sets the width of an element that a browser will use for layout when the element ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/height/index.md
--- title: height slug: Web/CSS/height page-type: css-property browser-compat: css.properties.height --- {{CSSRef}} The **`height`** CSS property specifies the height of an element. By default, the property defines the height of the [content area](/en-US/docs/Web/CSS/CSS_box_model/Introduction_to_the_CSS_box_model#co...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/used_value/index.md
--- title: Used value slug: Web/CSS/used_value page-type: guide spec-urls: https://www.w3.org/TR/CSS22/cascade.html#used-value --- {{CSSRef}} The **used value** of a [CSS](/en-US/docs/Web/CSS) property is its value after all calculations have been performed on the [computed value](/en-US/docs/Web/CSS/computed_value)....
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/css_conditional_rules/index.md
--- title: CSS conditional rules slug: Web/CSS/CSS_conditional_rules page-type: css-module spec-urls: - https://www.w3.org/TR/css-conditional-5/ - https://www.w3.org/TR/css-conditional-4/ - https://www.w3.org/TR/css-conditional-3/ --- {{CSSRef}} The **CSS conditional rules** module defines CSS media and support...
0
data/mdn-content/files/en-us/web/css/css_conditional_rules
data/mdn-content/files/en-us/web/css/css_conditional_rules/using_feature_queries/index.md
--- title: Using feature queries slug: Web/CSS/CSS_conditional_rules/Using_feature_queries page-type: guide --- {{CSSRef}} **Feature queries** are conditional group rules that test whether the user agent supports or doesn't support one or more CSS features, such as CSS properties and property values. Feature queries ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_doublecolon_-moz-range-track/index.md
--- title: "::-moz-range-track" slug: Web/CSS/::-moz-range-track page-type: css-pseudo-element status: - non-standard browser-compat: css.selectors.-moz-range-track --- {{CSSRef}}{{Non-standard_header}} The **`::-moz-range-track`** [CSS](/en-US/docs/Web/CSS) [pseudo-element](/en-US/docs/Web/CSS/Pseudo-elements) is ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/padding-inline-start/index.md
--- title: padding-inline-start slug: Web/CSS/padding-inline-start page-type: css-property browser-compat: css.properties.padding-inline-start --- {{CSSRef}} The **`padding-inline-start`** [CSS](/en-US/docs/Web/CSS) property defines the logical inline start padding of an element, which maps to a physical padding depe...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/padding/index.md
--- title: padding slug: Web/CSS/padding page-type: css-shorthand-property browser-compat: css.properties.padding --- {{CSSRef}} The **`padding`** [CSS](/en-US/docs/Web/CSS) [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) sets the [padding area](/en-US/docs/Web/CSS/CSS_box_model/Introduction_to_the_CSS...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/aspect-ratio/index.md
--- title: aspect-ratio slug: Web/CSS/aspect-ratio page-type: css-property browser-compat: css.properties.aspect-ratio --- {{CSSRef}} The **`aspect-ratio`** [CSS](/en-US/docs/Web/CSS) property allows you to define the desired width-to-height ratio of an element's box. This means that even if the parent container or v...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/@layer/index.md
--- title: "@layer" slug: Web/CSS/@layer page-type: css-at-rule browser-compat: css.at-rules.layer --- {{CSSRef}} The **`@layer`** [CSS](/en-US/docs/Web/CSS) [at-rule](/en-US/docs/Web/CSS/At-rule) is used to declare a cascade layer and can also be used to define the order of precedence in case of multiple cascade lay...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/break-after/index.md
--- title: break-after slug: Web/CSS/break-after page-type: css-property browser-compat: css.properties.break-after --- {{CSSRef}} The **`break-after`** [CSS](/en-US/docs/Web/CSS) property sets how page, column, or region breaks should behave after a generated box. If there is no generated box, the property is ignore...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/overscroll-behavior-inline/index.md
--- title: overscroll-behavior-inline slug: Web/CSS/overscroll-behavior-inline page-type: css-property browser-compat: css.properties.overscroll-behavior-inline --- {{CSSRef}} The **`overscroll-behavior-inline`** CSS property sets the browser's behavior when the inline direction boundary of a scrolling area is reache...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_first-child/index.md
--- title: ":first-child" slug: Web/CSS/:first-child page-type: css-pseudo-class browser-compat: css.selectors.first-child --- {{CSSRef}} The **`:first-child`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) represents the first element among a group of sibling elements. {{EmbedInterac...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/font-variant-east-asian/index.md
--- title: font-variant-east-asian slug: Web/CSS/font-variant-east-asian page-type: css-property browser-compat: css.properties.font-variant-east-asian --- {{CSSRef}} The **`font-variant-east-asian`** CSS property controls the use of alternate glyphs for East Asian scripts, like Japanese and Chinese. {{EmbedInteract...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/font-size-adjust/index.md
--- title: font-size-adjust slug: Web/CSS/font-size-adjust page-type: css-property browser-compat: css.properties.font-size-adjust --- {{CSSRef}} The **`font-size-adjust`** [CSS](/en-US/docs/Web/CSS) property provides a way to modify the size of lowercase letters relative to the size of uppercase letters, which defin...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/inset-block-end/index.md
--- title: inset-block-end slug: Web/CSS/inset-block-end page-type: css-property browser-compat: css.properties.inset-block-end --- {{CSSRef}} The **`inset-block-end`** [CSS](/en-US/docs/Web/CSS) property defines the logical block end offset of an element, which maps to a physical inset depending on the element's wri...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_buffering/index.md
--- title: ":buffering" slug: Web/CSS/:buffering page-type: css-pseudo-class browser-compat: css.selectors.buffering --- {{CSSRef}} The **`:buffering`** [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 {{...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/all/index.md
--- title: all slug: Web/CSS/all page-type: css-shorthand-property browser-compat: css.properties.all --- {{CSSRef}} The **`all`** [shorthand](/en-US/docs/Web/CSS/Shorthand_properties) [CSS](/en-US/docs/Web/CSS) property resets all of an element's properties except {{cssxref("unicode-bidi")}}, {{cssxref("direction")}...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/mozilla_extensions/index.md
--- title: Mozilla vendor-prefixed CSS extensions slug: Web/CSS/Mozilla_Extensions page-type: landing-page status: - non-standard --- {{CSSRef}} Firefox supports a number of _Mozilla extensions to [CSS](/en-US/docs/Web/CSS)_, including properties, values, pseudo-elements and pseudo-classes, at-rules, and media quer...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/scroll-margin-block-start/index.md
--- title: scroll-margin-block-start slug: Web/CSS/scroll-margin-block-start page-type: css-property browser-compat: css.properties.scroll-margin-block-start --- {{CSSRef}} The `scroll-margin-block-start` property defines the margin of the scroll snap area at the start of the block dimension that is used for snapping...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/will-change/index.md
--- title: will-change slug: Web/CSS/will-change page-type: css-property browser-compat: css.properties.will-change --- {{CSSRef}} The **`will-change`** [CSS](/en-US/docs/Web/CSS) property hints to browsers how an element is expected to change. Browsers may set up optimizations before an element is actually changed. ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/var/index.md
--- title: var() slug: Web/CSS/var page-type: css-function browser-compat: css.properties.custom-property.var --- {{CSSRef}} The **`var()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) can be used to insert the value of a [custom property](/en-US/docs/Web/CSS/--*) (sometimes called a "CSS...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/overflow-clip-margin/index.md
--- title: overflow-clip-margin slug: Web/CSS/overflow-clip-margin page-type: css-property browser-compat: css.properties.overflow-clip-margin --- {{CSSRef}} The **`overflow-clip-margin`** [CSS](/en-US/docs/Web/CSS) property determines how far outside its bounds an element with [`overflow: clip`](/en-US/docs/Web/CSS/...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/border-left-style/index.md
--- title: border-left-style slug: Web/CSS/border-left-style page-type: css-property browser-compat: css.properties.border-left-style --- {{CSSRef}} The **`border-left-style`** [CSS](/en-US/docs/Web/CSS) property sets the line style of an element's left {{cssxref("border")}}. {{EmbedInteractiveExample("pages/css/bor...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/-moz-user-focus/index.md
--- title: "-moz-user-focus" slug: Web/CSS/-moz-user-focus page-type: css-property status: - deprecated - non-standard browser-compat: css.properties.-moz-user-focus --- {{CSSRef}} {{deprecated_header}}{{non-standard_header}} The **`-moz-user-focus`** [CSS](/en-US/docs/Web/CSS) property is used to indicate whethe...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/hyphenate-character/index.md
--- title: hyphenate-character slug: Web/CSS/hyphenate-character page-type: css-property browser-compat: css.properties.hyphenate-character --- {{CSSRef}} The **`hyphenate-character`** [CSS](/en-US/docs/Web/CSS) property sets the character (or string) used at the end of a line before a hyphenation break. Both automa...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/css_scroll-driven_animations/index.md
--- title: CSS scroll-driven animations slug: Web/CSS/CSS_scroll-driven_animations page-type: css-module spec-urls: - https://drafts.csswg.org/scroll-animations-1/ - https://drafts.csswg.org/css-animations-2/ - https://drafts.csswg.org/web-animations-2/ --- {{CSSRef}} The **CSS scroll-driven animations** module...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/overscroll-behavior/index.md
--- title: overscroll-behavior slug: Web/CSS/overscroll-behavior page-type: css-shorthand-property browser-compat: css.properties.overscroll-behavior --- {{CSSRef}} The **`overscroll-behavior`** CSS property sets what a browser does when reaching the boundary of a scrolling area. {{EmbedInteractiveExample("pages/css...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_doublecolon_-webkit-meter-inner-element/index.md
--- title: "::-webkit-meter-inner-element" slug: Web/CSS/::-webkit-meter-inner-element page-type: css-pseudo-element status: - non-standard browser-compat: css.selectors.-webkit-meter-inner-element --- {{CSSRef}}{{Non-standard_header}} **`::-webkit-meter-inner-element`** is a proprietary WebKit CSS pseudo-element f...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/text-underline-offset/index.md
--- title: text-underline-offset slug: Web/CSS/text-underline-offset page-type: css-property browser-compat: css.properties.text-underline-offset --- {{CSSRef}} The **`text-underline-offset`** [CSS](/en-US/docs/Web/CSS) property sets the offset distance of an underline text decoration line (applied using {{cssxref("t...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/hyphenate-limit-chars/index.md
--- title: hyphenate-limit-chars slug: Web/CSS/hyphenate-limit-chars page-type: css-property browser-compat: css.properties.hyphenate-limit-chars --- {{CSSRef}} The **`hyphenate-limit-chars`** [CSS](/en-US/docs/Web/CSS) property specifies the minimum word length to allow hyphenation of words as well as the minimum nu...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/reference/index.md
--- title: CSS reference slug: Web/CSS/Reference page-type: landing-page --- {{CSSRef}} Use this **CSS reference** to browse an [alphabetical index](#index) of all of the standard [CSS](/en-US/docs/Web/CSS) properties, [pseudo-classes](/en-US/docs/Web/CSS/Pseudo-classes), [pseudo-elements](/en-US/docs/Web/CSS/Pseudo-...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/border-image-outset/index.md
--- title: border-image-outset slug: Web/CSS/border-image-outset page-type: css-property browser-compat: css.properties.border-image-outset --- {{CSSRef}} The **`border-image-outset`** [CSS](/en-US/docs/Web/CSS) property sets the distance by which an element's [border image](/en-US/docs/Web/CSS/border-image) is set o...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/transition-delay/index.md
--- title: transition-delay slug: Web/CSS/transition-delay page-type: css-property browser-compat: css.properties.transition-delay --- {{CSSRef}} The **`transition-delay`** CSS property specifies the duration to wait before starting a property's [transition effect](/en-US/docs/Web/CSS/CSS_transitions/Using_CSS_transi...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/flex-shrink/index.md
--- title: flex-shrink slug: Web/CSS/flex-shrink page-type: css-property browser-compat: css.properties.flex-shrink --- {{CSSRef}} The **`flex-shrink`** [CSS](/en-US/docs/Web/CSS) property sets the flex shrink factor of a flex item. If the size of all flex items is larger than the flex container, items shrink to fit ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/justify-content/index.md
--- title: justify-content slug: Web/CSS/justify-content page-type: css-property browser-compat: css.properties.justify-content --- {{CSSRef}} The [CSS](/en-US/docs/Web/CSS) **`justify-content`** property defines how the browser distributes space between and around content items along the {{Glossary("Main Axis", "mai...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/box-align/index.md
--- title: box-align slug: Web/CSS/box-align page-type: css-property status: - deprecated - non-standard browser-compat: css.properties.box-align --- {{CSSRef}}{{Non-standard_header}}{{Deprecated_Header}} > **Warning:** This is a property of the original CSS Flexible Box Layout Module draft, and has been replaced...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_doublecolon_-webkit-inner-spin-button/index.md
--- title: "::-webkit-inner-spin-button" slug: Web/CSS/::-webkit-inner-spin-button page-type: css-pseudo-element status: - non-standard browser-compat: css.selectors.-webkit-inner-spin-button --- {{CSSRef}}{{Non-standard_header}} The **`::-webkit-inner-spin-button`** CSS pseudo-element is used to style the inner pa...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/exp/index.md
--- title: exp() slug: Web/CSS/exp page-type: css-function browser-compat: css.types.exp --- {{CSSRef}} The **`exp()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) is an exponential function that takes an number as an argument and returns the mathematical constant `e` raised to the power ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/scroll-padding-block-end/index.md
--- title: scroll-padding-block-end slug: Web/CSS/scroll-padding-block-end page-type: css-property browser-compat: css.properties.scroll-padding-block-end --- {{CSSRef}} The `scroll-padding-block-end` property defines offsets for the end edge in the block dimension of the _optimal viewing region_ of the scrollport: t...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/text-underline-position/index.md
--- title: text-underline-position slug: Web/CSS/text-underline-position page-type: css-property browser-compat: css.properties.text-underline-position --- {{CSSRef}} The **`text-underline-position`** [CSS](/en-US/docs/Web/CSS) property specifies the position of the underline which is set using the {{cssxref("text-de...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_visited/index.md
--- title: ":visited" slug: Web/CSS/:visited page-type: css-pseudo-class browser-compat: css.selectors.visited --- {{CSSRef}} The **`:visited`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) applies once the link has been visited by the user. For privacy reasons, the styles that can be...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/padding-block-start/index.md
--- title: padding-block-start slug: Web/CSS/padding-block-start page-type: css-property browser-compat: css.properties.padding-block-start --- {{CSSRef}} The **`padding-block-start`** [CSS](/en-US/docs/Web/CSS) property defines the logical block start padding of an element, which maps to a physical padding depending...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/background-attachment/index.md
--- title: background-attachment slug: Web/CSS/background-attachment page-type: css-property browser-compat: css.properties.background-attachment --- {{CSSRef}} The **`background-attachment`** [CSS](/en-US/docs/Web/CSS) property sets whether a background image's position is fixed within the {{glossary("viewport")}}, ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/css_namespaces/index.md
--- title: CSS namespaces slug: Web/CSS/CSS_namespaces page-type: css-module browser-compat: css.at-rules.namespace --- {{CSSRef}} The **CSS namespaces** module defines the syntax for using {{glossary("namespace", "namespaces")}} in CSS. CSS isn't just for styling HTML. A stylesheet may be used to style SVG, MathML,...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/border-color/index.md
--- title: border-color slug: Web/CSS/border-color page-type: css-shorthand-property browser-compat: css.properties.border-color --- {{CSSRef}} The **`border-color`** [shorthand](/en-US/docs/Web/CSS/Shorthand_properties) [CSS](/en-US/docs/Web/CSS) property sets the color of an element's border. {{EmbedInteractiveExa...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/pointer-events/index.md
--- title: pointer-events slug: Web/CSS/pointer-events page-type: css-property browser-compat: css.properties.pointer-events --- {{CSSRef}} The **`pointer-events`** [CSS](/en-US/docs/Web/CSS) property sets under what circumstances (if any) a particular graphic element can become the [target](/en-US/docs/Web/API/Event...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/css_basic_user_interface/index.md
--- title: CSS basic user interface slug: Web/CSS/CSS_basic_user_interface page-type: css-module spec-urls: https://drafts.csswg.org/css-ui/ --- {{CSSRef}} The **CSS basic user interface** module lets you define the rendering and functionality of features related to the user interface including outline properties, vi...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_disabled/index.md
--- title: ":disabled" slug: Web/CSS/:disabled page-type: css-pseudo-class browser-compat: css.selectors.disabled --- {{CSSRef}} The **`:disabled`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) represents any disabled element. An element is disabled if it can't be activated (selected,...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/layout_cookbook/index.md
--- title: CSS Layout cookbook slug: Web/CSS/Layout_cookbook page-type: landing-page --- {{CSSRef}} The CSS layout cookbook aims to bring together recipes for common layout patterns, things you might need to implement in your own sites. In addition to providing code you can use as a starting point in your projects, t...
0
data/mdn-content/files/en-us/web/css/layout_cookbook
data/mdn-content/files/en-us/web/css/layout_cookbook/pagination/index.md
--- title: Pagination slug: Web/CSS/Layout_cookbook/Pagination page-type: guide browser-compat: css.properties.flex --- {{CSSRef}} This cookbook pattern demonstrates the navigation pattern used to display pagination, where the user can move between pages of content such as search results. ![Links to sets of pages in...
0
data/mdn-content/files/en-us/web/css/layout_cookbook
data/mdn-content/files/en-us/web/css/layout_cookbook/grid_wrapper/index.md
--- title: Grid wrapper slug: Web/CSS/Layout_cookbook/Grid_wrapper page-type: guide browser-compat: css.properties.grid --- {{CSSRef}} The grid wrapper pattern is useful for aligning grid content within a central wrapper while also allowing items to break out and align to the edge of the containing element or page. ...
0
data/mdn-content/files/en-us/web/css/layout_cookbook
data/mdn-content/files/en-us/web/css/layout_cookbook/breadcrumb_navigation/index.md
--- title: Breadcrumb navigation slug: Web/CSS/Layout_cookbook/Breadcrumb_Navigation page-type: guide browser-compat: css.properties.flex --- {{CSSRef}} Breadcrumb navigation helps the user to understand their location in the website by providing a {{glossary("breadcrumb")}} trail back to the start page. The items ty...
0