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/@namespace/index.md | ---
title: "@namespace"
slug: Web/CSS/@namespace
page-type: css-at-rule
browser-compat: css.at-rules.namespace
---
{{CSSRef}}
**`@namespace`** is an [at-rule](/en-US/docs/Web/CSS/At-rule) that defines XML [namespaces](/en-US/docs/Glossary/Namespace) to be used in a [CSS](/en-US/docs/Glossary/CSS) [style sheet](/en-US... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/scroll-margin-inline-start/index.md | ---
title: scroll-margin-inline-start
slug: Web/CSS/scroll-margin-inline-start
page-type: css-property
browser-compat: css.properties.scroll-margin-inline-start
---
{{CSSRef}}
The `scroll-margin-inline-start` property defines the margin of the scroll snap area at the start of the inline dimension that is used for sna... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/cursor/index.md | ---
title: cursor
slug: Web/CSS/cursor
page-type: css-property
browser-compat: css.properties.cursor
---
{{CSSRef}}
The **`cursor`** [CSS](/en-US/docs/Web/CSS) property sets the mouse cursor, if any, to show when the mouse pointer is over an element.
The cursor setting should inform users of the mouse operations tha... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_colon_first/index.md | ---
title: ":first"
slug: Web/CSS/:first
page-type: css-pseudo-class
browser-compat: css.selectors.first
---
{{CSSRef}}
The **`:first`** [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 the first page o... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/scroll-padding-bottom/index.md | ---
title: scroll-padding-bottom
slug: Web/CSS/scroll-padding-bottom
page-type: css-property
browser-compat: css.properties.scroll-padding-bottom
---
{{CSSRef}}
The `scroll-padding-bottom` property defines offsets for the bottom of the _optimal viewing region_ of the scrollport: the region used as the target region f... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/overflow-inline/index.md | ---
title: overflow-inline
slug: Web/CSS/overflow-inline
page-type: css-property
browser-compat: css.properties.overflow-inline
---
{{CSSRef}}
The **`overflow-inline`** [CSS](/en-US/docs/Web/CSS) property sets what shows when content overflows the inline start and end edges of a box. This may be nothing, a scroll bar... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/scaling_of_svg_backgrounds/index.md | ---
title: Scaling of SVG backgrounds
slug: Web/CSS/Scaling_of_SVG_backgrounds
page-type: guide
---
{{CSSRef}}
Given the flexibility of SVG images, there's a lot to keep in mind when using them as background images with the {{ cssxref("background-image") }} property, and even more to keep in mind when also scaling th... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_doublecolon_first-line/index.md | ---
title: "::first-line"
slug: Web/CSS/::first-line
page-type: css-pseudo-element
browser-compat: css.selectors.first-line
---
{{CSSRef}}
The **`::first-line`** [CSS](/en-US/docs/Web/CSS) [pseudo-element](/en-US/docs/Web/CSS/Pseudo-elements) applies styles to the first line of a [block container](/en-US/docs/Web/CSS... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_colon_local-link/index.md | ---
title: ":local-link"
slug: Web/CSS/:local-link
page-type: css-pseudo-class
spec-urls: https://drafts.csswg.org/selectors/#local-link-pseudo
---
{{CSSRef}}
The **`:local-link`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) represents a link to the same document. Therefore an elemen... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/grid-row-start/index.md | ---
title: grid-row-start
slug: Web/CSS/grid-row-start
page-type: css-property
browser-compat: css.properties.grid-row-start
---
{{CSSRef}}
The **`grid-row-start`** CSS property specifies a grid item's start position within the grid row by contributing a line, a span, or nothing (automatic) to its grid placement, the... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/animation-name/index.md | ---
title: animation-name
slug: Web/CSS/animation-name
page-type: css-property
browser-compat: css.properties.animation-name
---
{{CSSRef}}
The **`animation-name`** [CSS](/en-US/docs/Web/CSS) property specifies the names of one or more {{cssxref("@keyframes")}} at-rules that describe the animation to apply to an elem... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/contain-intrinsic-size/index.md | ---
title: contain-intrinsic-size
slug: Web/CSS/contain-intrinsic-size
page-type: css-shorthand-property
browser-compat: css.properties.contain-intrinsic-size
---
{{CSSRef}}
The **`contain-intrinsic-size`** [CSS](/en-US/docs/Web/CSS) [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) sets the size of an e... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/css_shadow_parts/index.md | ---
title: CSS shadow parts
slug: Web/CSS/CSS_shadow_parts
page-type: css-module
spec-urls: https://drafts.csswg.org/css-shadow-parts/
---
{{CSSRef}}
The **CSS shadow parts** module defines the {{CSSXref("::part", "::part()")}} pseudo-element that can be set on a [shadow host](/en-US/docs/Glossary/Shadow_tree). Using... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/pseudo-classes/index.md | ---
title: Pseudo-classes
slug: Web/CSS/Pseudo-classes
page-type: landing-page
spec-urls:
- https://html.spec.whatwg.org/multipage/#pseudo-classes
- https://drafts.csswg.org/selectors/
- https://drafts.csswg.org/css-ui/
---
{{CSSRef}}
A [CSS](/en-US/docs/Web/CSS) **_pseudo-class_** is a keyword added to a selec... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/css_text/index.md | ---
title: CSS text
slug: Web/CSS/CSS_text
page-type: css-module
spec-urls:
- https://drafts.csswg.org/css-logical/
- https://drafts.csswg.org/css-text/
- https://drafts.csswg.org/css-text-4/
---
{{CSSRef}}
The **CSS text** module defines how to perform text manipulation, like line breaking, justification and a... | 0 |
data/mdn-content/files/en-us/web/css/css_text | data/mdn-content/files/en-us/web/css/css_text/wrapping_breaking_text/index.md | ---
title: Wrapping and breaking text
slug: Web/CSS/CSS_text/Wrapping_breaking_text
page-type: guide
---
{{CSSRef}}
This guide explains the various ways in which overflowing text can be managed in CSS.
## What is overflowing text?
In CSS, if you have an unbreakable string such as a very long word, by default it wil... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_doublecolon_marker/index.md | ---
title: "::marker"
slug: Web/CSS/::marker
page-type: css-pseudo-element
browser-compat: css.selectors.marker
---
{{CSSRef}}
The **`::marker`** [CSS](/en-US/docs/Web/CSS) [pseudo-element](/en-US/docs/Web/CSS/Pseudo-elements) selects the marker box of a list item, which typically contains a bullet or number. It work... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/display-outside/index.md | ---
title: <display-outside>
slug: Web/CSS/display-outside
page-type: css-type
browser-compat: css.properties.display.display-outside
---
{{CSSRef}}
The `<display-outside>` keywords specify the element's outer {{CSSxRef("display")}} type, which is essentially its role in flow layout. These keywords are used as values... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/overflow-anchor/index.md | ---
title: overflow-anchor
slug: Web/CSS/overflow-anchor
page-type: css-property
browser-compat: css.properties.overflow-anchor
---
{{CSSRef}}
The **`overflow-anchor`** [CSS](/en-US/docs/Web/CSS) property provides a way to opt out of the browser's scroll anchoring behavior, which adjusts scroll position to minimize c... | 0 |
data/mdn-content/files/en-us/web/css/overflow-anchor | data/mdn-content/files/en-us/web/css/overflow-anchor/guide_to_scroll_anchoring/index.md | ---
title: Guide to scroll anchoring
slug: Web/CSS/overflow-anchor/Guide_to_scroll_anchoring
page-type: guide
browser-compat: css.properties.overflow-anchor
---
{{CSSRef}}
As a user of the web, you are probably familiar with the problem that scroll anchoring solves. You browse to a long page on a slow connection and ... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/mask-border-repeat/index.md | ---
title: mask-border-repeat
slug: Web/CSS/mask-border-repeat
page-type: css-property
browser-compat: css.properties.mask-border-repeat
---
{{CSSRef}}
The **`mask-border-repeat`** [CSS](/en-US/docs/Web/CSS) property sets how the [edge regions](/en-US/docs/Web/CSS/border-image-slice#edge-regions) of a source image ar... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/css_cascading_variables/index.md | ---
title: CSS custom properties for cascading variables
slug: Web/CSS/CSS_cascading_variables
page-type: css-module
spec-urls: https://drafts.csswg.org/css-variables/
---
{{CSSRef}}
The **CSS custom properties for cascading variables** module adds support for cascading variables in CSS properties and lets you create... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_colon_required/index.md | ---
title: ":required"
slug: Web/CSS/:required
page-type: css-pseudo-class
browser-compat: css.selectors.required
---
{{CSSRef}}
The **`:required`** [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/scale/index.md | ---
title: scale
slug: Web/CSS/scale
page-type: css-property
browser-compat: css.properties.scale
---
{{CSSRef}}
The **`scale`** [CSS](/en-US/docs/Web/CSS) property allows you to specify scale transforms individually and independently of the {{CSSxRef("transform")}} property. This maps better to typical user interfac... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/absolute-size/index.md | ---
title: <absolute-size>
slug: Web/CSS/absolute-size
page-type: css-type
spec-urls: https://drafts.csswg.org/css-fonts/#valdef-font-size-absolute-size
---
{{CSSRef}}
The **`<absolute-size>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types) describes the absolute size keywords. This data type i... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/css_types/index.md | ---
title: CSS data types
slug: Web/CSS/CSS_Types
page-type: guide
spec-urls: https://drafts.csswg.org/css-values/
---
{{CSSRef}}
**CSS data types** define typical values (including keywords and units) accepted by CSS properties and functions. They are a special kind of [component value type](https://www.w3.org/TR/cs... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/animation-fill-mode/index.md | ---
title: animation-fill-mode
slug: Web/CSS/animation-fill-mode
page-type: css-property
browser-compat: css.properties.animation-fill-mode
---
{{CSSRef}}
The **`animation-fill-mode`** [CSS](/en-US/docs/Web/CSS) property sets how a CSS animation applies styles to its target before and after its execution.
{{EmbedInt... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/scroll-margin-block-end/index.md | ---
title: scroll-margin-block-end
slug: Web/CSS/scroll-margin-block-end
page-type: css-property
browser-compat: css.properties.scroll-margin-block-end
---
{{CSSRef}}
The `scroll-margin-block-end` property defines the margin of the scroll snap area at the end of the block dimension that is used for snapping this box ... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/resolution/index.md | ---
title: <resolution>
slug: Web/CSS/resolution
page-type: css-type
browser-compat: css.types.resolution
---
{{CSSRef}}
The **`<resolution>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types), used for describing [resolutions](/en-US/docs/Web/CSS/@media/resolution) in [media queries](/en-US/docs... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/flex-flow/index.md | ---
title: flex-flow
slug: Web/CSS/flex-flow
page-type: css-shorthand-property
browser-compat: css.properties.flex-flow
---
{{CSSRef}}
The **`flex-flow`** [CSS](/en-US/docs/Web/CSS) [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) specifies the direction of a flex container, as well as its wrapping beha... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/-webkit-mask-position-x/index.md | ---
title: "-webkit-mask-position-x"
slug: Web/CSS/-webkit-mask-position-x
page-type: css-property
status:
- non-standard
browser-compat: css.properties.-webkit-mask-position-x
---
{{CSSRef}}{{Non-standard_header}}
The `-webkit-mask-position-x` CSS property sets the initial horizontal position of a mask image.
## ... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/margin-inline-end/index.md | ---
title: margin-inline-end
slug: Web/CSS/margin-inline-end
page-type: css-property
browser-compat: css.properties.margin-inline-end
---
{{CSSRef}}
The **`margin-inline-end`** [CSS](/en-US/docs/Web/CSS) property defines the logical inline end margin of an element, which maps to a physical margin depending on the ele... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/perspective-origin/index.md | ---
title: perspective-origin
slug: Web/CSS/perspective-origin
page-type: css-property
browser-compat: css.properties.perspective-origin
---
{{CSSRef}}
The **`perspective-origin`** [CSS](/en-US/docs/Web/CSS) property determines the position at which the viewer is looking. It is used as the _vanishing point_ by the {{... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_colon_-moz-handler-crashed/index.md | ---
title: ":-moz-handler-crashed"
slug: Web/CSS/:-moz-handler-crashed
page-type: css-pseudo-class
status:
- non-standard
---
{{CSSRef}} {{Non-standard_header}}
The **`:-moz-handler-crashed`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) is a [Mozilla extension](/en-US/docs/Web/CSS/... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/border-block-style/index.md | ---
title: border-block-style
slug: Web/CSS/border-block-style
page-type: css-property
browser-compat: css.properties.border-block-style
---
{{CSSRef}}
The **`border-block-style`** [CSS](/en-US/docs/Web/CSS) property defines the style of the logical block borders of an element, which maps to a physical border style d... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/css_box_model/index.md | ---
title: CSS box model
slug: Web/CSS/CSS_box_model
page-type: css-module
spec-urls: https://drafts.csswg.org/css-box/
---
{{CSSRef}}
The **CSS box model** module defines the rectangular boxes, including their padding and margin, that are generated for elements and laid out according to the [visual formatting model]... | 0 |
data/mdn-content/files/en-us/web/css/css_box_model | data/mdn-content/files/en-us/web/css/css_box_model/mastering_margin_collapsing/index.md | ---
title: Mastering margin collapsing
slug: Web/CSS/CSS_box_model/Mastering_margin_collapsing
page-type: guide
---
{{CSSRef}}
The [top](/en-US/docs/Web/CSS/margin-top) and [bottom](/en-US/docs/Web/CSS/margin-bottom) margins of blocks are sometimes combined (collapsed) into a single margin whose size is the largest o... | 0 |
data/mdn-content/files/en-us/web/css/css_box_model | data/mdn-content/files/en-us/web/css/css_box_model/introduction_to_the_css_box_model/index.md | ---
title: Introduction to the CSS basic box model
slug: Web/CSS/CSS_box_model/Introduction_to_the_CSS_box_model
page-type: guide
---
{{CSSRef}}
When laying out a document, the browser's rendering engine represents each element as a rectangular box according to the standard **CSS basic box model**. CSS determines the... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/@scope/index.md | ---
title: "@scope"
slug: Web/CSS/@scope
page-type: css-at-rule
browser-compat: css.at-rules.scope
---
{{CSSRef}}
The **`@scope`** [CSS](/en-US/docs/Web/CSS) [at-rule](/en-US/docs/Web/CSS/At-rule) enables you to select elements in specific DOM subtrees, targeting elements precisely without writing overly-specific sel... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/place-content/index.md | ---
title: place-content
slug: Web/CSS/place-content
page-type: css-shorthand-property
browser-compat: css.properties.place-content
---
{{CSSRef}}
The **`place-content`** [CSS](/en-US/docs/Web/CSS) [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) allows you to align content along both the block and inli... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/background-repeat/index.md | ---
title: background-repeat
slug: Web/CSS/background-repeat
page-type: css-property
browser-compat: css.properties.background-repeat
---
{{CSSRef}}
The **`background-repeat`** [CSS](/en-US/docs/Web/CSS) property sets how background images are repeated. A background image can be repeated along the horizontal and vert... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_doublecolon_cue-region/index.md | ---
title: "::cue-region"
slug: Web/CSS/::cue-region
page-type: css-pseudo-element
browser-compat: css.selectors.cue-region
spec-urls: https://w3c.github.io/webvtt/#the-cue-region-pseudo-element
---
{{CSSRef}}{{SeeCompatTable}}
The **`::cue-region`** [CSS](/en-US/docs/Web/CSS) [pseudo-element](/en-US/docs/Web/CSS/Pse... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/contain/index.md | ---
title: contain
slug: Web/CSS/contain
page-type: css-property
browser-compat: css.properties.contain
---
{{CSSRef}}
The **`contain`** [CSS](/en-US/docs/Web/CSS) property indicates that an element and its contents are, as much as possible, independent from the rest of the document tree.
Containment enables isolatin... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/css_generated_content/index.md | ---
title: CSS generated content
slug: Web/CSS/CSS_generated_content
page-type: css-module
spec-urls: https://drafts.csswg.org/css-content/
---
{{CSSRef}}
The **CSS generated content** module defines how an element's content can be replaced and content can be added to a document with CSS.
Generated content can be us... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/mask-border-slice/index.md | ---
title: mask-border-slice
slug: Web/CSS/mask-border-slice
page-type: css-property
browser-compat: css.properties.mask-border-slice
---
{{CSSRef}}
The **`mask-border-slice`** [CSS](/en-US/docs/Web/CSS) property divides the image set by {{cssxref("mask-border-source")}} into regions. These regions are used to form t... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/border-block-start-style/index.md | ---
title: border-block-start-style
slug: Web/CSS/border-block-start-style
page-type: css-property
browser-compat: css.properties.border-block-start-style
---
{{CSSRef}}
The **`border-block-start-style`** [CSS](/en-US/docs/Web/CSS) property defines the style 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/border-block-start-width/index.md | ---
title: border-block-start-width
slug: Web/CSS/border-block-start-width
page-type: css-property
browser-compat: css.properties.border-block-start-width
---
{{CSSRef}}
The **`border-block-start-width`** [CSS](/en-US/docs/Web/CSS) property defines the width 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/column-count/index.md | ---
title: column-count
slug: Web/CSS/column-count
page-type: css-property
browser-compat: css.properties.column-count
---
{{CSSRef}}
The **`column-count`** [CSS](/en-US/docs/Web/CSS) property breaks an element's content into the specified number of columns.
{{EmbedInteractiveExample("pages/css/column-count.html")}}... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/perspective/index.md | ---
title: perspective
slug: Web/CSS/perspective
page-type: css-property
browser-compat: css.properties.perspective
---
{{CSSRef}}
The **`perspective`** [CSS](/en-US/docs/Web/CSS) property determines the distance between the z=0 plane and the user in order to give a 3D-positioned element some perspective.
{{EmbedInt... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/fit-content_function/index.md | ---
title: fit-content()
slug: Web/CSS/fit-content_function
page-type: css-function
browser-compat:
- css.properties.grid-template-columns.fit-content
- css.properties.width.fit-content_function
---
{{CSSRef}}
The **`fit-content()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) clamps ... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/clear/index.md | ---
title: clear
slug: Web/CSS/clear
page-type: css-property
browser-compat: css.properties.clear
---
{{CSSRef}}
The **`clear`** [CSS](/en-US/docs/Web/CSS) property sets whether an element must be moved below (cleared) [floating](/en-US/docs/Web/CSS/float) elements that precede it. The `clear` property applies to flo... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/nesting_selector/index.md | ---
title: "& nesting selector"
slug: Web/CSS/Nesting_selector
page-type: css-selector
browser-compat: css.selectors.nesting
---
{{CSSRef}}
The CSS **`&` nesting selector** explicitly states the relationship between parent and child rules when using [CSS nesting](/en-US/docs/Web/CSS/CSS_nesting). It makes the nested ... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/dashed-ident/index.md | ---
title: <dashed-ident>
slug: Web/CSS/dashed-ident
page-type: css-type
spec-urls: https://drafts.csswg.org/css-values/#dashed-idents
---
{{CSSRef}}
The **`<dashed-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")}}.
## Sy... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/css_fonts/index.md | ---
title: CSS fonts
slug: Web/CSS/CSS_fonts
page-type: css-module
spec-urls: https://drafts.csswg.org/css-fonts/
---
{{CSSRef}}
The **CSS fonts** module defines font-related properties and how font resources are loaded. It lets you define the style of a font, such as its family, size and weight, and the glyph varian... | 0 |
data/mdn-content/files/en-us/web/css/css_fonts | data/mdn-content/files/en-us/web/css/css_fonts/woff/index.md | ---
title: The Web Open Font Format (WOFF)
slug: Web/CSS/CSS_fonts/WOFF
page-type: guide
browser-compat:
- css.at-rules.font-face.WOFF
- css.at-rules.font-face.WOFF_2
---
**WOFF** (the **Web Open Font Format**) is a web font format developed by Mozilla in concert with Type Supply, LettError, and other organization... | 0 |
data/mdn-content/files/en-us/web/css/css_fonts | data/mdn-content/files/en-us/web/css/css_fonts/opentype_fonts_guide/index.md | ---
title: OpenType font features guide
slug: Web/CSS/CSS_fonts/OpenType_fonts_guide
page-type: guide
---
{{CSSRef}}
Font features or variants refer to different glyphs or character styles contained within an OpenType font. These include things like ligatures (special glyphs that combine characters like 'fi' or 'ffl'... | 0 |
data/mdn-content/files/en-us/web/css/css_fonts | data/mdn-content/files/en-us/web/css/css_fonts/variable_fonts_guide/index.md | ---
title: Variable fonts guide
slug: Web/CSS/CSS_fonts/Variable_fonts_guide
page-type: guide
---
{{CSSRef}}
**Variable fonts** are an evolution of the OpenType font specification that enables many different variations of a typeface to be incorporated into a single file, rather than having a separate font file for ev... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/max-width/index.md | ---
title: max-width
slug: Web/CSS/max-width
page-type: css-property
browser-compat: css.properties.max-width
---
{{CSSRef}}
The **`max-width`** [CSS](/en-US/docs/Web/CSS) property sets the maximum width of an element. It prevents the [used value](/en-US/docs/Web/CSS/used_value) of the {{cssxref("width")}} property f... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_doublecolon_view-transition/index.md | ---
title: "::view-transition"
slug: Web/CSS/::view-transition
page-type: css-pseudo-element
status:
- experimental
browser-compat: css.selectors.view-transition
---
{{CSSRef}}{{SeeCompatTable}}
The **`::view-transition`** [CSS](/en-US/docs/Web/CSS) [pseudo-element](/en-US/docs/Web/CSS/Pseudo-elements) represents t... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/touch-action/index.md | ---
title: touch-action
slug: Web/CSS/touch-action
page-type: css-property
browser-compat: css.properties.touch-action
---
{{CSSRef}}
The **`touch-action`** CSS property sets how an element's region can be manipulated by a touchscreen user (for example, by zooming features built into the browser).
By default, pannin... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/padding-block/index.md | ---
title: padding-block
slug: Web/CSS/padding-block
page-type: css-shorthand-property
browser-compat: css.properties.padding-block
---
{{CSSRef}}
The **`padding-block`** [CSS](/en-US/docs/Web/CSS) [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) defines the logical block start and end padding of an ele... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/display-listitem/index.md | ---
title: <display-listitem>
slug: Web/CSS/display-listitem
page-type: css-type
browser-compat: css.properties.display.list-item
---
{{CSSRef}}
The `list-item` keyword causes the element to generate a `::marker` pseudo-element with the content specified by its {{CSSxRef("list-style")}} properties (for example a bull... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/-webkit-mask-position-y/index.md | ---
title: "-webkit-mask-position-y"
slug: Web/CSS/-webkit-mask-position-y
page-type: css-property
status:
- non-standard
browser-compat: css.properties.-webkit-mask-position-y
---
{{CSSRef}}{{Non-standard_header}}
The `-webkit-mask-position-y` CSS property sets the initial vertical position of a mask image.
## Sy... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/-moz-user-input/index.md | ---
title: "-moz-user-input"
slug: Web/CSS/-moz-user-input
page-type: css-property
status:
- deprecated
- non-standard
browser-compat: css.properties.-moz-user-input
---
{{CSSRef}}{{Non-standard_Header}}{{Deprecated_Header}}
In Mozilla applications, **`-moz-user-input`** determines if an element will accept user ... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/-webkit-text-stroke-color/index.md | ---
title: "-webkit-text-stroke-color"
slug: Web/CSS/-webkit-text-stroke-color
page-type: css-property
browser-compat: css.properties.-webkit-text-stroke-color
---
{{CSSRef}}
The **`-webkit-text-stroke-color`** CSS property specifies the stroke [color](/en-US/docs/Web/CSS/color_value) of characters of text. If this p... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/revert/index.md | ---
title: revert
slug: Web/CSS/revert
page-type: css-keyword
browser-compat: css.types.global_keywords.revert
---
{{CSSRef}}
The **`revert`** CSS keyword reverts the cascaded value of the property from its current value to the value the property would have had if no changes had been made by the current **{{Glossary(... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_colon_-moz-loading/index.md | ---
title: ":-moz-loading"
slug: Web/CSS/:-moz-loading
page-type: css-pseudo-class
status:
- non-standard
---
{{CSSRef}}{{Non-standard_header}}
The **`:-moz-loading`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) is a [Mozilla extension](/en-US/docs/Web/CSS/Mozilla_Extensions) that ... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/round/index.md | ---
title: round()
slug: Web/CSS/round
page-type: css-function
browser-compat: css.types.round
---
{{CSSRef}}
The **`round()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) returns a rounded number based on a selected rounding strategy.
Authors should use a [custom CSS property](/en-US/do... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/initial/index.md | ---
title: initial
slug: Web/CSS/initial
page-type: css-keyword
browser-compat: css.types.global_keywords.initial
---
{{CSSRef}}
The **`initial`** CSS keyword applies the [initial (or default) value](/en-US/docs/Web/CSS/initial_value) of a property to an element. It can be applied to any CSS property, including the C... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/font-synthesis/index.md | ---
title: font-synthesis
slug: Web/CSS/font-synthesis
page-type: css-property
browser-compat: css.properties.font-synthesis
---
{{CSSRef}}
The **`font-synthesis`** [shorthand](/en-US/docs/Web/CSS/Shorthand_properties) [CSS](/en-US/docs/Web/CSS) property lets you specify whether or not the browser may synthesize the ... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/symbols/index.md | ---
title: symbols()
slug: Web/CSS/symbols
page-type: css-function
browser-compat: css.properties.list-style-type.symbols
---
{{CSSRef}}
The **`symbols()`** CSS function enables defining counter styles inline, directly as a value of properties such as {{cssxref("list-style")}}, providing a less powerful but simpler a... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/box-flex-group/index.md | ---
title: box-flex-group
slug: Web/CSS/box-flex-group
page-type: css-property
status:
- deprecated
- non-standard
browser-compat: css.properties.box-flex-group
---
{{CSSRef}}{{Non-standard_Header}}{{Deprecated_Header}}
> **Warning:** This is a property of the original CSS Flexible Box Layout Module draft. It has... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/contain-intrinsic-height/index.md | ---
title: contain-intrinsic-height
slug: Web/CSS/contain-intrinsic-height
page-type: css-property
browser-compat: css.properties.contain-intrinsic-height
---
{{CSSRef}}
The **`contain-intrinsic-length`** [CSS](/en-US/docs/Web/CSS) property sets the height of an element that a browser can use for layout when the elem... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/font-synthesis-small-caps/index.md | ---
title: font-synthesis-small-caps
slug: Web/CSS/font-synthesis-small-caps
page-type: css-property
browser-compat: css.properties.font-synthesis-small-caps
---
{{CSSRef}}
The **`font-synthesis-small-caps`** [CSS](/en-US/docs/Web/CSS) property lets you specify whether or not the browser may synthesize small-caps typ... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/text-rendering/index.md | ---
title: text-rendering
slug: Web/CSS/text-rendering
page-type: css-property
browser-compat: css.properties.text-rendering
---
{{CSSRef}}
The **`text-rendering`** CSS property provides information to the rendering engine about what to optimize for when rendering text.
The browser makes trade-offs among speed, legi... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/acos/index.md | ---
title: acos()
slug: Web/CSS/acos
page-type: css-function
browser-compat: css.types.acos
---
{{CSSRef}}
The **`acos()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) is a trigonometric function that returns the inverse cosine of a number between `-1` and `1`. The function contains a sin... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/align-self/index.md | ---
title: align-self
slug: Web/CSS/align-self
page-type: css-property
browser-compat: css.properties.align-self
---
{{CSSRef}}
The **`align-self`** [CSS](/en-US/docs/Web/CSS) property overrides a grid or flex item's {{cssxref("align-items")}} value. In Grid, it aligns the item inside the {{glossary("Grid Areas", "gr... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/mask-border-source/index.md | ---
title: mask-border-source
slug: Web/CSS/mask-border-source
page-type: css-property
browser-compat: css.properties.mask-border-source
---
{{CSSRef}}
The **`mask-border-source`** [CSS](/en-US/docs/Web/CSS) property sets the source image used to create an element's [mask border](/en-US/docs/Web/CSS/mask-border).
Th... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/unicode-bidi/index.md | ---
title: unicode-bidi
slug: Web/CSS/unicode-bidi
page-type: css-property
browser-compat: css.properties.unicode-bidi
---
{{CSSRef}}
The **`unicode-bidi`** [CSS](/en-US/docs/Web/CSS) property, together with the {{cssxref("direction")}} property, determines how bidirectional text in a document is handled. For example... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/tab-size/index.md | ---
title: tab-size
slug: Web/CSS/tab-size
page-type: css-property
browser-compat: css.properties.tab-size
---
{{CSSRef}}
The **`tab-size`** CSS property is used to customize the width of tab characters (U+0009).
{{EmbedInteractiveExample("pages/css/tab-size.html")}}
## Syntax
```css
/* <integer> values */
tab-siz... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_doublecolon_file-selector-button/index.md | ---
title: "::file-selector-button"
slug: Web/CSS/::file-selector-button
page-type: css-pseudo-element
browser-compat: css.selectors.file-selector-button
---
{{CSSRef}}
The **`::file-selector-button`** [CSS](/en-US/docs/Web/CSS) [pseudo-element](/en-US/docs/Web/CSS/Pseudo-elements) represents the button of an {{HTMLE... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/align-tracks/index.md | ---
title: align-tracks
slug: Web/CSS/align-tracks
page-type: css-property
status:
- experimental
browser-compat: css.properties.align-tracks
---
{{CSSRef}}{{SeeCompatTable}}
The **`align-tracks`** CSS property sets the alignment in the masonry axis for grid containers that have [masonry](/en-US/docs/Web/CSS/CSS_gr... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_colon_defined/index.md | ---
title: ":defined"
slug: Web/CSS/:defined
page-type: css-pseudo-class
browser-compat: css.selectors.defined
---
{{CSSRef}}
The **`:defined`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) represents any element that has been defined. This includes any standard element built in to th... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/math-depth/index.md | ---
title: math-depth
slug: Web/CSS/math-depth
page-type: css-property
browser-compat: css.properties.math-depth
---
{{CSSRef}}
The **`math-depth`** property describes a notion of _depth_ for each element of a mathematical formula, with respect to the top-level container of that formula. This is used to scale the com... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/@property/index.md | ---
title: "@property"
slug: Web/CSS/@property
page-type: css-at-rule
browser-compat: css.at-rules.property
---
{{CSSRef}}
The **`@property`** [CSS](/en-US/docs/Web/CSS) [at-rule](/en-US/docs/Web/CSS/At-rule) is part of the [CSS Houdini](/en-US/docs/Web/API/Houdini_APIs) umbrella of APIs. It allows developers to expl... | 0 |
data/mdn-content/files/en-us/web/css/@property | data/mdn-content/files/en-us/web/css/@property/syntax/index.md | ---
title: syntax
slug: Web/CSS/@property/syntax
page-type: css-at-rule-descriptor
browser-compat: css.at-rules.property.syntax
---
{{CSSRef}}
The **`syntax`** [CSS](/en-US/docs/Web/CSS) descriptor is required when using the {{cssxref("@property")}} [at-rule](/en-US/docs/Web/CSS/At-rule) and describes the allowable s... | 0 |
data/mdn-content/files/en-us/web/css/@property | data/mdn-content/files/en-us/web/css/@property/inherits/index.md | ---
title: inherits
slug: Web/CSS/@property/inherits
page-type: css-at-rule-descriptor
browser-compat: css.at-rules.property.inherits
---
{{CSSRef}}
The **`inherits`** [CSS](/en-US/docs/Web/CSS) descriptor is required when using the {{cssxref("@property")}} [at-rule](/en-US/docs/Web/CSS/At-rule) and controls whether ... | 0 |
data/mdn-content/files/en-us/web/css/@property | data/mdn-content/files/en-us/web/css/@property/initial-value/index.md | ---
title: initial-value
slug: Web/CSS/@property/initial-value
page-type: css-at-rule-descriptor
browser-compat: css.at-rules.property.initial-value
---
{{CSSRef}}
The **`initial-value`** [CSS](/en-US/docs/Web/CSS) descriptor is required when using the {{cssxref("@property")}} [at-rule](/en-US/docs/Web/CSS/At-rule) u... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_doublecolon_highlight/index.md | ---
title: "::highlight()"
slug: Web/CSS/::highlight
page-type: css-pseudo-element
browser-compat: css.selectors.highlight
---
{{CSSRef}}
The **`::highlight()`** CSS [pseudo-element](/en-US/docs/Web/CSS/Pseudo-elements) applies styles to a custom highlight.
A custom highlight is a collection of {{domxref("Range")}} ... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_colon_playing/index.md | ---
title: ":playing"
slug: Web/CSS/:playing
page-type: css-pseudo-class
browser-compat: css.selectors.playing
---
{{CSSRef}}
The **`:playing`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) selector represents the playback state of an element that is playable, such as {{htmlelement("a... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/justify-items/index.md | ---
title: justify-items
slug: Web/CSS/justify-items
page-type: css-property
browser-compat: css.properties.justify-items
---
{{CSSRef}}
The [CSS](/en-US/docs/Web/CSS) **`justify-items`** property defines the default {{CSSxRef("justify-self")}} for all items of the box, giving them all a default way of justifying eac... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_doublecolon_part/index.md | ---
title: "::part()"
slug: Web/CSS/::part
page-type: css-pseudo-element
browser-compat: css.selectors.part
---
{{CSSRef}}
The **`::part`** [CSS](/en-US/docs/Web/CSS) [pseudo-element](/en-US/docs/Web/CSS/Pseudo-elements) represents any element within a [shadow tree](/en-US/docs/Web/API/Web_components/Using_shadow_DOM... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/grid-row-end/index.md | ---
title: grid-row-end
slug: Web/CSS/grid-row-end
page-type: css-property
browser-compat: css.properties.grid-row-end
---
{{CSSRef}}
The **`grid-row-end`** CSS property specifies a grid item's end position within the grid row by contributing a line, a span, or nothing (automatic) to its grid placement, thereby speci... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/tan/index.md | ---
title: tan()
slug: Web/CSS/tan
page-type: css-function
browser-compat: css.types.tan
---
{{CSSRef}}
The **`tan()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) is a trigonometric function that returns the tangent of a number, which is a value between `−infinity` and `infinity`. The fu... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/@page/index.md | ---
title: "@page"
slug: Web/CSS/@page
page-type: css-at-rule
browser-compat: css.at-rules.page
---
{{CSSRef}}
The **`@page`** at-rule is a CSS at-rule used to modify different aspects of printed pages. It targets and modifies the page's dimensions, orientation, and margins. The `@page` at-rule can be used to target ... | 0 |
data/mdn-content/files/en-us/web/css/@page | data/mdn-content/files/en-us/web/css/@page/page-orientation/index.md | ---
title: page-orientation
slug: Web/CSS/@page/page-orientation
page-type: css-at-rule-descriptor
browser-compat: css.at-rules.page.page-orientation
---
{{CSSRef}}
The **`page-orientation`** [CSS](/en-US/docs/Web/CSS) descriptor for the {{cssxref("@page")}} at-rule controls the rotation of a printed page. It handles... | 0 |
data/mdn-content/files/en-us/web/css/@page | data/mdn-content/files/en-us/web/css/@page/size/index.md | ---
title: size
slug: Web/CSS/@page/size
page-type: css-at-rule-descriptor
browser-compat: css.at-rules.page.size
---
{{CSSRef}}
The **`size`** [CSS](/en-US/docs/Web/CSS) [at-rule](/en-US/docs/Web/CSS/At-rule) descriptor, used with the {{cssxref("@page")}} at-rule, defines the size and orientation of the box which is... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/scroll-margin-inline-end/index.md | ---
title: scroll-margin-inline-end
slug: Web/CSS/scroll-margin-inline-end
page-type: css-property
browser-compat: css.properties.scroll-margin-inline-end
---
{{CSSRef}}
The `scroll-margin-inline-end` property defines the margin of the scroll snap area at the end of the inline dimension that is used for snapping this... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/font-weight/index.md | ---
title: font-weight
slug: Web/CSS/font-weight
page-type: css-property
browser-compat: css.properties.font-weight
---
{{CSSRef}}
The **`font-weight`** [CSS](/en-US/docs/Web/CSS) property sets the weight (or boldness) of the font. The weights available depend on the {{cssxref("font-family")}} that is currently set.
... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/color-interpolation/index.md | ---
title: color-interpolation
slug: Web/CSS/color-interpolation
page-type: css-property
browser-compat: css.properties.color-interpolation
---
{{CSSRef}}
The `color-interpolation` CSS property is used in SVG to specify which color space to use for {{SVGElement("linearGradient")}} and {{SVGElement("radialGradient")}}... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.