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/ruby-position/index.md | ---
title: ruby-position
slug: Web/CSS/ruby-position
page-type: css-property
browser-compat: css.properties.ruby-position
---
{{CSSRef}}
The **`ruby-position`** CSS property defines the position of a ruby element relatives to its base element. It can be positioned over the element (`over`), under it (`under`), or bet... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/basic-shape/index.md | ---
title: <basic-shape>
slug: Web/CSS/basic-shape
page-type: css-type
browser-compat: css.types.basic-shape
---
{{CSSRef}}
The **`<basic-shape>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types) represents a shape used in the {{cssxref("clip-path")}}, {{cssxref("shape-outside")}}, and {{cssxref... | 0 |
data/mdn-content/files/en-us/web/css/basic-shape | data/mdn-content/files/en-us/web/css/basic-shape/xywh/index.md | ---
title: xywh()
slug: Web/CSS/basic-shape/xywh
page-type: css-function
browser-compat: css.types.basic-shape.xywh
---
{{CSSRef}}
The **`xywh()`** [CSS](/en-US/docs/Web/CSS) function creates a rectangle using the specified distances from the left (`x`) and top (`y`) edges of the containing block and the specified wi... | 0 |
data/mdn-content/files/en-us/web/css/basic-shape | data/mdn-content/files/en-us/web/css/basic-shape/circle/index.md | ---
title: circle()
slug: Web/CSS/basic-shape/circle
page-type: css-function
browser-compat: css.types.basic-shape.circle
---
{{CSSRef}}
The **`circle()`** [CSS](/en-US/docs/Web/CSS) function is one of the {{cssxref("<basic-shape>")}} [data types](/en-US/docs/Web/CSS/CSS_Types).
{{EmbedInteractiveExample("page... | 0 |
data/mdn-content/files/en-us/web/css/basic-shape | data/mdn-content/files/en-us/web/css/basic-shape/rect/index.md | ---
title: rect()
slug: Web/CSS/basic-shape/rect
page-type: css-function
browser-compat: css.types.basic-shape.rect
---
{{CSSRef}}
The **`rect()`** [CSS](/en-US/docs/Web/CSS) function creates a rectangle at the specified distance from the top and left edges of the containing block. It is a basic shape function of the... | 0 |
data/mdn-content/files/en-us/web/css/basic-shape | data/mdn-content/files/en-us/web/css/basic-shape/polygon/index.md | ---
title: polygon()
slug: Web/CSS/basic-shape/polygon
page-type: css-function
browser-compat: css.types.basic-shape.polygon
---
{{CSSRef}}
The **`polygon()`** [CSS](/en-US/docs/Web/CSS) function is one of the {{cssxref("<basic-shape>")}} [data types](/en-US/docs/Web/CSS/CSS_Types). It's used to draw a [polygon... | 0 |
data/mdn-content/files/en-us/web/css/basic-shape | data/mdn-content/files/en-us/web/css/basic-shape/inset/index.md | ---
title: inset()
slug: Web/CSS/basic-shape/inset
page-type: css-function
browser-compat: css.types.basic-shape.inset
---
{{CSSRef}}
The **`inset()`** [CSS](/en-US/docs/Web/CSS) function defines a rectangle at the specified inset distances from each side of the reference box. It is a basic shape function used to def... | 0 |
data/mdn-content/files/en-us/web/css/basic-shape | data/mdn-content/files/en-us/web/css/basic-shape/ellipse/index.md | ---
title: ellipse()
slug: Web/CSS/basic-shape/ellipse
page-type: css-function
browser-compat: css.types.basic-shape.ellipse
---
{{CSSRef}}
The **`ellipse()`** [CSS](/en-US/docs/Web/CSS) function is one of the {{cssxref("<basic-shape>")}} [data types](/en-US/docs/Web/CSS/CSS_Types).
{{EmbedInteractiveExample("... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/sqrt/index.md | ---
title: sqrt()
slug: Web/CSS/sqrt
page-type: css-function
browser-compat: css.types.sqrt
---
{{CSSRef}}
The **`sqrt()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) is an exponential function that returns the [square root](https://en.wikipedia.org/wiki/Square_root) of a number.
The fu... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/list-style-image/index.md | ---
title: list-style-image
slug: Web/CSS/list-style-image
page-type: css-property
browser-compat: css.properties.list-style-image
---
{{CSSRef}}
The **`list-style-image`** [CSS](/en-US/docs/Web/CSS) property sets an image to be used as the list item marker.
It is often more convenient to use the shorthand {{ cssxre... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/overflow-wrap/index.md | ---
title: overflow-wrap
slug: Web/CSS/overflow-wrap
page-type: css-property
browser-compat: css.properties.overflow-wrap
---
{{CSSRef}}
The **`overflow-wrap`** [CSS](/en-US/docs/Web/CSS) property applies to text, setting whether the browser should insert line breaks within an otherwise unbreakable string to prevent ... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/caret-color/index.md | ---
title: caret-color
slug: Web/CSS/caret-color
page-type: css-property
browser-compat: css.properties.caret-color
---
{{CSSRef}}
The **`caret-color`** CSS property sets the color of the **insertion caret**, the visible marker where the next character typed will be inserted. This is sometimes referred to as the **te... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/margin-block-start/index.md | ---
title: margin-block-start
slug: Web/CSS/margin-block-start
page-type: css-property
browser-compat: css.properties.margin-block-start
---
{{CSSRef}}
The **`margin-block-start`** [CSS](/en-US/docs/Web/CSS) property defines the logical block start margin of an element, which maps to a physical margin depending on th... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/text-align-last/index.md | ---
title: text-align-last
slug: Web/CSS/text-align-last
page-type: css-property
browser-compat: css.properties.text-align-last
---
{{CSSRef}}
The **`text-align-last`** CSS property sets how the last line of a block or a line, right before a forced line break, is aligned.
{{EmbedInteractiveExample("pages/css/text-al... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/font-variant-caps/index.md | ---
title: font-variant-caps
slug: Web/CSS/font-variant-caps
page-type: css-property
browser-compat: css.properties.font-variant-caps
---
{{CSSRef}}
The **`font-variant-caps`** [CSS](/en-US/docs/Web/CSS) property controls the use of alternate glyphs used for small or petite capitals or for titling.
{{EmbedInteractiv... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/@media/index.md | ---
title: "@media"
slug: Web/CSS/@media
page-type: css-at-rule
browser-compat: css.at-rules.media
---
{{CSSRef}}
The **`@media`** [CSS](/en-US/docs/Web/CSS) [at-rule](/en-US/docs/Web/CSS/At-rule) can be used to apply part of a style sheet based on the result of one or more [media queries](/en-US/docs/Web/CSS/CSS_med... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/prefers-contrast/index.md | ---
title: prefers-contrast
slug: Web/CSS/@media/prefers-contrast
page-type: css-media-feature
browser-compat: css.at-rules.media.prefers-contrast
---
{{CSSRef}}
The **`prefers-contrast`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) is used to detect whether the user has requ... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/color/index.md | ---
title: color
slug: Web/CSS/@media/color
page-type: css-media-feature
browser-compat: css.at-rules.media.color
---
{{CSSRef}}
The **`color`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) can be used to test the number of bits per color component (red, green, blue) of the ou... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/pointer/index.md | ---
title: pointer
slug: Web/CSS/@media/pointer
page-type: css-media-feature
browser-compat: css.at-rules.media.pointer
---
{{CSSRef}}
The **`pointer`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) tests whether the user has a pointing device (such as a mouse), and if so, how ... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/-moz-device-pixel-ratio/index.md | ---
title: "-moz-device-pixel-ratio"
slug: Web/CSS/@media/-moz-device-pixel-ratio
page-type: css-media-feature
status:
- deprecated
- non-standard
browser-compat: css.at-rules.media.-moz-device-pixel-ratio
---
{{CSSRef}} {{Non-standard_header}} {{Deprecated_header}}
The **`-moz-device-pixel-ratio`** Gecko-only [C... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/prefers-reduced-motion/index.md | ---
title: prefers-reduced-motion
slug: Web/CSS/@media/prefers-reduced-motion
page-type: css-media-feature
browser-compat: css.at-rules.media.prefers-reduced-motion
---
{{CSSRef}}
> **Warning:** An embedded example at the bottom of this page has a scaling movement that may be problematic for some readers. Readers wit... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/device-aspect-ratio/index.md | ---
title: device-aspect-ratio
slug: Web/CSS/@media/device-aspect-ratio
page-type: css-media-feature
status:
- deprecated
browser-compat: css.at-rules.media.device-aspect-ratio
---
{{CSSRef}} {{deprecated_header}}
> **Note:** To query for the aspect ratio of the viewport, developers should use the [`aspect-ratio`](... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/grid/index.md | ---
title: grid
slug: Web/CSS/@media/grid
page-type: css-media-feature
browser-compat: css.at-rules.media.grid
---
{{CSSRef}}
The **`grid`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) can be used to test whether the output device uses a grid-based screen.
Most modern comput... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/color-index/index.md | ---
title: color-index
slug: Web/CSS/@media/color-index
page-type: css-media-feature
browser-compat: css.at-rules.media.color-index
---
{{CSSRef}}
The **`color-index`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) can be used to test the number of entries in the output device'... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/prefers-reduced-data/index.md | ---
title: prefers-reduced-data
slug: Web/CSS/@media/prefers-reduced-data
page-type: css-media-feature
status:
- experimental
browser-compat: css.at-rules.media.prefers-reduced-data
---
{{CSSRef}}{{SeeCompatTable}}
> **Note:** This feature is not supported by any user agent and its specifics are subject to change.
... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/-webkit-transform-2d/index.md | ---
title: "-webkit-transform-2d"
slug: Web/CSS/@media/-webkit-transform-2d
page-type: css-media-feature
status:
- non-standard
browser-compat: css.at-rules.media.-webkit-transform-2d
---
{{CSSRef}} {{ Non-standard_header }}
> **Note:** All browsers support the [`transform`](/en-US/docs/Web/CSS/transform#browser_co... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/any-hover/index.md | ---
title: any-hover
slug: Web/CSS/@media/any-hover
page-type: css-media-feature
browser-compat: css.at-rules.media.any-hover
---
{{CSSRef}}
The **`any-hover`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) can be used to test whether _any_ available input mechanism can hover o... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/-webkit-animation/index.md | ---
title: "-webkit-animation"
slug: Web/CSS/@media/-webkit-animation
page-type: css-media-feature
status:
- deprecated
- non-standard
browser-compat: css.at-rules.media.-webkit-animation
---
{{CSSRef}}{{Non-standard_header}}{{Deprecated_Header}}
> **Note:** All browsers support the [`animation`](/en-US/docs/Web/... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/overflow-inline/index.md | ---
title: overflow-inline
slug: Web/CSS/@media/overflow-inline
page-type: css-media-feature
browser-compat: css.at-rules.media.overflow-inline
---
{{CSSRef}}
The **`overflow-inline`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) can be used to test how the output device handl... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/orientation/index.md | ---
title: orientation
slug: Web/CSS/@media/orientation
page-type: css-media-feature
browser-compat: css.at-rules.media.orientation
---
{{CSSRef}}
The **`orientation`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) can be used to test the orientation of the {{glossary("viewport... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/-webkit-device-pixel-ratio/index.md | ---
title: "-webkit-device-pixel-ratio"
slug: Web/CSS/@media/-webkit-device-pixel-ratio
page-type: css-media-feature
browser-compat: css.at-rules.media.-webkit-device-pixel-ratio
---
{{CSSRef}}
The **`-webkit-device-pixel-ratio`** is a non-standard Boolean [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CS... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/dynamic-range/index.md | ---
title: dynamic-range
slug: Web/CSS/@media/dynamic-range
page-type: css-media-feature
browser-compat: css.at-rules.media.dynamic-range
---
{{CSSRef}}
The **`dynamic-range`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) can be used to test the combination of brightness, cont... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/resolution/index.md | ---
title: resolution
slug: Web/CSS/@media/resolution
page-type: css-media-feature
browser-compat: css.at-rules.media.resolution
---
{{CSSRef}}
The **`resolution`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) can be used to test the pixel density of the output device.
## Syn... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/-webkit-transition/index.md | ---
title: "-webkit-transition"
slug: Web/CSS/@media/-webkit-transition
page-type: css-media-feature
status:
- deprecated
- non-standard
browser-compat: css.at-rules.media.-webkit-transition
---
{{CSSRef}} {{deprecated_header}} {{ Non-standard_header }}
> **Note:** All browsers support the [`transition`](/en-US/d... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/aural/index.md | ---
title: aural
slug: Web/CSS/@media/aural
page-type: css-media-feature
status:
- deprecated
spec-urls: https://www.w3.org/TR/CSS22/aural.html
---
{{CSSRef}} {{deprecated_header}}
The `aural` [CSS](/en-US/docs/Web/CSS) [media type](/en-US/docs/Web/CSS/@media#media_types) is used for devices that have speech output... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/scan/index.md | ---
title: scan
slug: Web/CSS/@media/scan
page-type: css-media-feature
browser-compat: css.at-rules.media.scan
---
{{CSSRef}}
The **`scan`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) is used to apply CSS styles based on the scanning process of the output device.
## Syntax
... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/update/index.md | ---
title: update
slug: Web/CSS/@media/update
page-type: css-media-feature
browser-compat: css.at-rules.media.update
---
{{CSSRef}}
The **`update`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) can be used to test how frequently (if at all) the output device is able to modify ... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/color-gamut/index.md | ---
title: color-gamut
slug: Web/CSS/@media/color-gamut
page-type: css-media-feature
browser-compat: css.at-rules.media.color-gamut
---
{{CSSRef}}
The **`color-gamut`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) is used to apply CSS styles based on the approximate range of c... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/monochrome/index.md | ---
title: monochrome
slug: Web/CSS/@media/monochrome
page-type: css-media-feature
browser-compat: css.at-rules.media.monochrome
---
{{CSSRef}}
The **`monochrome`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) can be used to test the number of bits per pixel in the monochrome ... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/video-dynamic-range/index.md | ---
title: video-dynamic-range
slug: Web/CSS/@media/video-dynamic-range
page-type: css-media-feature
browser-compat: css.at-rules.media.video-dynamic-range
---
{{CSSRef}}
The **`video-dynamic-range`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) can be used to test the combina... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/device-height/index.md | ---
title: device-height
slug: Web/CSS/@media/device-height
page-type: css-media-feature
status:
- deprecated
browser-compat: css.at-rules.media.device-height
---
{{CSSRef}} {{deprecated_header}}
> **Note:** To query for the height of the viewport, developers should use the [`height`](/en-US/docs/Web/CSS/@media/hei... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/display-mode/index.md | ---
title: display-mode
slug: Web/CSS/@media/display-mode
page-type: css-media-feature
browser-compat: css.at-rules.media.display-mode
---
{{CSSRef}}
The **`display-mode`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) can be used to test the display mode of an application. You... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/any-pointer/index.md | ---
title: any-pointer
slug: Web/CSS/@media/any-pointer
page-type: css-media-feature
browser-compat: css.at-rules.media.any-pointer
---
{{CSSRef}}
The **`any-pointer`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) tests whether the user has _any_ pointing device (such as a mou... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/width/index.md | ---
title: width
slug: Web/CSS/@media/width
page-type: css-media-feature
browser-compat: css.at-rules.media.width
---
{{CSSRef}}
The **`width`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) can be used to test the width of the {{glossary("viewport")}} (or the page box, for [pa... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/hover/index.md | ---
title: hover
slug: Web/CSS/@media/hover
page-type: css-media-feature
browser-compat: css.at-rules.media.hover
---
{{CSSRef}}
The **`hover`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) can be used to test whether the user's _primary_ input mechanism can hover over element... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/height/index.md | ---
title: height
slug: Web/CSS/@media/height
page-type: css-media-feature
browser-compat: css.at-rules.media.height
---
{{CSSRef}}
The **`height`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) can be used to apply styles based on the height of the {{glossary("viewport")}} (or... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/aspect-ratio/index.md | ---
title: aspect-ratio
slug: Web/CSS/@media/aspect-ratio
page-type: css-media-feature
browser-compat: css.at-rules.media.aspect-ratio
---
{{CSSRef}}
The **`aspect-ratio`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) can be used to test the aspect ratio of the {{glossary("vie... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/device-width/index.md | ---
title: device-width
slug: Web/CSS/@media/device-width
page-type: css-media-feature
status:
- deprecated
browser-compat: css.at-rules.media.device-width
---
{{CSSRef}} {{deprecated_header}}
> **Note:** To query for the width of the viewport, developers should use the [`width`](/en-US/docs/Web/CSS/@media/width) m... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/shape/index.md | ---
title: shape
slug: Web/CSS/@media/shape
page-type: css-media-feature
status:
- experimental
spec-urls: https://drafts.csswg.org/css-round-display/#shape-media-feature
---
{{CSSRef}}{{SeeCompatTable}}
The `shape` [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) can be used to... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/inverted-colors/index.md | ---
title: inverted-colors
slug: Web/CSS/@media/inverted-colors
page-type: css-media-feature
browser-compat: css.at-rules.media.inverted-colors
---
{{CSSRef}}
The **`inverted-colors`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) is used to test if the {{glossary("user agent")... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/scripting/index.md | ---
title: scripting
slug: Web/CSS/@media/scripting
page-type: css-media-feature
browser-compat: css.at-rules.media.scripting
---
{{CSSRef}}
The **`scripting`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) can be used to test whether scripting (such as JavaScript) is available... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/forced-colors/index.md | ---
title: forced-colors
slug: Web/CSS/@media/forced-colors
page-type: css-media-feature
browser-compat: css.at-rules.media.forced-colors
---
{{CSSRef}}
The **`forced-colors`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) is used to detect if the {{Glossary("user agent")}} has... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/prefers-color-scheme/index.md | ---
title: prefers-color-scheme
slug: Web/CSS/@media/prefers-color-scheme
page-type: css-media-feature
browser-compat: css.at-rules.media.prefers-color-scheme
---
{{CSSRef}}
The **`prefers-color-scheme`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/CSS_media_queries/Using_media_queries#targeting_me... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/overflow-block/index.md | ---
title: overflow-block
slug: Web/CSS/@media/overflow-block
page-type: css-media-feature
browser-compat: css.at-rules.media.overflow-block
---
{{CSSRef}}
The **`overflow-block`** [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) can be used to test how the output device handles c... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/-webkit-transform-3d/index.md | ---
title: "-webkit-transform-3d"
slug: Web/CSS/@media/-webkit-transform-3d
page-type: css-media-feature
browser-compat: css.at-rules.media.-webkit-transform-3d
---
{{CSSRef}}
The **`-webkit-transform-3d`** Boolean [CSS](/en-US/docs/Web/CSS) [media feature](/en-US/docs/Web/CSS/@media#media_features) is a [WebKit exte... | 0 |
data/mdn-content/files/en-us/web/css/@media | data/mdn-content/files/en-us/web/css/@media/prefers-reduced-transparency/index.md | ---
title: prefers-reduced-transparency
slug: Web/CSS/@media/prefers-reduced-transparency
page-type: css-media-feature
status:
- experimental
browser-compat: css.at-rules.media.prefers-reduced-transparency
---
{{CSSRef}}{{SeeCompatTable}}
The **`prefers-reduced-transparency`** [CSS](/en-US/docs/Web/CSS) [media feat... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/column-rule-color/index.md | ---
title: column-rule-color
slug: Web/CSS/column-rule-color
page-type: css-property
browser-compat: css.properties.column-rule-color
---
{{CSSRef}}
The **`column-rule-color`** [CSS](/en-US/docs/Web/CSS) property sets the color of the line drawn between columns in a multi-column layout.
{{EmbedInteractiveExample("pa... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/css_overscroll_behavior/index.md | ---
title: CSS overscroll behavior
slug: Web/CSS/CSS_overscroll_behavior
page-type: css-module
spec-urls: https://drafts.csswg.org/css-overscroll/
---
{{CSSRef}}
The **CSS overscroll behavior** module provides properties to control the behavior of a {{Glossary("Scroll_container", "scroll container")}} when its scroll... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_colon_first-of-type/index.md | ---
title: ":first-of-type"
slug: Web/CSS/:first-of-type
page-type: css-pseudo-class
browser-compat: css.selectors.first-of-type
---
{{CSSRef}}
The **`:first-of-type`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) represents the first element of its type among a group of sibling eleme... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/border-inline-start-style/index.md | ---
title: border-inline-start-style
slug: Web/CSS/border-inline-start-style
page-type: css-property
browser-compat: css.properties.border-inline-start-style
---
{{CSSRef}}
The **`border-inline-start-style`** [CSS](/en-US/docs/Web/CSS) property defines the style of the logical inline start border of an element, which... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_colon_user-invalid/index.md | ---
title: ":user-invalid"
slug: Web/CSS/:user-invalid
page-type: css-pseudo-class
browser-compat: css.selectors.user-invalid
---
{{CSSRef}}
The **`:user-invalid`** CSS [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) represents any validated form element whose value isn't valid based on their [validation constrain... | 0 |
data/mdn-content/files/en-us/web | data/mdn-content/files/en-us/web/demos/index.md | ---
title: Demos of open web technologies
slug: Web/Demos
page-type: landing-page
---
Mozilla supports a wide variety of exciting open web technologies, and we encourage their use. This page offers links to interesting demonstrations of these technologies.
If you know of a good demonstration or application of open we... | 0 |
data/mdn-content/files/en-us/web | data/mdn-content/files/en-us/web/exslt/index.md | ---
title: EXSLT
slug: Web/EXSLT
page-type: landing-page
---
EXSLT is a set of extensions to [XSLT](/en-US/docs/Web/XSLT). There are a number of modules; those that are supported by Firefox are listed below:
{{SubpagesWithSummaries}}
## EXSLT modules
To use an EXSLT function, you need to declare the namespace the f... | 0 |
data/mdn-content/files/en-us/web/exslt | data/mdn-content/files/en-us/web/exslt/set/index.md | ---
title: Sets (set)
slug: Web/EXSLT/set
page-type: landing-page
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
The EXSLT Sets package offers functions that let you perform set manipulation. The namespace for these functions is `http://exslt.org/sets`.
{{SubpagesWithSummaries}}
| 0 |
data/mdn-content/files/en-us/web/exslt/set | data/mdn-content/files/en-us/web/exslt/set/trailing/index.md | ---
title: set:trailing()
slug: Web/EXSLT/set/trailing
page-type: exslt-function
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
`set:trailing()` returns the nodes in one node-set that come after the first node in the other node-set.
## Syntax
```plain
set:trailing(nodeSet1, nodeSet2)
```
### Pa... | 0 |
data/mdn-content/files/en-us/web/exslt/set | data/mdn-content/files/en-us/web/exslt/set/intersection/index.md | ---
title: set:intersection()
slug: Web/EXSLT/set/intersection
page-type: exslt-function
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
`set:intersection()` returns the intersection of two node-sets. In other words, it returns a node-set containing all the nodes that exist in both `nodeSet1` and `... | 0 |
data/mdn-content/files/en-us/web/exslt/set | data/mdn-content/files/en-us/web/exslt/set/has-same-node/index.md | ---
title: set:has-same-node()
slug: Web/EXSLT/set/has-same-node
page-type: exslt-function
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
`set:has-same-node()` determines whether two node-sets have any nodes in common.
## Syntax
```plain
set:has-same-node(nodeSet1, nodeSet2)
```
### Parameters
... | 0 |
data/mdn-content/files/en-us/web/exslt/set | data/mdn-content/files/en-us/web/exslt/set/leading/index.md | ---
title: set:leading()
slug: Web/EXSLT/set/leading
page-type: exslt-function
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
`set:leading()` returns the nodes in one node-set that come before the first node in the other node-set.
## Syntax
```js-nolint
set:leading(nodeSet1, nodeSet2)
```
### P... | 0 |
data/mdn-content/files/en-us/web/exslt/set | data/mdn-content/files/en-us/web/exslt/set/distinct/index.md | ---
title: set:distinct()
slug: Web/EXSLT/set/distinct
page-type: exslt-function
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
`set:distinct()` returns a subset of the nodes in the specified node-set, returning only nodes with unique string values.
## Syntax
```plain
set:distinct(nodeSet)
```
... | 0 |
data/mdn-content/files/en-us/web/exslt/set | data/mdn-content/files/en-us/web/exslt/set/difference/index.md | ---
title: set:difference()
slug: Web/EXSLT/set/difference
page-type: exslt-function
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
`set:difference()` returns the difference between two node-sets. In other words, it returns a node-set whose nodes are in one node-set but not in the other.
The temp... | 0 |
data/mdn-content/files/en-us/web/exslt | data/mdn-content/files/en-us/web/exslt/str/index.md | ---
title: Strings (str)
slug: Web/EXSLT/str
page-type: landing-page
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
The EXSLT Strings package provides functions that allow the manipulation of strings. The namespace for the Strings package is `http://exslt.org/strings`.
{{SubpagesWithSummaries}}
| 0 |
data/mdn-content/files/en-us/web/exslt/str | data/mdn-content/files/en-us/web/exslt/str/split/index.md | ---
title: str:split()
slug: Web/EXSLT/str/split
page-type: exslt-function
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
`str:split()` splits a string using a pattern string to determine where the splits should occur, returning a node-set containing the resulting strings.
## Syntax
```plain
str... | 0 |
data/mdn-content/files/en-us/web/exslt/str | data/mdn-content/files/en-us/web/exslt/str/tokenize/index.md | ---
title: str:tokenize()
slug: Web/EXSLT/str/tokenize
page-type: exslt-function
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
`str:tokenize()` splits a string using a set of characters as delimiters that determine where the splits should occur, returning a node-set containing the resulting strin... | 0 |
data/mdn-content/files/en-us/web/exslt/str | data/mdn-content/files/en-us/web/exslt/str/concat/index.md | ---
title: str:concat()
slug: Web/EXSLT/str/concat
page-type: exslt-function
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
`str:concat()` returns a string containing all the string values in a node-set concatenated together.
## Syntax
```plain
str:concat(nodeSet)
```
### Parameters
- `nodeSet... | 0 |
data/mdn-content/files/en-us/web/exslt | data/mdn-content/files/en-us/web/exslt/exsl/index.md | ---
title: Common (exsl)
slug: Web/EXSLT/exsl
page-type: landing-page
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
The EXSLT Common package provides basic functions that expand upon the capabilities of XSLT. The namespace for the Common package is `http://exslt.org/common`.
{{SubpagesWithSummar... | 0 |
data/mdn-content/files/en-us/web/exslt/exsl | data/mdn-content/files/en-us/web/exslt/exsl/node-set/index.md | ---
title: exsl:node-set()
slug: Web/EXSLT/exsl/node-set
page-type: exslt-function
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
`exsl:node-set()` returns a node-set from a result tree fragment, which is what you get when you look at the `xsl:variable` instead of its select attribute to fetch a v... | 0 |
data/mdn-content/files/en-us/web/exslt/exsl | data/mdn-content/files/en-us/web/exslt/exsl/object-type/index.md | ---
title: exsl:object-type()
slug: Web/EXSLT/exsl/object-type
page-type: exslt-function
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
`exsl:object-type()` returns a string that indicates the type of the specified object.
> **Note:** Most [XSLT](/en-US/docs/Web/XSLT) object types can be coerced ... | 0 |
data/mdn-content/files/en-us/web/exslt | data/mdn-content/files/en-us/web/exslt/regexp/index.md | ---
title: Regular expressions (regexp)
slug: Web/EXSLT/regexp
page-type: landing-page
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
The EXSLT Regular Expressions package provides functions that allow testing, matching, and replacing text using JavaScript style regular expressions. The namespace ... | 0 |
data/mdn-content/files/en-us/web/exslt/regexp | data/mdn-content/files/en-us/web/exslt/regexp/test/index.md | ---
title: regexp:test()
slug: Web/EXSLT/regexp/test
page-type: exslt-function
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
`regexp:test()` tests to see whether a string matches a specified regular expression.
## Syntax
```js-nolint
regexp:test(testString, regExpString[, flagsString])
```
###... | 0 |
data/mdn-content/files/en-us/web/exslt/regexp | data/mdn-content/files/en-us/web/exslt/regexp/match/index.md | ---
title: regexp:match()
slug: Web/EXSLT/regexp/match
page-type: exslt-function
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
`regexp:match()` performs regular expression matching on a string, returning the submatches found as a result.
## Syntax
```js-nolint
regexp:match(targetString, regExpS... | 0 |
data/mdn-content/files/en-us/web/exslt/regexp | data/mdn-content/files/en-us/web/exslt/regexp/replace/index.md | ---
title: regexp:replace()
slug: Web/EXSLT/regexp/replace
page-type: exslt-function
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
`regexp:replace()` replaces the portions of a string that match a given regular expression with the contents of another string.
## Syntax
```plain
regexp:replace(or... | 0 |
data/mdn-content/files/en-us/web/exslt | data/mdn-content/files/en-us/web/exslt/math/index.md | ---
title: Math (math)
slug: Web/EXSLT/math
page-type: landing-page
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
The EXSLT Math package provides functions for working with numeric values and comparing nodes. The namespace for the Math package is `http://exslt.org/math`.
{{SubpagesWithSummaries}... | 0 |
data/mdn-content/files/en-us/web/exslt/math | data/mdn-content/files/en-us/web/exslt/math/min/index.md | ---
title: math:min()
slug: Web/EXSLT/math/min
page-type: exslt-function
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
`math:min()` returns the minimum value of a node-set.
To compute the minimum value of the node-set, the node set is sorted into ascending order as it would be using [`xsl:sort()... | 0 |
data/mdn-content/files/en-us/web/exslt/math | data/mdn-content/files/en-us/web/exslt/math/highest/index.md | ---
title: math:highest()
slug: Web/EXSLT/math/highest
page-type: exslt-function
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
`math:highest()` returns the node in the specified node-set with the highest value (where the highest value calculated using [`math:max()`](/en-US/docs/Web/EXSLT/math/max... | 0 |
data/mdn-content/files/en-us/web/exslt/math | data/mdn-content/files/en-us/web/exslt/math/lowest/index.md | ---
title: math:lowest()
slug: Web/EXSLT/math/lowest
page-type: exslt-function
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
`math:lowest()` returns the node in the specified node-set with the lowest value (where the lowest value calculated using [`math:min()`](/en-US/docs/Web/EXSLT/math/min)).
... | 0 |
data/mdn-content/files/en-us/web/exslt/math | data/mdn-content/files/en-us/web/exslt/math/max/index.md | ---
title: math:max()
slug: Web/EXSLT/math/max
page-type: exslt-function
---
{{XSLTRef}}{{QuickLinksWithSubpages("/en-US/docs/Web/EXSLT")}}
`math:max()` returns the maximum value of a node-set.
To compute the maximum value of the node-set, the node set is sorted into descending order as it would be using [`xsl:sort(... | 0 |
data/mdn-content/files/en-us/web | data/mdn-content/files/en-us/web/progressive_web_apps/index.md | ---
title: Progressive web apps
slug: Web/Progressive_web_apps
page-type: landing-page
---
{{PWASidebar}}
A **progressive web app** (PWA) is an app that's built using web platform technologies, but that provides a user experience like that of a platform-specific app.
Like a website, a PWA can run on multiple platfor... | 0 |
data/mdn-content/files/en-us/web/progressive_web_apps | data/mdn-content/files/en-us/web/progressive_web_apps/how_to/index.md | ---
title: How to
slug: Web/Progressive_web_apps/How_to
page-type: landing-page
---
{{PWASidebar}}
How-to guides explain in detail how to accomplish a specific task related to PWAs.
{{ListSubpages}}
| 0 |
data/mdn-content/files/en-us/web/progressive_web_apps/how_to | data/mdn-content/files/en-us/web/progressive_web_apps/how_to/define_app_icons/index.md | ---
title: Define your app icons
slug: Web/Progressive_web_apps/How_to/Define_app_icons
page-type: how-to
---
{{PWASidebar}}
[Progressive Web Apps (PWAs)](/en-US/docs/Web/Progressive_web_apps) can be installed on devices just like other apps. Once a PWA is installed, its app icon appears on the device's home screen, ... | 0 |
data/mdn-content/files/en-us/web/progressive_web_apps/how_to | data/mdn-content/files/en-us/web/progressive_web_apps/how_to/create_a_standalone_app/index.md | ---
title: Create a standalone app
slug: Web/Progressive_web_apps/How_to/Create_a_standalone_app
page-type: how-to
---
{{PWASidebar}}
[Progressive Web Apps](/en-US/docs/Web/Progressive_web_apps) (PWAs) that are installed on a user's device can define how they appear when the user launches them. They can choose to be ... | 0 |
data/mdn-content/files/en-us/web/progressive_web_apps/how_to | data/mdn-content/files/en-us/web/progressive_web_apps/how_to/trigger_install_prompt/index.md | ---
title: Trigger installation from your PWA
slug: Web/Progressive_web_apps/How_to/Trigger_install_prompt
page-type: how-to
---
{{PWASidebar}}
> **Warning:** The technique described here depends on the {{domxref("Window.beforeinstallprompt_event", "beforeinstallprompt")}} event, which is non-standard and currently o... | 0 |
data/mdn-content/files/en-us/web/progressive_web_apps/how_to | data/mdn-content/files/en-us/web/progressive_web_apps/how_to/customize_your_app_colors/index.md | ---
title: Customize your app's theme and background colors
slug: Web/Progressive_web_apps/How_to/Customize_your_app_colors
page-type: how-to
---
{{PWASidebar}}
When building [Progressive Web Apps (PWAs)](/en-US/docs/Web/Progressive_web_apps), it's important to not only consider the appearance of your app's content, ... | 0 |
data/mdn-content/files/en-us/web/progressive_web_apps/how_to | data/mdn-content/files/en-us/web/progressive_web_apps/how_to/display_badge_on_app_icon/index.md | ---
title: Display a badge on the app icon
slug: Web/Progressive_web_apps/How_to/Display_badge_on_app_icon
page-type: how-to
---
{{PWASidebar}}
Applications native to mobile and desktop operating systems can display badges on top of their app icons to inform users that new content is available. For example, an email ... | 0 |
data/mdn-content/files/en-us/web/progressive_web_apps/how_to | data/mdn-content/files/en-us/web/progressive_web_apps/how_to/associate_files_with_your_pwa/index.md | ---
title: Associate files with your PWA
slug: Web/Progressive_web_apps/How_to/Associate_files_with_your_PWA
page-type: how-to
---
{{PWASidebar}}
On a device, files are usually associated with apps, so when the user opens the file, the operating system launches the appropriate app and passes the file to it. For examp... | 0 |
data/mdn-content/files/en-us/web/progressive_web_apps/how_to | data/mdn-content/files/en-us/web/progressive_web_apps/how_to/share_data_between_apps/index.md | ---
title: Share data between apps
slug: Web/Progressive_web_apps/How_to/Share_data_between_apps
page-type: how-to
---
{{PWASidebar}}
Application sharing is the ability of one application to pass information or data to another application on the same device. This feature is useful for users as it allows them to share... | 0 |
data/mdn-content/files/en-us/web/progressive_web_apps/how_to | data/mdn-content/files/en-us/web/progressive_web_apps/how_to/expose_common_actions_as_shortcuts/index.md | ---
title: Expose common app actions as shortcuts
slug: Web/Progressive_web_apps/How_to/Expose_common_actions_as_shortcuts
page-type: how-to
---
{{PWASidebar}}
Many operating systems support showing shortcut menus, or jump-list, when the user right-clicks or long-presses an app icon. For example, on Windows, right-cl... | 0 |
data/mdn-content/files/en-us/web/progressive_web_apps | data/mdn-content/files/en-us/web/progressive_web_apps/tutorials/index.md | ---
title: Tutorials
slug: Web/Progressive_web_apps/Tutorials
page-type: landing-page
---
{{PWASidebar}}
This page lists tutorials to help learn how to develop PWAs. Tutorials walk through the steps of creating an app, from start to finish, explaining how the different features of the app are implemented.
- [Creatin... | 0 |
data/mdn-content/files/en-us/web/progressive_web_apps/tutorials | data/mdn-content/files/en-us/web/progressive_web_apps/tutorials/js13kgames/index.md | ---
title: js13kGames
slug: Web/Progressive_web_apps/Tutorials/js13kGames
page-type: landing-page
---
{{NextMenu("Web/Progressive_web_apps/Tutorials/js13kGames/App_structure", "Web/Progressive_web_apps/Tutorials/js13kGames")}}
{{PWASidebar}}
In this tutorial we will examine the source code of a website that lists in... | 0 |
data/mdn-content/files/en-us/web/progressive_web_apps/tutorials/js13kgames | data/mdn-content/files/en-us/web/progressive_web_apps/tutorials/js13kgames/installable_pwas/index.md | ---
title: How to make PWAs installable
slug: Web/Progressive_web_apps/Tutorials/js13kGames/Installable_PWAs
page-type: guide
---
{{PreviousMenuNext("Web/Progressive_web_apps/Tutorials/js13kGames/Offline_Service_workers", "Web/Progressive_web_apps/Tutorials/js13kGames/Re-engageable_Notifications_Push", "Web/Progressiv... | 0 |
data/mdn-content/files/en-us/web/progressive_web_apps/tutorials/js13kgames | data/mdn-content/files/en-us/web/progressive_web_apps/tutorials/js13kgames/re-engageable_notifications_push/index.md | ---
title: How to make PWAs re-engageable using Notifications and Push
slug: Web/Progressive_web_apps/Tutorials/js13kGames/Re-engageable_Notifications_Push
page-type: guide
---
{{PreviousMenuNext("Web/Progressive_web_apps/Tutorials/js13kGames/Installable_PWAs", "Web/Progressive_web_apps/Tutorials/js13kGames/Loading", ... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.