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/transform-function
data/mdn-content/files/en-us/web/css/transform-function/skewx/index.md
--- title: skewX() slug: Web/CSS/transform-function/skewX page-type: css-function browser-compat: css.types.transform-function.skewX --- {{CSSRef}} The **`skewX()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) defines a transformation that skews an element in the horizontal direction on t...
0
data/mdn-content/files/en-us/web/css/transform-function
data/mdn-content/files/en-us/web/css/transform-function/translatez/index.md
--- title: translateZ() slug: Web/CSS/transform-function/translateZ page-type: css-function browser-compat: css.types.transform-function.translateZ --- {{CSSRef}} The **`translateZ()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) repositions an element along the z-axis in 3D space, i.e., ...
0
data/mdn-content/files/en-us/web/css/transform-function
data/mdn-content/files/en-us/web/css/transform-function/scaley/index.md
--- title: scaleY() slug: Web/CSS/transform-function/scaleY page-type: css-function browser-compat: css.types.transform-function.scaleY --- {{CSSRef}} The **`scaleY()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) defines a transformation that resizes an element along the y-axis (vertical...
0
data/mdn-content/files/en-us/web/css/transform-function
data/mdn-content/files/en-us/web/css/transform-function/scale3d/index.md
--- title: scale3d() slug: Web/CSS/transform-function/scale3d page-type: css-function browser-compat: css.types.transform-function.scale3d --- {{CSSRef}} The **`scale3d()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) defines a transformation that resizes an element in 3D space. Because t...
0
data/mdn-content/files/en-us/web/css/transform-function
data/mdn-content/files/en-us/web/css/transform-function/translatex/index.md
--- title: translateX() slug: Web/CSS/transform-function/translateX page-type: css-function browser-compat: css.types.transform-function.translateX --- {{CSSRef}} The **`translateX()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) repositions an element horizontally on the 2D plane. Its re...
0
data/mdn-content/files/en-us/web/css/transform-function
data/mdn-content/files/en-us/web/css/transform-function/scalez/index.md
--- title: scaleZ() slug: Web/CSS/transform-function/scaleZ page-type: css-function browser-compat: css.types.transform-function.scaleZ --- {{CSSRef}} The **`scaleZ()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) defines a transformation that resizes an element along the z-axis. Its resu...
0
data/mdn-content/files/en-us/web/css/transform-function
data/mdn-content/files/en-us/web/css/transform-function/translatey/index.md
--- title: translateY() slug: Web/CSS/transform-function/translateY page-type: css-function browser-compat: css.types.transform-function.translateY --- {{CSSRef}} The **`translateY()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) repositions an element vertically on the 2D plane. Its resu...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/visual_formatting_model/index.md
--- title: Visual formatting model slug: Web/CSS/Visual_formatting_model page-type: guide --- {{CSSRef}} In CSS, the **visual formatting model** describes how user agents take the document tree, and process and display it for visual media. This includes {{glossary("continuous media")}} such as a computer screen and [...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/backface-visibility/index.md
--- title: backface-visibility slug: Web/CSS/backface-visibility page-type: css-property browser-compat: css.properties.backface-visibility --- {{CSSRef}} The **`backface-visibility`** [CSS](/en-US/docs/Web/CSS) property sets whether the back face of an element is visible when turned towards the user. {{EmbedInterac...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/text-decoration-thickness/index.md
--- title: text-decoration-thickness slug: Web/CSS/text-decoration-thickness page-type: css-property browser-compat: css.properties.text-decoration-thickness --- {{CSSRef}} The **`text-decoration-thickness`** [CSS](/en-US/docs/Web/CSS) property sets the stroke thickness of the decoration line that is used on text in ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/break-inside/index.md
--- title: break-inside slug: Web/CSS/break-inside page-type: css-property browser-compat: css.properties.break-inside --- {{CSSRef}} The **`break-inside`** [CSS](/en-US/docs/Web/CSS) property sets how page, column, or region breaks should behave inside 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/_colon_right/index.md
--- title: ":right" slug: Web/CSS/:right page-type: css-pseudo-class browser-compat: css.selectors.right --- {{CSSRef}} The **`:right`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes), used with the {{cssxref("@page")}} [at-rule](/en-US/docs/Web/CSS/At-rule), represents all right-hand p...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/grid-row/index.md
--- title: grid-row slug: Web/CSS/grid-row page-type: css-shorthand-property browser-compat: css.properties.grid-row --- {{CSSRef}} The **`grid-row`** CSS [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) specifies a grid item's size and location within a {{glossary("grid row")}} by contributing a line, ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/grid-column-end/index.md
--- title: grid-column-end slug: Web/CSS/grid-column-end page-type: css-property browser-compat: css.properties.grid-column-end --- {{CSSRef}} The **`grid-column-end`** CSS property specifies a grid item's end position within the grid column by contributing a line, a span, or nothing (automatic) to its grid placement...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/css_media_queries/index.md
--- title: CSS media queries slug: Web/CSS/CSS_media_queries page-type: css-module spec-urls: - https://drafts.csswg.org/mediaqueries-3/ - https://drafts.csswg.org/mediaqueries/ - https://drafts.csswg.org/mediaqueries-5/ --- {{CSSRef}} The **CSS media queries** module enables testing and querying of viewport va...
0
data/mdn-content/files/en-us/web/css/css_media_queries
data/mdn-content/files/en-us/web/css/css_media_queries/using_media_queries/index.md
--- title: Using media queries slug: Web/CSS/CSS_media_queries/Using_media_queries page-type: guide --- {{CSSRef}} **Media queries** allow you to apply CSS styles depending on a device's media type (such as print vs. screen) or other features or characteristics such as screen resolution or orientation, aspect ratio, ...
0
data/mdn-content/files/en-us/web/css/css_media_queries
data/mdn-content/files/en-us/web/css/css_media_queries/using_media_queries_for_accessibility/index.md
--- title: Using media queries for accessibility slug: Web/CSS/CSS_media_queries/Using_media_queries_for_accessibility page-type: guide --- {{CSSRef}} [**CSS media queries**](/en-US/docs/Web/CSS/CSS_media_queries) can be used to help users with disabilities better experience your website. ## Reduced Motion Blinking...
0
data/mdn-content/files/en-us/web/css/css_media_queries
data/mdn-content/files/en-us/web/css/css_media_queries/printing/index.md
--- title: Printing slug: Web/CSS/CSS_media_queries/Printing page-type: guide --- {{CSSRef}} There may be times in which your website or application would like to improve the user's experience when printing content. There are several possible scenarios: - You wish to adjust layout to take advantage of the size and s...
0
data/mdn-content/files/en-us/web/css/css_media_queries
data/mdn-content/files/en-us/web/css/css_media_queries/testing_media_queries/index.md
--- title: Testing media queries programmatically slug: Web/CSS/CSS_media_queries/Testing_media_queries page-type: guide browser-compat: api.MediaQueryList --- {{CSSRef}} The {{Glossary("DOM")}} provides features that can test the results of a {{Glossary("media query")}} programmatically, via the {{domxref("MediaQuer...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/columns/index.md
--- title: columns slug: Web/CSS/columns page-type: css-shorthand-property browser-compat: css.properties.columns --- {{CSSRef}} The **`columns`** [CSS](/en-US/docs/Web/CSS) shorthand property sets the number of columns to use when drawing an element's contents, as well as those columns' widths. {{EmbedInteractiveEx...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/minmax/index.md
--- title: minmax() slug: Web/CSS/minmax page-type: css-function browser-compat: css.properties.grid-template-columns.minmax --- {{CSSRef}} The **`minmax()`** [CSS function](/en-US/docs/Web/CSS/CSS_Functions) defines a size range greater than or equal to _min_ and less than or equal to _max_. It is used with [CSS Gri...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/border-top-style/index.md
--- title: border-top-style slug: Web/CSS/border-top-style page-type: css-property browser-compat: css.properties.border-top-style --- {{CSSRef}} The **`border-top-style`** [CSS](/en-US/docs/Web/CSS) property sets the line style of an element's top {{CSSxRef("border")}}. {{EmbedInteractiveExample("pages/css/border-t...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/max-block-size/index.md
--- title: max-block-size slug: Web/CSS/max-block-size page-type: css-property browser-compat: css.properties.max-block-size --- {{CSSRef}} The **`max-block-size`** [CSS](/en-US/docs/Web/CSS) property specifies the maximum size of an element in the direction opposite that of the writing direction as specified by {{cs...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/transform-box/index.md
--- title: transform-box slug: Web/CSS/transform-box page-type: css-property browser-compat: css.properties.transform-box --- {{CSSRef}} The **`transform-box`** CSS property defines the layout box to which the {{cssxref("transform")}}, individual transform properties {{cssxref("translate")}},{{cssxref("scale")}}, and...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/-webkit-mask-repeat-x/index.md
--- title: "-webkit-mask-repeat-x" slug: Web/CSS/-webkit-mask-repeat-x page-type: css-property status: - non-standard browser-compat: css.properties.-webkit-mask-repeat-x --- {{CSSRef}}{{Non-standard_header}} The `-webkit-mask-repeat-x` property specifies whether and how a mask image is repeated (tiled) horizontall...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/grid/index.md
--- title: grid slug: Web/CSS/grid page-type: css-shorthand-property browser-compat: css.properties.grid --- {{CSSRef}} The **`grid`** CSS property is a [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) that sets all of the explicit and implicit grid properties in a single declaration. Using `grid` you ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/border-inline-color/index.md
--- title: border-inline-color slug: Web/CSS/border-inline-color page-type: css-property browser-compat: css.properties.border-inline-color --- {{CSSRef}} The **`border-inline-color`** [CSS](/en-US/docs/Web/CSS) property defines the color of the logical inline borders of an element, which maps to a physical border co...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_optional/index.md
--- title: ":optional" slug: Web/CSS/:optional page-type: css-pseudo-class browser-compat: css.selectors.optional --- {{CSSRef}} The **`:optional`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) represents any {{HTMLElement("input")}}, {{HTMLElement("select")}}, or {{HTMLElement("texta...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/border-bottom-color/index.md
--- title: border-bottom-color slug: Web/CSS/border-bottom-color page-type: css-property browser-compat: css.properties.border-bottom-color --- {{CSSRef}} The **`border-bottom-color`** CSS property sets the color of an element's bottom [border](/en-US/docs/Web/CSS/border). It can also be set with the shorthand CSS pr...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/padding-inline/index.md
--- title: padding-inline slug: Web/CSS/padding-inline page-type: css-shorthand-property browser-compat: css.properties.padding-inline --- {{CSSRef}} The **`padding-inline`** [CSS](/en-US/docs/Web/CSS) [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) defines the logical inline start and end padding of a...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/generic-family/index.md
--- title: <generic-family> slug: Web/CSS/generic-family page-type: css-type spec-urls: https://drafts.csswg.org/css-fonts/#generic-font-families --- {{CSSRef}} The **`<generic-family>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types) represents the keyword values for generic font families used...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/transition-duration/index.md
--- title: transition-duration slug: Web/CSS/transition-duration page-type: css-property browser-compat: css.properties.transition-duration --- {{CSSRef}} The **`transition-duration`** [CSS](/en-US/docs/Web/CSS) property sets the length of time a transition animation should take to complete. By default, the value is ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/background-image/index.md
--- title: background-image slug: Web/CSS/background-image page-type: css-property browser-compat: css.properties.background-image --- {{CSSRef}} The **`background-image`** [CSS](/en-US/docs/Web/CSS) property sets one or more background images on an element. {{EmbedInteractiveExample("pages/css/background-image.html...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/@counter-style/index.md
--- title: "@counter-style" slug: Web/CSS/@counter-style page-type: css-at-rule browser-compat: css.at-rules.counter-style --- {{CSSRef}} The **`@counter-style`** [CSS](/en-US/docs/Web/CSS) [at-rule](/en-US/docs/Web/CSS/At-rule) lets you extend predefined list styles and define your own counter styles that are not pa...
0
data/mdn-content/files/en-us/web/css/@counter-style
data/mdn-content/files/en-us/web/css/@counter-style/additive-symbols/index.md
--- title: additive-symbols slug: Web/CSS/@counter-style/additive-symbols page-type: css-at-rule-descriptor browser-compat: css.at-rules.counter-style.additive-symbols --- {{CSSRef}} The **`additive-symbols`** descriptor of the {{cssxref('@counter-style')}} at-rule is used to specify counter symbols when the `@counte...
0
data/mdn-content/files/en-us/web/css/@counter-style
data/mdn-content/files/en-us/web/css/@counter-style/negative/index.md
--- title: negative slug: Web/CSS/@counter-style/negative page-type: css-at-rule-descriptor browser-compat: css.at-rules.counter-style.negative --- {{CSSRef}} The **`negative`** descriptor of the {{cssxref("@counter-style")}} at-rule lets you define how negative counter values are represented when defining custom cou...
0
data/mdn-content/files/en-us/web/css/@counter-style
data/mdn-content/files/en-us/web/css/@counter-style/symbols/index.md
--- title: symbols slug: Web/CSS/@counter-style/symbols page-type: css-at-rule-descriptor browser-compat: css.at-rules.counter-style.symbols --- {{CSSRef}} The **`symbols`** [CSS](/en-US/docs/Web/CSS) descriptor of the {{cssxref("@counter-style")}} at-rule is used to specify the symbols for creating counter represent...
0
data/mdn-content/files/en-us/web/css/@counter-style
data/mdn-content/files/en-us/web/css/@counter-style/speak-as/index.md
--- title: speak-as slug: Web/CSS/@counter-style/speak-as page-type: css-at-rule-descriptor browser-compat: css.at-rules.counter-style.speak-as --- {{CSSRef}} The **`speak-as`** descriptor specifies how a counter symbol constructed with a given {{cssxref('@counter-style')}} will be represented in the spoken form. For...
0
data/mdn-content/files/en-us/web/css/@counter-style
data/mdn-content/files/en-us/web/css/@counter-style/prefix/index.md
--- title: prefix slug: Web/CSS/@counter-style/prefix page-type: css-at-rule-descriptor browser-compat: css.at-rules.counter-style.prefix --- {{CSSRef}} The {{cssxref('@counter-style')}} rule's **`prefix`** descriptor specifies content that will be added to the beginning of the counter's marker representation. When ...
0
data/mdn-content/files/en-us/web/css/@counter-style
data/mdn-content/files/en-us/web/css/@counter-style/pad/index.md
--- title: pad slug: Web/CSS/@counter-style/pad page-type: css-at-rule-descriptor browser-compat: css.at-rules.counter-style.pad --- {{CSSRef}} The **`pad`** descriptor of the {{cssxref("@counter-style")}} at-rule is used to set a minimum length for marker representations. ## Syntax ```css pad: 3 "0"; pad: "+" 5; `...
0
data/mdn-content/files/en-us/web/css/@counter-style
data/mdn-content/files/en-us/web/css/@counter-style/fallback/index.md
--- title: fallback slug: Web/CSS/@counter-style/fallback page-type: css-at-rule-descriptor browser-compat: css.at-rules.counter-style.fallback --- {{CSSRef}} The **`fallback`** descriptor of the {{cssxref("@counter-style")}} at-rule can be used to specify a counter style to fall back to if the counter style being de...
0
data/mdn-content/files/en-us/web/css/@counter-style
data/mdn-content/files/en-us/web/css/@counter-style/range/index.md
--- title: range slug: Web/CSS/@counter-style/range page-type: css-at-rule-descriptor browser-compat: css.at-rules.counter-style.range --- {{CSSRef}} The **`range`** descriptor lets the author specify one or more ranges of counter values for which the style is applied when defining custom counter styles with the {{cs...
0
data/mdn-content/files/en-us/web/css/@counter-style
data/mdn-content/files/en-us/web/css/@counter-style/system/index.md
--- title: system slug: Web/CSS/@counter-style/system page-type: css-at-rule-descriptor browser-compat: css.at-rules.counter-style.system --- {{CSSRef}} The **`system`** descriptor specifies the algorithm to be used for converting the integer value of a counter to a string representation. It is used in a {{cssxref("@...
0
data/mdn-content/files/en-us/web/css/@counter-style
data/mdn-content/files/en-us/web/css/@counter-style/suffix/index.md
--- title: suffix slug: Web/CSS/@counter-style/suffix page-type: css-at-rule-descriptor browser-compat: css.at-rules.counter-style.suffix --- {{CSSRef}} The **`suffix`** descriptor of the {{cssxref("@counter-style")}} rule specifies content that will be added to the end of the marker representation. ## Syntax ```cs...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/scroll-timeline-axis/index.md
--- title: scroll-timeline-axis slug: Web/CSS/scroll-timeline-axis page-type: css-property status: - experimental browser-compat: css.properties.scroll-timeline-axis --- {{CSSRef}}{{SeeCompatTable}} The **`scroll-timeline-axis`** [CSS](/en-US/docs/Web/CSS) property is used to specify the scrollbar direction that wi...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_doublecolon_grammar-error/index.md
--- title: "::grammar-error" slug: Web/CSS/::grammar-error page-type: css-pseudo-element browser-compat: css.selectors.grammar-error --- {{CSSRef}} The **`::grammar-error`** [CSS](/en-US/docs/Web/CSS) [pseudo-element](/en-US/docs/Web/CSS/Pseudo-elements) represents a text segment which the {{glossary("user agent")}} ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/@document/index.md
--- title: "@document" slug: Web/CSS/@document page-type: css-at-rule status: - deprecated - non-standard browser-compat: css.at-rules.document --- {{CSSRef}}{{Deprecated_header}}{{Non-standard_header}} The **`@document`** [CSS](/en-US/docs/Web/CSS) [at-rule](/en-US/docs/Web/CSS/At-rule) restricts the style rules...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/text-transform/index.md
--- title: text-transform slug: Web/CSS/text-transform page-type: css-property browser-compat: css.properties.text-transform --- {{CSSRef}} The **`text-transform`** CSS property specifies how to capitalize an element's text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capit...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/border-inline-end-style/index.md
--- title: border-inline-end-style slug: Web/CSS/border-inline-end-style page-type: css-property browser-compat: css.properties.border-inline-end-style --- {{CSSRef}} The **`border-inline-end-style`** [CSS](/en-US/docs/Web/CSS) property defines the style 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/contain-intrinsic-block-size/index.md
--- title: contain-intrinsic-block-size slug: Web/CSS/contain-intrinsic-block-size page-type: css-property browser-compat: css.properties.contain-intrinsic-block-size --- {{CSSRef}} The **`contain-intrinsic-block-size`** [CSS](/en-US/docs/Web/CSS) [logical property](/en-US/docs/Web/CSS/CSS_logical_properties_and_valu...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/-webkit-border-before/index.md
--- title: "-webkit-border-before" slug: Web/CSS/-webkit-border-before page-type: css-shorthand-property status: - non-standard browser-compat: css.properties.-webkit-border-before --- {{CSSRef}}{{Non-standard_header}} The **`-webkit-border-before`** [CSS](/en-US/docs/Web/CSS) property is a shorthand property for s...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_in-range/index.md
--- title: ":in-range" slug: Web/CSS/:in-range page-type: css-pseudo-class browser-compat: css.selectors.in-range --- {{CSSRef}} The **`:in-range`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) represents an {{htmlelement("input")}} element whose current value is within the range limi...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/block-size/index.md
--- title: block-size slug: Web/CSS/block-size page-type: css-property browser-compat: css.properties.block-size --- {{CSSRef}} The **`block-size`** [CSS](/en-US/docs/Web/CSS) property defines the horizontal or vertical size of an element's block, depending on its writing mode. It corresponds to either the {{cssxref(...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/css_font_loading/index.md
--- title: CSS font loading slug: Web/CSS/CSS_font_loading page-type: css-module spec-urls: https://drafts.csswg.org/css-font-loading/ --- {{CSSRef}} The **CSS font loading** module describes events and interfaces used for dynamically loading font resources. ## Reference ### Interfaces - {{domxref("fontFace")}} in...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_enabled/index.md
--- title: ":enabled" slug: Web/CSS/:enabled page-type: css-pseudo-class browser-compat: css.selectors.enabled --- {{CSSRef}} The **`:enabled`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) represents any enabled element. An element is enabled if it can be activated (selected, clicked...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/fit-content/index.md
--- title: fit-content slug: Web/CSS/fit-content page-type: css-keyword browser-compat: css.properties.width.fit-content --- {{CSSRef}} The **`fit-content`** behaves as `fit-content(stretch)`. In practice this means that the box will use the available space, but never more than {{cssxref("max-content")}}. When used ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/mask-size/index.md
--- title: mask-size slug: Web/CSS/mask-size page-type: css-property browser-compat: css.properties.mask-size --- {{CSSRef}} The **`mask-size`** [CSS](/en-US/docs/Web/CSS) property specifies the sizes of the mask images. The size of the image can be fully or partially constrained in order to preserve its intrinsic ra...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_left/index.md
--- title: ":left" slug: Web/CSS/:left page-type: css-pseudo-class browser-compat: css.selectors.left --- {{CSSRef}} The **`:left`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes), used with the {{cssxref("@page")}} [at-rule](/en-US/docs/Web/CSS/At-rule), represents all left-hand pages ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/named-color/index.md
--- title: <named-color> slug: Web/CSS/named-color page-type: css-type browser-compat: css.types.color.named-color --- {{CSSRef}} The **`<named-color>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types) is the name of a color, such as `red`, `blue`, `black`, or `lightseagreen`. Syntactically, a `...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_-moz-broken/index.md
--- title: ":-moz-broken" slug: Web/CSS/:-moz-broken page-type: css-pseudo-class status: - non-standard browser-compat: css.selectors.-moz-broken --- {{CSSRef}}{{Non-standard_header}} The **`:-moz-broken`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) is a [Mozilla extension](/en-US...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/frequency/index.md
--- title: <frequency> slug: Web/CSS/frequency page-type: css-type browser-compat: css.types.frequency --- {{CSSRef}} The **`<frequency>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types) represents a frequency dimension, such as the pitch of a speaking voice. It is not currently used in any CSS...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/css_box_alignment/index.md
--- title: CSS box alignment slug: Web/CSS/CSS_box_alignment page-type: css-module --- {{CSSRef}} The **CSS box alignment** module specifies CSS features that relate to the alignment of boxes in the various CSS box layout models: block layout, table layout, flex layout, and grid layout. The module aims to create a co...
0
data/mdn-content/files/en-us/web/css/css_box_alignment
data/mdn-content/files/en-us/web/css/css_box_alignment/box_alignment_in_multi-column_layout/index.md
--- title: Box alignment in multi-column layout slug: Web/CSS/CSS_box_alignment/Box_alignment_in_multi-column_layout page-type: guide --- {{CSSRef}} The [box alignment](/en-US/docs/Web/CSS/CSS_box_alignment) specification details how alignment works in various layout methods; on this page we explore how Box Alignment...
0
data/mdn-content/files/en-us/web/css/css_box_alignment
data/mdn-content/files/en-us/web/css/css_box_alignment/box_alignment_in_grid_layout/index.md
--- title: Box alignment in grid layout slug: Web/CSS/CSS_box_alignment/Box_alignment_in_grid_layout page-type: guide --- {{CSSRef}} The [box alignment](/en-US/docs/Web/CSS/CSS_box_alignment) specification details how alignment works in various layout methods. On this page we explore how box alignment works in the co...
0
data/mdn-content/files/en-us/web/css/css_box_alignment
data/mdn-content/files/en-us/web/css/css_box_alignment/box_alignment_in_flexbox/index.md
--- title: Box alignment in flexbox slug: Web/CSS/CSS_box_alignment/Box_alignment_in_flexbox page-type: guide --- {{CSSRef}} The [box alignment](/en-US/docs/Web/CSS/CSS_box_alignment) Specification details how alignment works in various layout methods; on this page, we explore how box alignment works in the context o...
0
data/mdn-content/files/en-us/web/css/css_box_alignment
data/mdn-content/files/en-us/web/css/css_box_alignment/box_alignment_in_block_abspos_tables/index.md
--- title: Box alignment for block, absolutely positioned, and table layouts slug: Web/CSS/CSS_box_alignment/Box_alignment_in_block_abspos_tables page-type: guide --- The [box alignment specification](/en-US/docs/Web/CSS/CSS_box_alignment) details how alignment works in various layout methods. In this page we explore ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/appearance/index.md
--- title: appearance slug: Web/CSS/appearance page-type: css-property browser-compat: css.properties.appearance --- {{CSSRef}} The **`appearance`** CSS property is used to display UI elements with platform-specific styling, based on the operating system's theme. {{EmbedInteractiveExample("pages/css/appearance.html"...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/css_syntax/index.md
--- title: CSS syntax slug: Web/CSS/CSS_syntax page-type: css-module spec-urls: https://drafts.csswg.org/css-syntax --- {{CSSRef}} The **CSS syntax** module describes, in general terms, the structure and syntax of cascading stylesheets, or CSS. It defines CSS as the language for describing the rendering of structured...
0
data/mdn-content/files/en-us/web/css/css_syntax
data/mdn-content/files/en-us/web/css/css_syntax/error_handling/index.md
--- title: CSS error handling slug: Web/CSS/CSS_syntax/Error_handling page-type: guide --- {{CSSRef}} When an error exists in CSS, such as an invalid value or a missing semicolon, instead of [throwing an error like in JavaScript](/en-US/docs/Web/JavaScript/Reference/Errors), the browser (or other user agent) will gra...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/overlay/index.md
--- title: overlay slug: Web/CSS/overlay page-type: css-property status: - experimental browser-compat: css.properties.overlay --- {{CSSRef}}{{SeeCompatTable}} The **`overlay`** [CSS](/en-US/docs/Web/CSS) property specifies whether an element appearing in the [top layer](/en-US/docs/Glossary/Top_layer) (for example...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/env/index.md
--- title: env() slug: Web/CSS/env page-type: css-function browser-compat: css.properties.custom-property.env --- {{CSSRef}} The **`env()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) can be used to insert the value of a user-agent defined environment variable into your CSS, in a similar...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/important/index.md
--- title: "!important" slug: Web/CSS/important page-type: css-keyword --- {{CSSRef}} A `!` delimiter followed by the `important` keyword marks the declaration as important. The `!important` flag alters the rules selecting declarations inside the [cascade](/en-US/docs/Web/CSS/Cascade). A declaration that is not _impo...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/animation-range/index.md
--- title: animation-range slug: Web/CSS/animation-range page-type: css-shorthand-property status: - experimental browser-compat: css.properties.animation-range --- {{CSSRef}}{{SeeCompatTable}} The **`animation-range`** [CSS](/en-US/docs/Web/CSS) [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) is use...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/flex/index.md
--- title: flex slug: Web/CSS/flex page-type: css-shorthand-property browser-compat: css.properties.flex --- {{CSSRef}} The **`flex`** [CSS](/en-US/docs/Web/CSS) [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) sets how a flex _item_ will grow or shrink to fit the space available in its flex container. ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/font-variant-numeric/index.md
--- title: font-variant-numeric slug: Web/CSS/font-variant-numeric page-type: css-property browser-compat: css.properties.font-variant-numeric --- {{CSSRef}} The **`font-variant-numeric`** CSS property controls the usage of alternate glyphs for numbers, fractions, and ordinal markers. {{EmbedInteractiveExample("page...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/@charset/index.md
--- title: "@charset" slug: Web/CSS/@charset page-type: css-at-rule browser-compat: css.at-rules.charset --- {{CSSRef}} The **`@charset`** [CSS](/en-US/docs/Web/CSS) rule specifies the character encoding used in the style sheet. Although the first character in `@charset` is the `@` symbol, it is not an [at-rule](/en-...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/opacity/index.md
--- title: opacity slug: Web/CSS/opacity page-type: css-property browser-compat: css.properties.opacity --- {{CSSRef}} The **`opacity`** [CSS](/en-US/docs/Web/CSS) property sets the opacity of an element. Opacity is the degree to which content behind an element is hidden, and is the opposite of transparency. {{Embed...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/scroll-padding-left/index.md
--- title: scroll-padding-left slug: Web/CSS/scroll-padding-left page-type: css-property browser-compat: css.properties.scroll-padding-left --- {{CSSRef}} The `scroll-padding-left` property defines offsets for the left of the _optimal viewing region_ of the scrollport: the region used as the target region for placing...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/inset-block-start/index.md
--- title: inset-block-start slug: Web/CSS/inset-block-start page-type: css-property browser-compat: css.properties.inset-block-start --- {{CSSRef}} The **`inset-block-start`** [CSS](/en-US/docs/Web/CSS) property defines the logical block start offset of an element, which maps to a physical inset depending on the ele...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/mask-origin/index.md
--- title: mask-origin slug: Web/CSS/mask-origin page-type: css-property browser-compat: css.properties.mask-origin --- {{CSSRef}} The **`mask-origin`** [CSS](/en-US/docs/Web/CSS) property sets the origin of a mask. For elements rendered as a single box, this property specifies the mask positioning area. In other wo...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/border-block-end/index.md
--- title: border-block-end slug: Web/CSS/border-block-end page-type: css-shorthand-property browser-compat: css.properties.border-block-end --- {{CSSRef}} The **`border-block-end`** [CSS](/en-US/docs/Web/CSS) property is a [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) for setting the individual logi...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/place-items/index.md
--- title: place-items slug: Web/CSS/place-items page-type: css-shorthand-property browser-compat: css.properties.place-items --- {{CSSRef}} The [CSS](/en-US/docs/Web/CSS) **`place-items`** [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) allows you to align items along both the block and inline directi...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_valid/index.md
--- title: ":valid" slug: Web/CSS/:valid page-type: css-pseudo-class browser-compat: css.selectors.valid --- {{CSSRef}} The **`:valid`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) represents any {{HTMLElement("input")}} or other {{HTMLElement("form")}} element whose contents [valida...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/cascade/index.md
--- title: Introducing the CSS Cascade slug: Web/CSS/Cascade page-type: guide spec-urls: https://drafts.csswg.org/css-cascade/ --- {{CSSRef}} The **cascade** is an algorithm that defines how user agents combine property values originating from different sources. The cascade defines the origin and layer that takes pre...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/font-optical-sizing/index.md
--- title: font-optical-sizing slug: Web/CSS/font-optical-sizing page-type: css-property browser-compat: css.properties.font-optical-sizing --- {{CSSRef}} The **`font-optical-sizing`** [CSS](/en-US/docs/Web/CSS) property sets whether text rendering is optimized for viewing at different sizes. {{EmbedInteractiveExamp...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/mask/index.md
--- title: mask slug: Web/CSS/mask page-type: css-shorthand-property browser-compat: css.properties.mask --- {{CSSRef}} The **`mask`** [CSS](/en-US/docs/Web/CSS) [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) hides an element (partially or fully) by masking or clipping the image at specific points. >...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/accent-color/index.md
--- title: accent-color slug: Web/CSS/accent-color page-type: css-property browser-compat: css.properties.accent-color --- {{CSSRef}} The **`accent-color`** [CSS](/en-US/docs/Web/CSS) property sets the {{Glossary("accent")}} color for user-interface controls generated by some elements. {{EmbedInteractiveExample("pag...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/inherit/index.md
--- title: inherit slug: Web/CSS/inherit page-type: css-keyword browser-compat: css.types.global_keywords.inherit --- {{CSSRef}} The **`inherit`** CSS keyword causes the element to take the [computed value](/en-US/docs/Web/CSS/computed_value) of the property from its parent element. It can be applied to any CSS prope...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/length-percentage/index.md
--- title: <length-percentage> slug: Web/CSS/length-percentage page-type: css-type browser-compat: css.types.length-percentage --- {{CSSRef}} The **`<length-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("length")}} or a {{Cssxref...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/mask-border-outset/index.md
--- title: mask-border-outset slug: Web/CSS/mask-border-outset page-type: css-property browser-compat: css.properties.mask-border-outset --- {{CSSRef}} The **`mask-border-outset`** [CSS](/en-US/docs/Web/CSS) property specifies the distance by which an element's [mask border](/en-US/docs/Web/CSS/mask-border) is set ou...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/font-feature-settings/index.md
--- title: font-feature-settings slug: Web/CSS/font-feature-settings page-type: css-property browser-compat: css.properties.font-feature-settings --- {{CSSRef}} The **`font-feature-settings`** CSS property controls advanced typographic features in OpenType fonts. {{EmbedInteractiveExample("pages/css/font-feature-set...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/attribute_selectors/index.md
--- title: Attribute selectors slug: Web/CSS/Attribute_selectors page-type: css-selector browser-compat: css.selectors.attribute --- {{CSSRef}} The CSS **attribute selector** matches elements based on the element having a given attribute explicitly set, with options for defining an attribute value or substring value ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/mask-type/index.md
--- title: mask-type slug: Web/CSS/mask-type page-type: css-property browser-compat: css.properties.mask-type --- {{CSSRef}} The **`mask-type`** [CSS](/en-US/docs/Web/CSS) property sets whether an SVG {{svgElement("mask")}} element is used as a _luminance_ or an _alpha_ mask. It applies to the `<mask>` element itself...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/repeat/index.md
--- title: repeat() slug: Web/CSS/repeat page-type: css-function browser-compat: css.properties.grid-template-columns.repeat --- {{CSSRef}} The **`repeat()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) represents a repeated fragment of the [track list](/en-US/docs/Web/CSS/CSS_grid_layout...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/object-fit/index.md
--- title: object-fit slug: Web/CSS/object-fit page-type: css-property browser-compat: css.properties.object-fit --- {{CSSRef}} The **`object-fit`** [CSS](/en-US/docs/Web/CSS) property sets how the content of a [replaced element](/en-US/docs/Web/CSS/Replaced_element), such as an {{HTMLElement("img")}} or {{HTMLElemen...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/-webkit-text-fill-color/index.md
--- title: "-webkit-text-fill-color" slug: Web/CSS/-webkit-text-fill-color page-type: css-property browser-compat: css.properties.-webkit-text-fill-color --- {{CSSRef}} The **`-webkit-text-fill-color`** CSS property specifies the fill [color](/en-US/docs/Web/CSS/color_value) of characters of text. If this property is...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/display-legacy/index.md
--- title: <display-legacy> slug: Web/CSS/display-legacy page-type: css-type browser-compat: - css.properties.display.inline-block - css.properties.display.inline-table - css.properties.display.inline-flex - css.properties.display.inline-grid spec-urls: https://drafts.csswg.org/css-display/#typedef-display-lega...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/abs/index.md
--- title: abs() slug: Web/CSS/abs page-type: css-function browser-compat: css.types.abs --- {{CSSRef}} The **`abs()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) returns the absolute value of the argument, as the same type as the input. ## Syntax ```css /* property: abs(expression) */...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/padding-bottom/index.md
--- title: padding-bottom slug: Web/CSS/padding-bottom page-type: css-property browser-compat: css.properties.padding-bottom --- {{CSSRef}} The **`padding-bottom`** [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_are...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/padding-bottom/padding-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