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/top/index.md | ---
title: top
slug: Web/CSS/top
page-type: css-property
browser-compat: css.properties.top
---
{{CSSRef}}
The **`top`** [CSS](/en-US/docs/Web/CSS) property sets the vertical position of a [positioned element](/en-US/docs/Web/CSS/position). It does not effect non-positioned elements.
{{EmbedInteractiveExample("pages... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_colon_-moz-submit-invalid/index.md | ---
title: ":-moz-submit-invalid"
slug: Web/CSS/:-moz-submit-invalid
page-type: css-pseudo-class
status:
- non-standard
browser-compat: css.selectors.-moz-submit-invalid
---
{{CSSRef}}{{Non-standard_Header}}
The **`:-moz-submit-invalid`** CSS [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) is a [Mozilla extensio... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/page-break-inside/index.md | ---
title: page-break-inside
slug: Web/CSS/page-break-inside
page-type: css-property
browser-compat: css.properties.page-break-inside
---
{{CSSRef}}
> **Warning:** This property has been replaced by the {{cssxref("break-inside")}} property.
The **`page-break-inside`** CSS property adjusts page breaks _inside_ the cu... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/system-color/index.md | ---
title: <system-color>
slug: Web/CSS/system-color
page-type: css-type
browser-compat: css.types.color.system-color
---
{{CSSRef}}
The **`<system-color>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types) usually reflects the default color choices used for the different parts of a web page.
Ho... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/box-direction/index.md | ---
title: box-direction
slug: Web/CSS/box-direction
page-type: css-property
status:
- deprecated
- non-standard
browser-compat: css.properties.box-direction
---
{{CSSRef}}{{Non-standard_header}}{{Deprecated_Header}}
> **Warning:** This is a property of the original CSS Flexible Box Layout Module draft, and has b... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/number/index.md | ---
title: <number>
slug: Web/CSS/number
page-type: css-type
browser-compat: css.types.number
---
{{CSSRef}}
The **`<number>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types) represents a number, being either an integer or a number with a fractional component.
## Syntax
The syntax of `<number... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_doublecolon_slotted/index.md | ---
title: "::slotted()"
slug: Web/CSS/::slotted
page-type: css-pseudo-element
browser-compat: css.selectors.slotted
---
{{CSSRef}}
The **`::slotted()`** [CSS](/en-US/docs/Web/CSS) [pseudo-element](/en-US/docs/Web/CSS/Pseudo-elements) represents any element that has been placed into a slot inside an HTML template (se... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/quotes/index.md | ---
title: quotes
slug: Web/CSS/quotes
page-type: css-property
browser-compat: css.properties.quotes
---
{{CSSRef}}
The [CSS](/en-US/docs/Web/CSS) **`quotes`** property sets how the browser should render quotation marks that are automatically added to the HTML {{HTMLElement("q")}} element or added using the `open-quo... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/using_css_custom_properties/index.md | ---
title: Using CSS custom properties (variables)
slug: Web/CSS/Using_CSS_custom_properties
page-type: guide
---
{{CSSRef}}
**Custom properties** (sometimes referred to as **CSS variables** or **cascading variables**) are entities defined by CSS authors that represent specific values to be reused throughout a docume... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_colon_scope/index.md | ---
title: ":scope"
slug: Web/CSS/:scope
page-type: css-pseudo-class
browser-compat: css.selectors.scope
---
{{CSSRef}}
The **`:scope`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) represents elements that are a reference point, or scope, for selectors to match against.
```css
/* Se... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/value_definition_syntax/index.md | ---
title: Value definition syntax
slug: Web/CSS/Value_definition_syntax
page-type: guide
spec-urls: https://drafts.csswg.org/css-values/#value-defs
---
{{CSSRef}}
**CSS value definition syntax**, a formal grammar, is used for defining the set of valid values for a CSS property or function. In addition to this syntax... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/transform-style/index.md | ---
title: transform-style
slug: Web/CSS/transform-style
page-type: css-property
browser-compat: css.properties.transform-style
---
{{CSSRef}}
The **`transform-style`** [CSS](/en-US/docs/Web/CSS) property sets whether children of an element are positioned in the 3D space or are flattened in the plane of the element.
... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/animation-play-state/index.md | ---
title: animation-play-state
slug: Web/CSS/animation-play-state
page-type: css-property
browser-compat: css.properties.animation-play-state
---
{{CSSRef}}
The **`animation-play-state`** [CSS](/en-US/docs/Web/CSS) property sets whether an animation is running or paused.
{{EmbedInteractiveExample("pages/css/animati... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/-webkit-text-stroke/index.md | ---
title: "-webkit-text-stroke"
slug: Web/CSS/-webkit-text-stroke
page-type: css-shorthand-property
browser-compat: css.properties.-webkit-text-stroke
---
{{CSSRef}}
The **`-webkit-text-stroke`** [CSS](/en-US/docs/Web/CSS) property specifies the [width](/en-US/docs/Web/CSS/length) and [color](/en-US/docs/Web/CSS/col... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_doublecolon_view-transition-image-pair/index.md | ---
title: "::view-transition-image-pair"
slug: Web/CSS/::view-transition-image-pair
page-type: css-pseudo-element
status:
- experimental
browser-compat: css.selectors.view-transition-image-pair
---
{{CSSRef}}{{SeeCompatTable}}
The **`::view-transition-image-pair`** [CSS](/en-US/docs/Web/CSS) [pseudo-element](/en-U... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/overscroll-behavior-y/index.md | ---
title: overscroll-behavior-y
slug: Web/CSS/overscroll-behavior-y
page-type: css-property
browser-compat: css.properties.overscroll-behavior-y
---
{{CSSRef}}
The **`overscroll-behavior-y`** CSS property sets the browser's behavior when the vertical boundary of a scrolling area is reached.
See {{cssxref("overscrol... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/translate/index.md | ---
title: translate
slug: Web/CSS/translate
page-type: css-property
browser-compat: css.properties.translate
---
{{CSSRef}}
The **`translate`** [CSS](/en-US/docs/Web/CSS) property allows you to specify translation transforms individually and independently of the {{CSSxRef("transform")}} property. This maps better to... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/box-sizing/index.md | ---
title: box-sizing
slug: Web/CSS/box-sizing
page-type: css-property
browser-compat: css.properties.box-sizing
---
{{CSSRef}}
The **`box-sizing`** [CSS](/en-US/docs/Web/CSS) property sets how the total width and height of an element is calculated.
{{EmbedInteractiveExample("pages/css/box-sizing.html")}}
By defaul... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/sin/index.md | ---
title: sin()
slug: Web/CSS/sin
page-type: css-function
browser-compat: css.types.sin
---
{{CSSRef}}
The **`sin()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) is a trigonometric function that returns the sine of a number, which is a value between `-1` and `1`. The function contains a... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/scroll-padding-block-start/index.md | ---
title: scroll-padding-block-start
slug: Web/CSS/scroll-padding-block-start
page-type: css-property
browser-compat: css.properties.scroll-padding-block-start
---
{{CSSRef}}
The `scroll-padding-block-start` property defines offsets for the start edge in the block dimension of the _optimal viewing region_ of the scr... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/text-decoration-skip-ink/index.md | ---
title: text-decoration-skip-ink
slug: Web/CSS/text-decoration-skip-ink
page-type: css-property
browser-compat: css.properties.text-decoration-skip-ink
---
{{CSSRef}}
The **`text-decoration-skip-ink`** [CSS](/en-US/docs/Web/CSS) property specifies how overlines and underlines are drawn when they pass over glyph as... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_colon_placeholder-shown/index.md | ---
title: ":placeholder-shown"
slug: Web/CSS/:placeholder-shown
page-type: css-pseudo-class
browser-compat: css.selectors.placeholder-shown
---
{{CSSRef}}
The **`:placeholder-shown`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) represents any {{HTMLElement("input")}} or {{HTMLElemen... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/overflow/index.md | ---
title: overflow
slug: Web/CSS/overflow
page-type: css-shorthand-property
browser-compat: css.properties.overflow
---
{{CSSRef}}
The **`overflow`** [CSS](/en-US/docs/Web/CSS) [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) sets the desired behavior when content does not fit in the parent element box... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/ratio/index.md | ---
title: <ratio>
slug: Web/CSS/ratio
page-type: css-type
browser-compat: css.types.ratio
---
{{CSSRef}}
The **`<ratio>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types), used for describing [aspect ratios](/en-US/docs/Web/CSS/@media/aspect-ratio) in [media queries](/en-US/docs/Web/CSS/CSS_med... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/resize/index.md | ---
title: resize
slug: Web/CSS/resize
page-type: css-property
browser-compat: css.properties.resize
---
{{CSSRef}}
The **`resize`** [CSS](/en-US/docs/Web/CSS) property sets whether an element is resizable, and if so, in which directions.
{{EmbedInteractiveExample("pages/css/resize.html")}}
`resize` does not apply ... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/z-index/index.md | ---
title: z-index
slug: Web/CSS/z-index
page-type: css-property
browser-compat: css.properties.z-index
---
{{CSSRef}}
The **`z-index`** CSS property sets the z-order of a [positioned](/en-US/docs/Web/CSS/position) element and its descendants or flex and grid items. Overlapping elements with a larger z-index cover th... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/text-size-adjust/index.md | ---
title: text-size-adjust
slug: Web/CSS/text-size-adjust
page-type: css-property
status:
- experimental
browser-compat: css.properties.text-size-adjust
---
{{CSSRef}}{{SeeCompatTable}}
The **`text-size-adjust`** [CSS](/en-US/docs/Web/API/CSS) property controls the text inflation algorithm used on some smartphones... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/margin/index.md | ---
title: margin
slug: Web/CSS/margin
page-type: css-shorthand-property
browser-compat: css.properties.margin
---
{{CSSRef}}
The **`margin`** [CSS](/en-US/docs/Web/CSS) shorthand property sets the [margin area](/en-US/docs/Web/CSS/CSS_box_model/Introduction_to_the_CSS_box_model#margin_area) on all four sides of an e... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/display-inside/index.md | ---
title: <display-inside>
slug: Web/CSS/display-inside
page-type: css-type
browser-compat:
- css.properties.display.multi-keyword_values
- css.properties.display.flow-root
- css.properties.display.table_values
- css.properties.display.grid
- css.properties.display.flex
- css.properties.display.ruby_values... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/font-synthesis-style/index.md | ---
title: font-synthesis-style
slug: Web/CSS/font-synthesis-style
page-type: css-property
browser-compat: css.properties.font-synthesis-style
---
{{CSSRef}}
The **`font-synthesis-style`** [CSS](/en-US/docs/Web/CSS) property lets you specify whether or not the browser may synthesize the oblique typeface when it is mi... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/-moz-orient/index.md | ---
title: "-moz-orient"
slug: Web/CSS/-moz-orient
page-type: css-property
status:
- non-standard
browser-compat: css.properties.-moz-orient
---
{{CSSRef}}{{Non-standard_header}}
The **`-moz-orient`** [CSS](/en-US/docs/Web/CSS) property specifies the orientation of the element to which it's applied.
## Syntax
The... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/border-radius/index.md | ---
title: border-radius
slug: Web/CSS/border-radius
page-type: css-property
browser-compat: css.properties.border-radius
---
{{CSSRef}}
The **`border-radius`** [CSS](/en-US/docs/Web/CSS) property rounds the corners of an element's outer border edge. You can set a single radius to make circular corners, or two radii ... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/max-inline-size/index.md | ---
title: max-inline-size
slug: Web/CSS/max-inline-size
page-type: css-property
browser-compat: css.properties.max-inline-size
---
{{CSSRef}}
The **`max-inline-size`** [CSS](/en-US/docs/Web/CSS) property defines the horizontal or vertical maximum size of an element's block, depending on its writing mode. It correspo... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/page-break-before/index.md | ---
title: page-break-before
slug: Web/CSS/page-break-before
page-type: css-property
browser-compat: css.properties.page-break-before
---
{{CSSRef}}
> **Warning:** This property has been replaced by the {{cssxref("break-before")}} property.
The **`page-break-before`** CSS property adjusts page breaks _before_ the cu... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/empty-cells/index.md | ---
title: empty-cells
slug: Web/CSS/empty-cells
page-type: css-property
browser-compat: css.properties.empty-cells
---
{{CSSRef}}
The **`empty-cells`** CSS property sets whether borders and backgrounds appear around {{htmlelement("table")}} cells that have no visible content.
{{EmbedInteractiveExample("pages/css/em... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/text-decoration-skip/index.md | ---
title: text-decoration-skip
slug: Web/CSS/text-decoration-skip
page-type: css-property
status:
- experimental
browser-compat: css.properties.text-decoration-skip
---
{{CSSRef}}{{SeeCompatTable}}
The **`text-decoration-skip`** [CSS](/en-US/docs/Web/CSS) property sets what parts of an element's content any text d... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/direction/index.md | ---
title: direction
slug: Web/CSS/direction
page-type: css-property
browser-compat: css.properties.direction
---
{{CSSRef}}
> **Warning:** Where possible, authors are encouraged to avoid using the `direction` CSS property and use the HTML [`dir`](/en-US/docs/Web/HTML/Global_attributes#dir) global attribute instead.
... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/initial-letter-align/index.md | ---
title: initial-letter-align
slug: Web/CSS/initial-letter-align
page-type: css-property
status:
- experimental
browser-compat: css.properties.initial-letter-align
---
{{CSSRef}}{{SeeCompatTable}}
The **`initial-letter-align`** CSS property specifies the alignment of initial letters within a paragraph.
## Syntax... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/at-rule/index.md | ---
title: At-rules
slug: Web/CSS/At-rule
page-type: guide
spec-urls:
- https://drafts.csswg.org/css-conditional-3/
- https://compat.spec.whatwg.org/#css-at-rules
---
{{CSSRef}}
**At-rules** are [CSS statements](/en-US/docs/Web/CSS/Syntax#css_statements) that instruct CSS how to behave. They begin with an at sign... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_doublecolon_-webkit-progress-inner-element/index.md | ---
title: "::-webkit-progress-inner-element"
slug: Web/CSS/::-webkit-progress-inner-element
page-type: css-pseudo-element
status:
- non-standard
browser-compat: css.selectors.-webkit-progress-inner-element
---
{{CSSRef}}{{Non-standard_header}}
The **`::-webkit-progress-inner-element`** [CSS](/en-US/docs/Web/CSS) [... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_doublecolon_-moz-focus-inner/index.md | ---
title: "::-moz-focus-inner"
slug: Web/CSS/::-moz-focus-inner
page-type: css-pseudo-element
status:
- experimental
browser-compat: css.selectors.-moz-focus-inner
---
{{CSSRef}}{{SeeCompatTable}}
The **`::-moz-focus-inner`** [CSS](/en-US/docs/Web/CSS) [pseudo-element](/en-US/docs/Web/CSS/Pseudo-elements) is a [Mo... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/bottom/index.md | ---
title: bottom
slug: Web/CSS/bottom
page-type: css-property
browser-compat: css.properties.bottom
---
{{CSSRef}}
The **`bottom`** [CSS](/en-US/docs/Web/CSS) property participates in setting the vertical position of a [positioned element](/en-US/docs/Web/CSS/position). It has no effect on non-positioned elements.
... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/css_flow_layout/index.md | ---
title: CSS flow layout
slug: Web/CSS/CSS_flow_layout
page-type: guide
---
{{CSSRef}}
_Normal Flow_, or Flow Layout, is the way that Block and Inline elements are displayed on a page before any changes are made to their layout. The flow is essentially a set of things that are all working together and know about ea... | 0 |
data/mdn-content/files/en-us/web/css/css_flow_layout | data/mdn-content/files/en-us/web/css/css_flow_layout/introduction_to_formatting_contexts/index.md | ---
title: Introduction to formatting contexts
slug: Web/CSS/CSS_flow_layout/Introduction_to_formatting_contexts
page-type: guide
---
{{CSSRef}}
This article introduces the concept of formatting contexts, of which there are several types, including block formatting contexts, inline formatting contexts, and flex forma... | 0 |
data/mdn-content/files/en-us/web/css/css_flow_layout | data/mdn-content/files/en-us/web/css/css_flow_layout/flow_layout_and_writing_modes/index.md | ---
title: Flow layout and writing modes
slug: Web/CSS/CSS_flow_layout/Flow_layout_and_writing_modes
page-type: guide
---
{{CSSRef}}
The CSS 2.1 specification, which details how normal flow behaves, assumes a horizontal writing mode. [Layout](/en-US/docs/Web/CSS/CSS_flow_layout/Block_and_inline_layout_in_normal_flow)... | 0 |
data/mdn-content/files/en-us/web/css/css_flow_layout | data/mdn-content/files/en-us/web/css/css_flow_layout/flow_layout_and_overflow/index.md | ---
title: Flow layout and overflow
slug: Web/CSS/CSS_flow_layout/Flow_layout_and_overflow
page-type: guide
---
{{CSSRef}}
When there is more content than can fit into a container, an overflow situation occurs. Understanding how overflow behaves is important in dealing with any element with a constrained size in CSS.... | 0 |
data/mdn-content/files/en-us/web/css/css_flow_layout | data/mdn-content/files/en-us/web/css/css_flow_layout/in_flow_and_out_of_flow/index.md | ---
title: In flow and out of flow
slug: Web/CSS/CSS_flow_layout/In_flow_and_out_of_flow
page-type: guide
---
{{CSSRef}}
The [previous guide](/en-US/docs/Web/CSS/CSS_flow_layout/Block_and_inline_layout_in_normal_flow) explained block and inline layout in normal flow. All elements that are in flow will be laid out usi... | 0 |
data/mdn-content/files/en-us/web/css/css_flow_layout | data/mdn-content/files/en-us/web/css/css_flow_layout/block_and_inline_layout_in_normal_flow/index.md | ---
title: Block and inline layout in normal flow
slug: Web/CSS/CSS_flow_layout/Block_and_inline_layout_in_normal_flow
page-type: guide
---
{{CSSRef}}
In this guide, we will explore the basics of how Block and Inline elements behave when they are part of the normal flow.
Normal Flow is defined in the [CSS 2.1 specif... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/path/index.md | ---
title: path()
slug: Web/CSS/path
page-type: css-function
browser-compat: css.types.basic-shape.path
---
{{CSSRef}}
The **`path()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) accepts an SVG path string, and is used in [CSS Shapes](/en-US/docs/Web/CSS/CSS_shapes) and CSS Motion Path t... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_doublecolon_first-letter/index.md | ---
title: "::first-letter"
slug: Web/CSS/::first-letter
page-type: css-pseudo-element
browser-compat: css.selectors.first-letter
---
{{CSSRef}}
The **`::first-letter`** [CSS](/en-US/docs/Web/CSS) [pseudo-element](/en-US/docs/Web/CSS/Pseudo-elements) applies styles to the first letter of the first line of a [block co... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/css_pseudo-elements/index.md | ---
title: CSS pseudo-elements
slug: Web/CSS/CSS_pseudo-elements
page-type: css-module
spec-urls: https://drafts.csswg.org/css-pseudo/
---
{{CSSRef}}
The **CSS pseudo-element** module defines abstract elements that are not directly present in the document tree. These abstract elements, called pseudo-elements, represe... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/grid-auto-columns/index.md | ---
title: grid-auto-columns
slug: Web/CSS/grid-auto-columns
page-type: css-property
browser-compat: css.properties.grid-auto-columns
---
{{CSSRef}}
The **`grid-auto-columns`** CSS property specifies the size of an implicitly-created grid column {{glossary("grid tracks", "track")}} or pattern of tracks.
{{EmbedInter... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/mask-mode/index.md | ---
title: mask-mode
slug: Web/CSS/mask-mode
page-type: css-property
browser-compat: css.properties.mask-mode
---
{{CSSRef}}
The **`mask-mode`** [CSS](/en-US/docs/Web/CSS) property sets whether the mask reference defined by {{cssxref("mask-image")}} is treated as a luminance or alpha mask.
## Syntax
```css
/* Keywo... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_colon_fullscreen/index.md | ---
title: ":fullscreen"
slug: Web/CSS/:fullscreen
page-type: css-pseudo-class
browser-compat: css.selectors.fullscreen
---
{{CSSRef}}
The **`:fullscreen`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) matches every element that is currently in fullscreen mode. If multiple elements ha... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_doublecolon_-webkit-progress-bar/index.md | ---
title: "::-webkit-progress-bar"
slug: Web/CSS/::-webkit-progress-bar
page-type: css-pseudo-element
status:
- non-standard
browser-compat: css.selectors.-webkit-progress-bar
---
{{CSSRef}}{{Non-standard_header}}
The **`::-webkit-progress-bar`** [CSS](/en-US/docs/Web/CSS) [pseudo-element](/en-US/docs/Web/CSS/Pseu... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/math-shift/index.md | ---
title: math-shift
slug: Web/CSS/math-shift
page-type: css-property
status:
- experimental
browser-compat: css.properties.math-shift
---
{{CSSRef}}{{SeeCompatTable}}
The `math-shift` property indicates whether superscripts inside MathML formulas should be raised by a normal or compact shift.
## Syntax
```css
/... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/mix-blend-mode/index.md | ---
title: mix-blend-mode
slug: Web/CSS/mix-blend-mode
page-type: css-property
browser-compat: css.properties.mix-blend-mode
---
{{CSSRef}}
The **`mix-blend-mode`** [CSS](/en-US/docs/Web/CSS) property sets how an element's content should blend with the content of the element's parent and the element's background.
{{... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/image-resolution/index.md | ---
title: image-resolution
slug: Web/CSS/image-resolution
page-type: css-property
status:
- experimental
spec-urls: https://drafts.csswg.org/css-images-4/#the-image-resolution
---
{{CSSRef}}{{SeeCompatTable}}
The **`image-resolution`** [CSS](/en-US/docs/Web/CSS) property specifies the intrinsic resolution of all r... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/--_star_/index.md | ---
title: "Custom properties (--*): CSS variables"
slug: Web/CSS/--*
page-type: guide
browser-compat: css.properties.custom-property
---
{{CSSRef}}
Property names that are prefixed with `--`, like `--example-name`, represent _custom properties_ that contain a value that can be used in other declarations using the {{... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/@color-profile/index.md | ---
title: "@color-profile"
slug: Web/CSS/@color-profile
page-type: css-at-rule
browser-compat: css.at-rules.color-profile
spec-urls: https://www.w3.org/TR/css-color-5/#at-profile
---
{{CSSRef}}
The **`@color-profile`** [CSS](/en-US/docs/Web/CSS) [at-rule](/en-US/docs/Web/CSS/At-rule) defines and names a color profil... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/percentage/index.md | ---
title: <percentage>
slug: Web/CSS/percentage
page-type: css-type
browser-compat: css.types.percentage
---
{{CSSRef}}
The **`<percentage>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types) represents a percentage value. It is often used to define a size as relative to an element's parent obje... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/right/index.md | ---
title: right
slug: Web/CSS/right
page-type: css-property
browser-compat: css.properties.right
---
{{CSSRef}}
The **`right`** [CSS](/en-US/docs/Web/CSS) property participates in specifying the horizontal position of a [positioned element](/en-US/docs/Web/CSS/position). It has no effect on non-positioned elements.
... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/hanging-punctuation/index.md | ---
title: hanging-punctuation
slug: Web/CSS/hanging-punctuation
page-type: css-property
browser-compat: css.properties.hanging-punctuation
---
{{CSSRef}}
The **`hanging-punctuation`** [CSS](/en-US/docs/Web/CSS) property specifies whether a punctuation mark should hang at the start or end of a line of text. Hanging p... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/background-size/index.md | ---
title: background-size
slug: Web/CSS/background-size
page-type: css-property
browser-compat: css.properties.background-size
---
{{CSSRef}}
The **`background-size`** [CSS](/en-US/docs/Web/CSS) property sets the size of the element's background image.
The image can be left to its natural size, stretched, or constra... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/border-inline-start/index.md | ---
title: border-inline-start
slug: Web/CSS/border-inline-start
page-type: css-shorthand-property
browser-compat: css.properties.border-inline-start
---
{{CSSRef}}
The **`border-inline-start`** [CSS](/en-US/docs/Web/CSS) property is a [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) for setting the ind... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/selector_list/index.md | ---
title: Selector list
slug: Web/CSS/Selector_list
page-type: css-combinator
browser-compat: css.selectors.list
---
{{CSSRef}}
The CSS **selector list** (`,`) selects all the matching nodes. A selector list is a comma-separated list of selectors.
## Description
When multiple selectors share the same declarations,... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/image/index.md | ---
title: <image>
slug: Web/CSS/image
page-type: css-type
browser-compat: css.types.image
---
{{CSSRef}}
The **`<image>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types) represents a two-dimensional image.
## Syntax
The `<image>` data type can be represented with any of the following:
- An ... | 0 |
data/mdn-content/files/en-us/web/css/image | data/mdn-content/files/en-us/web/css/image/paint/index.md | ---
title: paint()
slug: Web/CSS/image/paint
page-type: css-function
browser-compat: css.types.image.paint
---
{{CSSRef}}
The **`paint()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) defines an {{cssxref("<image>")}} value generated with a PaintWorklet.
## Syntax
```css
paint(wor... | 0 |
data/mdn-content/files/en-us/web/css/image | data/mdn-content/files/en-us/web/css/image/image/index.md | ---
title: image()
slug: Web/CSS/image/image
page-type: css-function
browser-compat: css.types.image.image
---
{{CSSRef}}
The **`image()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) defines an {{CSSxRef("<image>")}} in a similar fashion to the {{CSSxRef("url", "url()")}} function,... | 0 |
data/mdn-content/files/en-us/web/css/image | data/mdn-content/files/en-us/web/css/image/image-set/index.md | ---
title: image-set()
slug: Web/CSS/image/image-set
page-type: css-function
browser-compat: css.types.image.image-set
---
{{CSSRef}}
The **`image-set()`** [CSS](/en-US/docs/Web/CSS) [functional](/en-US/docs/Web/CSS/CSS_Functions) notation is a method of letting the browser pick the most appropriate CSS image from a ... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/line-style/index.md | ---
title: <line-style>
slug: Web/CSS/line-style
page-type: css-type
browser-compat: css.types.line-style
spec-urls: https://drafts.csswg.org/css-backgrounds/#typedef-line-style
---
{{CSSRef}}
The **`<line-style>`** {{glossary("enumerated")}} value type represents keyword values that define the style of a line, or th... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_colon_read-only/index.md | ---
title: ":read-only"
slug: Web/CSS/:read-only
page-type: css-pseudo-class
browser-compat: css.selectors.read-only
---
{{CSSRef}}
The **`:read-only`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) represents an element (such as `input` or `textarea`) that is not editable by the user.... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/border-block-end-color/index.md | ---
title: border-block-end-color
slug: Web/CSS/border-block-end-color
page-type: css-property
browser-compat: css.properties.border-block-end-color
---
{{CSSRef}}
The **`border-block-end-color`** [CSS](/en-US/docs/Web/CSS) property defines the color of the logical block-end border of an element, which maps to a phys... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/border-right-style/index.md | ---
title: border-right-style
slug: Web/CSS/border-right-style
page-type: css-property
browser-compat: css.properties.border-right-style
---
{{CSSRef}}
The **`border-right-style`** [CSS](/en-US/docs/Web/CSS) property sets the line style of an element's right {{cssxref("border")}}.
{{EmbedInteractiveExample("pages/cs... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/inline-size/index.md | ---
title: inline-size
slug: Web/CSS/inline-size
page-type: css-property
browser-compat: css.properties.inline-size
---
{{CSSRef}}
The **`inline-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 {{cssx... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/font-size/index.md | ---
title: font-size
slug: Web/CSS/font-size
page-type: css-property
browser-compat: css.properties.font-size
---
{{CSSRef}}
The **`font-size`** [CSS](/en-US/docs/Web/CSS) property sets the size of the font. Changing the font size also updates the sizes of the font size-relative {{cssxref("<length>")}} units, s... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/transition-behavior/index.md | ---
title: transition-behavior
slug: Web/CSS/transition-behavior
page-type: css-property
browser-compat: css.properties.transition-behavior
---
{{CSSRef}}
The **`transition-behavior`** [CSS](/en-US/docs/Web/CSS) property specifies whether transitions will be started for properties whose animation behavior is [discret... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/scroll-snap-align/index.md | ---
title: scroll-snap-align
slug: Web/CSS/scroll-snap-align
page-type: css-property
browser-compat: css.properties.scroll-snap-align
---
{{CSSRef}}
The `scroll-snap-align` property specifies the box's snap position as an alignment of its snap area (as the alignment subject) within its snap container's snapport (as t... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/inset-inline-end/index.md | ---
title: inset-inline-end
slug: Web/CSS/inset-inline-end
page-type: css-property
browser-compat: css.properties.inset-inline-end
---
{{CSSRef}}
The **`inset-inline-end`** [CSS](/en-US/docs/Web/CSS) property defines the logical inline end inset of an element, which maps to a physical offset depending on the element'... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/overflow_value/index.md | ---
title: <overflow>
slug: Web/CSS/overflow_value
page-type: css-type
browser-compat: css.types.overflow
---
{{CSSRef}}
The **`<overflow>`** {{glossary("enumerated")}} value type represents the keyword values for the {{cssxref("overflow-block")}}, {{cssxref("overflow-inline")}}, {{cssxref("overflow-x")}}, and {{cssx... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/border-inline-width/index.md | ---
title: border-inline-width
slug: Web/CSS/border-inline-width
page-type: css-property
browser-compat: css.properties.border-inline-width
---
{{CSSRef}}
The **`border-inline-width`** [CSS](/en-US/docs/Web/CSS) property defines the width of the logical inline borders of an element, which maps to a physical border wi... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/font-synthesis-position/index.md | ---
title: font-synthesis-position
slug: Web/CSS/font-synthesis-position
page-type: css-property
browser-compat: css.properties.font-synthesis-position
---
{{CSSRef}}
The **`font-synthesis-position`** [CSS](/en-US/docs/Web/CSS) property lets you specify whether or not a browser may synthesize the subscript and supers... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/animation-composition/index.md | ---
title: animation-composition
slug: Web/CSS/animation-composition
page-type: css-property
browser-compat: css.properties.animation-composition
---
{{CSSRef}}
The **`animation-composition`** [CSS](/en-US/docs/Web/CSS) property specifies the {{Glossary("composite operation")}} to use when multiple animations affect ... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/specificity/index.md | ---
title: Specificity
slug: Web/CSS/Specificity
page-type: guide
spec-urls: https://drafts.csswg.org/selectors/#specificity-rules
---
{{CSSRef}}
**Specificity** is the algorithm used by browsers to determine the [CSS declaration](/en-US/docs/Learn/CSS/First_steps/What_is_CSS#css_syntax) that is the most relevant to ... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/grid-auto-flow/index.md | ---
title: grid-auto-flow
slug: Web/CSS/grid-auto-flow
page-type: css-property
browser-compat: css.properties.grid-auto-flow
---
{{CSSRef}}
The **`grid-auto-flow`** CSS property controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid.
{{EmbedInteractiveExamp... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/grid-auto-rows/index.md | ---
title: grid-auto-rows
slug: Web/CSS/grid-auto-rows
page-type: css-property
browser-compat: css.properties.grid-auto-rows
---
{{CSSRef}}
The **`grid-auto-rows`** CSS property specifies the size of an implicitly-created grid row {{glossary("grid tracks", "track")}} or pattern of tracks.
{{EmbedInteractiveExample("... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/border-inline-end/index.md | ---
title: border-inline-end
slug: Web/CSS/border-inline-end
page-type: css-shorthand-property
browser-compat: css.properties.border-inline-end
---
{{CSSRef}}
The **`border-inline-end`** [CSS](/en-US/docs/Web/CSS) property is a [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) for setting the individual ... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/css_filter_effects/index.md | ---
title: CSS filter effects
slug: Web/CSS/CSS_filter_effects
page-type: css-module
spec-urls:
- https://drafts.fxtf.org/filter-effects-2/
- https://drafts.fxtf.org/filter-effects-1/
---
{{CSSRef}}
The properties in the **CSS filter effects** module let you define a way of processing an element's rendering befor... | 0 |
data/mdn-content/files/en-us/web/css/css_filter_effects | data/mdn-content/files/en-us/web/css/css_filter_effects/using_filter_effects/index.md | ---
title: Using filter effects
slug: Web/CSS/CSS_filter_effects/Using_filter_effects
page-type: guide
---
{{CSSRef}}
Have you ever hovered over a black-and-white or sepia image and the full-color image came into view instantly? Have you ever encountered a background image with a small blurred-out section that makes ... | 0 |
data/mdn-content/files/en-us/web/css/css_filter_effects | data/mdn-content/files/en-us/web/css/css_filter_effects/using_filter_effects/mandala.svg | <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 400 400">
<title>Mandala</title>
<path d="M212.3 389.5c-1.2-1.6-5.3-6-11.5-12-5.2-5.4-11-11.3-12.7-13.3l-3.1-3.6-1 1.5a34.9 34.9 0 0 1-7.4 7.5 43.5 43.5 0 0 1-15.2 6 50.7 50.7 0 0 0-20.7 8.6c-.6 0-1.2-1.3-1.6-3.6-1.1-5.2-2.3-8-7.2-16.4l-4.3-8... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/padding-left/index.md | ---
title: padding-left
slug: Web/CSS/padding-left
page-type: css-property
browser-compat: css.properties.padding-left
---
{{CSSRef}}
The **`padding-left`** [CSS](/en-US/docs/Web/CSS) property sets the width of the [padding area](/en-US/docs/Web/CSS/CSS_box_model/Introduction_to_the_CSS_box_model#padding_area) to the... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_colon_future/index.md | ---
title: ":future"
slug: Web/CSS/:future
page-type: css-pseudo-class
browser-compat: css.selectors.future
---
{{CSSRef}}
The **`:future`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) selector is a time-dimensional pseudo-class that will match for any element which appears entirely ... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/border-right-width/index.md | ---
title: border-right-width
slug: Web/CSS/border-right-width
page-type: css-property
browser-compat: css.properties.border-right-width
---
{{CSSRef}}
The **`border-right-width`** [CSS](/en-US/docs/Web/CSS) property sets the width of the right border of an element.
{{EmbedInteractiveExample("pages/css/border-right-... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/grid-column-start/index.md | ---
title: grid-column-start
slug: Web/CSS/grid-column-start
page-type: css-property
browser-compat: css.properties.grid-column-start
---
{{CSSRef}}
The **`grid-column-start`** CSS property specifies a grid item's start position within the grid column by contributing a line, a span, or nothing (automatic) to its grid... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/box-edge/index.md | ---
title: <box-edge>
slug: Web/CSS/box-edge
page-type: css-type
spec-urls: https://drafts.csswg.org/css-box-4/#keywords
---
{{CSSRef}}
The **`<box-edge>`** value types represent a [box edge](/en-US/docs/Web/CSS/CSS_box_model/Introduction_to_the_CSS_box_model) keyword, such as [`content-box`](#content-box) and [`bord... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/url/index.md | ---
title: url()
slug: Web/CSS/url
page-type: css-function
browser-compat: css.types.url
---
{{CSSRef}}
The **`url()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) is used to include a file. The parameter is an absolute URL, a relative URL, a blob URL, or a data URL. The **`url()`** funct... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/border-bottom-right-radius/index.md | ---
title: border-bottom-right-radius
slug: Web/CSS/border-bottom-right-radius
page-type: css-property
browser-compat: css.properties.border-bottom-right-radius
---
{{CSSRef}}
The **`border-bottom-right-radius`** [CSS](/en-US/docs/Web/CSS) property rounds the bottom-right corner of an element by specifying the radius... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/_colon_root/index.md | ---
title: ":root"
slug: Web/CSS/:root
page-type: css-pseudo-class
browser-compat: css.selectors.root
---
{{CSSRef}}
The **`:root`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) matches the root element of a tree representing the document. In HTML, `:root` represents the {{HTMLElement... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/font/index.md | ---
title: font
slug: Web/CSS/font
page-type: css-shorthand-property
browser-compat: css.properties.font
---
{{CSSRef}}
The **`font`** CSS [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) sets all the different properties of an element's font. Alternatively, it sets an element's font to a system font.
... | 0 |
data/mdn-content/files/en-us/web/css | data/mdn-content/files/en-us/web/css/column-width/index.md | ---
title: column-width
slug: Web/CSS/column-width
page-type: css-property
browser-compat: css.properties.column-width
---
{{CSSRef}}
The **`column-width`** [CSS](/en-US/docs/Web/CSS) property sets the ideal column width in a multi-column layout. The container will have as many columns as can fit without any of them ... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.