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/layout_cookbook
data/mdn-content/files/en-us/web/css/layout_cookbook/list_group_with_badges/index.md
--- title: List group with badges slug: Web/CSS/Layout_cookbook/List_group_with_badges page-type: guide browser-compat: css.properties.flex --- {{CSSRef}} In this recipe we will create a list group pattern with badges that indicate a count. ![A list of items with a badge indicating a count displayed to the right of ...
0
data/mdn-content/files/en-us/web/css/layout_cookbook
data/mdn-content/files/en-us/web/css/layout_cookbook/sticky_footers/index.md
--- title: Sticky footers slug: Web/CSS/Layout_cookbook/Sticky_footers page-type: guide browser-compat: css.properties.grid --- {{CSSRef}} A sticky footer pattern is one where the footer of your page "sticks" to the bottom of the viewport in cases where the content is shorter than the viewport height. We'll look at a...
0
data/mdn-content/files/en-us/web/css/layout_cookbook
data/mdn-content/files/en-us/web/css/layout_cookbook/contribute_a_recipe/index.md
--- title: Contribute a recipe slug: Web/CSS/Layout_cookbook/Contribute_a_recipe page-type: guide --- {{CSSRef}} If you would like to contribute an example for the Layout Cookbook, then this page explains the steps to take to have your example published. ## What makes a good recipe? **The simplest possible version ...
0
data/mdn-content/files/en-us/web/css/layout_cookbook/contribute_a_recipe
data/mdn-content/files/en-us/web/css/layout_cookbook/contribute_a_recipe/cookbook_template/index.md
--- title: Cookbook template slug: Web/CSS/Layout_cookbook/Contribute_a_recipe/Cookbook_template page-type: guide --- {{CSSRef}} > **Note:** This is a template page for a CSS Cookbook page. Please use this as a raw template when you create a new cookbook page. > _Comment in italics are information about how to use pa...
0
data/mdn-content/files/en-us/web/css/layout_cookbook
data/mdn-content/files/en-us/web/css/layout_cookbook/media_objects/index.md
--- title: "Recipe: Media objects" slug: Web/CSS/Layout_cookbook/Media_objects page-type: guide browser-compat: css.properties.grid --- {{CSSRef}} The _Media Object_ is a pattern we see all over the web. It refers to a two-column box with an image on one side and descriptive text on the other, e.g. a social media pos...
0
data/mdn-content/files/en-us/web/css/layout_cookbook
data/mdn-content/files/en-us/web/css/layout_cookbook/card/index.md
--- title: Card slug: Web/CSS/Layout_cookbook/Card page-type: guide browser-compat: css.properties.grid --- {{CSSRef}} This pattern is a list of "card" components with optional footers. A card contains a title, an image, a description or other content, and an attribution or footer. Cards are generally displayed withi...
0
data/mdn-content/files/en-us/web/css/layout_cookbook
data/mdn-content/files/en-us/web/css/layout_cookbook/split_navigation/index.md
--- title: Split navigation slug: Web/CSS/Layout_cookbook/Split_Navigation page-type: guide browser-compat: css.properties.flex --- {{CSSRef}} The **split navigation** is a navigation pattern where one or more elements are separated from the rest of the navigation items. ![Items separated into two groups.](split-nav...
0
data/mdn-content/files/en-us/web/css/layout_cookbook
data/mdn-content/files/en-us/web/css/layout_cookbook/column_layouts/index.md
--- title: Column layouts slug: Web/CSS/Layout_cookbook/Column_layouts page-type: guide browser-compat: css.properties.flex --- {{CSSRef}} You will often need to create a layout which has a number of columns, and CSS provides several ways to do this. Whether you use [Multi-column](/en-US/docs/Web/CSS/CSS_multicol_lay...
0
data/mdn-content/files/en-us/web/css/layout_cookbook
data/mdn-content/files/en-us/web/css/layout_cookbook/center_an_element/index.md
--- title: Center an element slug: Web/CSS/Layout_cookbook/Center_an_element page-type: guide browser-compat: css.properties.grid --- {{CSSRef}} In this recipe, you will see how to center one box inside another by using [flexbox](#using_flexbox) and [grid](#using_grid). Centering both horizontally and vertically is s...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_doublecolon_cue/index.md
--- title: "::cue" slug: Web/CSS/::cue page-type: css-pseudo-element browser-compat: css.selectors.cue --- {{CSSRef}} The **`::cue`** [CSS](/en-US/docs/Web/CSS) [pseudo-element](/en-US/docs/Web/CSS/Pseudo-elements) matches [WebVTT](/en-US/docs/Web/API/WebVTT_API) cues within a selected element. This can be used to [s...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_-moz-last-node/index.md
--- title: ":-moz-last-node" slug: Web/CSS/:-moz-last-node page-type: css-pseudo-class status: - non-standard --- {{Non-standard_header}}{{CSSRef}} The **`:-moz-last-node`** [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)...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/text-decoration/index.md
--- title: text-decoration slug: Web/CSS/text-decoration page-type: css-shorthand-property browser-compat: css.properties.text-decoration --- {{CSSRef}} The **`text-decoration`** [shorthand](/en-US/docs/Web/CSS/Shorthand_properties) [CSS](/en-US/docs/Web/CSS) property sets the appearance of decorative lines on text. ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/css_properties_and_values_api/index.md
--- title: CSS properties and values API slug: Web/CSS/CSS_properties_and_values_API page-type: css-module spec-urls: https://www.w3.org/TR/css-properties-values-api-1/ --- {{CSSRef}} The **CSS properties and values API** module defines a method for registering new CSS properties, defining the property's data type, i...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/border-right/index.md
--- title: border-right slug: Web/CSS/border-right page-type: css-shorthand-property browser-compat: css.properties.border-right --- {{CSSRef}} The **`border-right`** [shorthand](/en-US/docs/Web/CSS/Shorthand_properties) [CSS](/en-US/docs/Web/CSS) property sets all the properties of an element's right [border](/en-US...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/cssom_view/index.md
--- title: CSSOM view slug: Web/CSS/CSSOM_view page-type: css-module browser-compat: css.properties.scroll-behavior --- {{CSSRef}} The **CSSOM view** module lets you manipulate the visual view of a document, in particular its scrolling behavior. ## Reference ### Properties - {{cssxref("scroll-behavior")}} ## Guid...
0
data/mdn-content/files/en-us/web/css/cssom_view
data/mdn-content/files/en-us/web/css/cssom_view/coordinate_systems/index.md
--- title: Coordinate systems slug: Web/CSS/CSSOM_view/Coordinate_systems page-type: guide --- {{CSSRef}} When specifying the location of a pixel in a graphics context (just like when specifying coordinate systems in [algebra](https://en.wikipedia.org/wiki/Algebra)), its position is defined relative to a fixed point ...
0
data/mdn-content/files/en-us/web/css/cssom_view
data/mdn-content/files/en-us/web/css/cssom_view/coordinate_systems/css-coords.svg
<svg height="1104.573" stroke-miterlimit="10" style="fill-rule:nonzero;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round" viewBox="0 0 1539.99 828.533" width="2053.061" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h1539.99v828.533H0V0Z" fill="#fff"/><path d="M319.832 160h884.338c9.85 ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/-webkit-mask-composite/index.md
--- title: "-webkit-mask-composite" slug: Web/CSS/-webkit-mask-composite page-type: css-property status: - non-standard browser-compat: css.properties.-webkit-mask-composite --- {{CSSRef}}{{Non-standard_header}} The **`-webkit-mask-composite`** property specifies the manner in which multiple mask images applied to ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/rem/index.md
--- title: rem() slug: Web/CSS/rem page-type: css-function browser-compat: css.types.rem --- {{CSSRef}} The **`rem()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) returns a remainder left over when the first parameter is divided by the second parameter, similar to the JavaScript [remaind...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/-moz-float-edge/index.md
--- title: "-moz-float-edge" slug: Web/CSS/-moz-float-edge page-type: css-property status: - deprecated - non-standard browser-compat: css.properties.-moz-float-edge --- {{CSSRef}}{{Non-standard_header}}{{Deprecated_Header}} The non-standard **`-moz-float-edge`** [CSS](/en-US/docs/Web/CSS) property specifies whet...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_-moz-user-disabled/index.md
--- title: ":-moz-user-disabled" slug: Web/CSS/:-moz-user-disabled page-type: css-pseudo-class status: - non-standard --- {{CSSRef}}{{Non-standard_header}} The **`:-moz-user-disabled`** [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...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/shape/index.md
--- title: <shape> slug: Web/CSS/shape page-type: css-type status: - deprecated browser-compat: css.types.shape --- {{CSSRef}}{{deprecated_header}} The **`<shape>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types) defines the specific form (shape) of a region. The region represents the part of...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/angle/index.md
--- title: <angle> slug: Web/CSS/angle page-type: css-type browser-compat: css.types.angle --- {{CSSRef}} The **`<angle>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types) represents an angle value expressed in degrees, gradians, radians, or turns. It is used, for example, in {{cssxref("&lt;grad...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/hypot/index.md
--- title: hypot() slug: Web/CSS/hypot page-type: css-function browser-compat: css.types.hypot --- {{CSSRef}} The **`hypot()`** [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 the sum of sq...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/display-box/index.md
--- title: <display-box> slug: Web/CSS/display-box page-type: css-type browser-compat: css.properties.display.contents --- {{CSSRef}} These keywords define whether an element generates display boxes at all. ## Syntax Valid `<display-box>` values: - `contents` - : These elements don't produce a specific box by t...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/text-justify/index.md
--- title: text-justify slug: Web/CSS/text-justify page-type: css-property browser-compat: css.properties.text-justify --- {{CSSRef}} The **`text-justify`** CSS property sets what type of justification should be applied to text when {{cssxref("text-align")}}`: justify;` is set on an element. ## Syntax ```css text-j...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/alpha-value/index.md
--- title: <alpha-value> slug: Web/CSS/alpha-value page-type: css-type spec-urls: https://drafts.csswg.org/css-color/#typedef-color-alpha-value --- {{CSSRef}} The **`<alpha-value>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types) represents a value that can be either a {{cssxref("&lt;number&gt;...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/box-shadow/index.md
--- title: box-shadow slug: Web/CSS/box-shadow page-type: css-property browser-compat: css.properties.box-shadow --- {{CSSRef}} The **`box-shadow`** [CSS](/en-US/docs/Web/CSS) property adds shadow effects around an element's frame. You can set multiple effects separated by commas. A box shadow is described by X and Y...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_doublecolon_view-transition-group/index.md
--- title: "::view-transition-group" slug: Web/CSS/::view-transition-group page-type: css-pseudo-element status: - experimental browser-compat: css.selectors.view-transition-group --- {{CSSRef}}{{SeeCompatTable}} The **`::view-transition-group`** [CSS](/en-US/docs/Web/CSS) [pseudo-element](/en-US/docs/Web/CSS/Pseud...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/font-smooth/index.md
--- title: font-smooth slug: Web/CSS/font-smooth page-type: css-property status: - non-standard browser-compat: css.properties.font-smooth --- {{CSSRef}} {{ Non-standard_header }} The **`font-smooth`** [CSS](/en-US/docs/Web/CSS) property controls the application of anti-aliasing when fonts are rendered. ## Syntax ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_-moz-suppressed/index.md
--- title: ":-moz-suppressed" slug: Web/CSS/:-moz-suppressed page-type: css-pseudo-class status: - non-standard --- {{CSSRef}}{{Non-standard_header}} The **`:-moz-suppressed`** [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_Extensio...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/computed_value/index.md
--- title: Computed value slug: Web/CSS/computed_value page-type: guide spec-urls: https://www.w3.org/TR/CSS22/cascade.html#computed-value --- {{CSSRef}} The **computed value** of a [CSS](/en-US/docs/Web/CSS) property is the value that is transferred from parent to child during inheritance. It is calculated from the ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/shape-outside/index.md
--- title: shape-outside slug: Web/CSS/shape-outside page-type: css-property browser-compat: css.properties.shape-outside --- {{CSSRef}} The **`shape-outside`** [CSS](/en-US/docs/Web/CSS) property defines a shapeβ€”which may be non-rectangularβ€”around which adjacent inline content should wrap. By default, inline content...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/border-inline-start-color/index.md
--- title: border-inline-start-color slug: Web/CSS/border-inline-start-color page-type: css-property browser-compat: css.properties.border-inline-start-color --- {{CSSRef}} The **`border-inline-start-color`** [CSS](/en-US/docs/Web/CSS) property defines the color 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/print-color-adjust/index.md
--- title: print-color-adjust slug: Web/CSS/print-color-adjust page-type: css-property browser-compat: css.properties.print-color-adjust --- {{CSSRef}} The **`print-color-adjust`** CSS property sets what, if anything, the {{Glossary("user agent")}} may do to optimize the appearance of the element on the output device...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/asin/index.md
--- title: asin() slug: Web/CSS/asin page-type: css-function browser-compat: css.types.asin --- {{CSSRef}} The **`asin()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) is a trigonometric function that returns the inverse sine of a number between `-1` and `1`. The function contains a singl...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_host-context/index.md
--- title: ":host-context()" slug: Web/CSS/:host-context page-type: css-pseudo-class browser-compat: css.selectors.host-context --- {{CSSRef}} The **`:host-context()`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) function selects the shadow host of the [shadow DOM](/en-US/docs/Web/AP...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/image-orientation/index.md
--- title: image-orientation slug: Web/CSS/image-orientation page-type: css-property browser-compat: css.properties.image-orientation --- {{CSSRef}} The **`image-orientation`** [CSS](/en-US/docs/Web/CSS) property specifies a layout-independent correction to the orientation of an image. {{EmbedInteractiveExample("pag...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/mask-clip/index.md
--- title: mask-clip slug: Web/CSS/mask-clip page-type: css-property browser-compat: css.properties.mask-clip --- {{CSSRef}} The **`mask-clip`** [CSS](/en-US/docs/Web/CSS) property determines the area which is affected by a mask. The painted content of an element must be restricted to this area. ## Syntax ```css /*...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/css_fragmentation/index.md
--- title: CSS fragmentation slug: Web/CSS/CSS_fragmentation page-type: css-module spec-urls: https://drafts.csswg.org/css-break/ --- {{CSSRef}} The **CSS fragmentation** module defines how content is displayed when it is broken (fragmented) across multiple [pages](/en-US/docs/Web/CSS/CSS_paged_media), regions, or [c...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/blend-mode/index.md
--- title: <blend-mode> slug: Web/CSS/blend-mode page-type: css-type browser-compat: css.types.blend-mode --- {{CSSRef}} The **`<blend-mode>`** [CSS](/en-US/docs/Web/CSS) [data type](/en-US/docs/Web/CSS/CSS_Types) describes how colors should appear when elements overlap. It is used in the {{cssxref("background-blend-...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/outline-width/index.md
--- title: outline-width slug: Web/CSS/outline-width page-type: css-property browser-compat: css.properties.outline-width --- {{CSSRef}} The [CSS](/en-US/docs/Web/CSS) **`outline-width`** property sets the thickness of an element's outline. An outline is a line that is drawn around an element, outside the {{cssxref("...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/offset/index.md
--- title: offset slug: Web/CSS/offset page-type: css-shorthand-property browser-compat: css.properties.offset --- {{CSSRef}} The **`offset`** CSS [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) sets all the properties required for animating an element along a defined path. The offset properties togeth...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/list-style/index.md
--- title: list-style slug: Web/CSS/list-style page-type: css-shorthand-property browser-compat: css.properties.list-style --- {{CSSRef}} The **`list-style`** CSS [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) allows you to set all the list style properties at once. {{EmbedInteractiveExample("pages/c...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/offset-path/index.md
--- title: offset-path slug: Web/CSS/offset-path page-type: css-property browser-compat: css.properties.offset-path --- {{CSSRef}} The **`offset-path`** [CSS](/en-US/docs/Web/CSS) property specifies a path for an element to follow and determines the element's positioning within the path's parent container or the SVG ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/css_paged_media/index.md
--- title: CSS paged media slug: Web/CSS/CSS_paged_media page-type: css-module spec-urls: - https://drafts.csswg.org/css-page/ - https://drafts.csswg.org/css-break/ --- {{CSSRef}} The **CSS paged media** module defines the properties that control the presentation of content for print or any other media that split...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/mask-repeat/index.md
--- title: mask-repeat slug: Web/CSS/mask-repeat page-type: css-property browser-compat: css.properties.mask-repeat --- {{CSSRef}} The **`mask-repeat`** [CSS](/en-US/docs/Web/CSS) property sets how mask images are repeated. A mask image can be repeated along the horizontal axis, the vertical axis, both axes, or not r...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/css_flexible_box_layout/index.md
--- title: CSS flexible box layout slug: Web/CSS/CSS_flexible_box_layout page-type: css-module spec-urls: https://drafts.csswg.org/css-flexbox/ --- {{CSSRef}} The **CSS flexible box layout** module defines a CSS box model optimized for user interface design, and the layout of items in one dimension. In the flex layou...
0
data/mdn-content/files/en-us/web/css/css_flexible_box_layout
data/mdn-content/files/en-us/web/css/css_flexible_box_layout/basic_concepts_of_flexbox/basics7.svg
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" width="2041.742" height="797.663" stroke-miterlimit="10" style="fill-rule:nonzero;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round" viewBox="0 0 1531.5 598.322"> <defs> <path id="a" d="M39.974 139.9...
0
data/mdn-content/files/en-us/web/css/css_flexible_box_layout
data/mdn-content/files/en-us/web/css/css_flexible_box_layout/basic_concepts_of_flexbox/index.md
--- title: Basic concepts of flexbox slug: Web/CSS/CSS_flexible_box_layout/Basic_concepts_of_flexbox page-type: guide --- {{CSSRef}} The flexible box layout module, usually referred to as flexbox, was designed as a one-dimensional layout model, and as a method that could offer space distribution between items in an i...
0
data/mdn-content/files/en-us/web/css/css_flexible_box_layout
data/mdn-content/files/en-us/web/css/css_flexible_box_layout/basic_concepts_of_flexbox/basics6.svg
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" width="1465.767" height="455.011" stroke-miterlimit="10" style="fill-rule:nonzero;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round" viewBox="0 0 1099.46 341.301"> <defs> <path id="a" d="M139.907 119...
0
data/mdn-content/files/en-us/web/css/css_flexible_box_layout
data/mdn-content/files/en-us/web/css/css_flexible_box_layout/basic_concepts_of_flexbox/basics3.svg
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" width="450mm" height="347.782" stroke-miterlimit="10" style="fill-rule:nonzero;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round" viewBox="0 0 1275.75 260.869"> <defs> <path id="a" d="M300.249 59.965...
0
data/mdn-content/files/en-us/web/css/css_flexible_box_layout
data/mdn-content/files/en-us/web/css/css_flexible_box_layout/basic_concepts_of_flexbox/basics5.svg
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" width="1465.767" height="455.011" stroke-miterlimit="10" style="fill-rule:nonzero;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round" viewBox="0 0 1099.46 341.301"> <defs> <path id="a" d="M150.88 119....
0
data/mdn-content/files/en-us/web/css/css_flexible_box_layout
data/mdn-content/files/en-us/web/css/css_flexible_box_layout/basic_concepts_of_flexbox/basics1.svg
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" width="1225.324" height="347.782" stroke-miterlimit="10" style="fill-rule:nonzero;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round" viewBox="0 0 919.108 260.869"> <defs> <path id="a" d="M39.974 79.9...
0
data/mdn-content/files/en-us/web/css/css_flexible_box_layout
data/mdn-content/files/en-us/web/css/css_flexible_box_layout/basic_concepts_of_flexbox/basics4.svg
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" width="1307.569" height="667.73" stroke-miterlimit="10" style="fill-rule:nonzero;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round" viewBox="0 0 980.8 500.86"> <defs> <path id="a" d="M39.974 80.23h89...
0
data/mdn-content/files/en-us/web/css/css_flexible_box_layout
data/mdn-content/files/en-us/web/css/css_flexible_box_layout/basic_concepts_of_flexbox/basics2.svg
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" width="500.2mm" height="612.185" stroke-miterlimit="10" style="fill-rule:nonzero;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round" viewBox="0 0 1418.07 459.196"> <defs> <path id="a" d="M359.762 39.9...
0
data/mdn-content/files/en-us/web/css/css_flexible_box_layout
data/mdn-content/files/en-us/web/css/css_flexible_box_layout/typical_use_cases_of_flexbox/index.md
--- title: Typical use cases of flexbox slug: Web/CSS/CSS_flexible_box_layout/Typical_use_cases_of_flexbox page-type: guide --- {{CSSRef}} In this guide, we will take a look at some of the common use cases for flexbox β€” those places where it makes more sense than another layout method. ## Why choose flexbox? In a p...
0
data/mdn-content/files/en-us/web/css/css_flexible_box_layout
data/mdn-content/files/en-us/web/css/css_flexible_box_layout/aligning_items_in_a_flex_container/index.md
--- title: Aligning items in a flex container slug: Web/CSS/CSS_flexible_box_layout/Aligning_items_in_a_flex_container page-type: guide --- {{CSSRef}} One of the reasons that flexbox quickly caught the interest of web developers is that it brought proper alignment capabilities to the web for the first time. It enable...
0
data/mdn-content/files/en-us/web/css/css_flexible_box_layout
data/mdn-content/files/en-us/web/css/css_flexible_box_layout/mastering_wrapping_of_flex_items/index.md
--- title: Mastering wrapping of flex items slug: Web/CSS/CSS_flexible_box_layout/Mastering_wrapping_of_flex_items page-type: guide --- {{CSSRef}} Flexbox was designed as a single dimensional layout, meaning that it deals with laying out items as a row or as a column β€” but not both at once. There is however the abili...
0
data/mdn-content/files/en-us/web/css/css_flexible_box_layout
data/mdn-content/files/en-us/web/css/css_flexible_box_layout/relationship_of_flexbox_to_other_layout_methods/index.md
--- title: Relationship of flexbox to other layout methods slug: Web/CSS/CSS_flexible_box_layout/Relationship_of_flexbox_to_other_layout_methods page-type: guide --- {{CSSRef}} In this article we will take a look at how Flexbox fits in with all the other CSS modules. We'll find out which specifications you also need ...
0
data/mdn-content/files/en-us/web/css/css_flexible_box_layout
data/mdn-content/files/en-us/web/css/css_flexible_box_layout/ordering_flex_items/index.md
--- title: Ordering flex items slug: Web/CSS/CSS_flexible_box_layout/Ordering_flex_items page-type: guide --- {{CSSRef}} New layout methods such as Flexbox and Grid bring with them the possibility of controlling the order of content. In this article, we will take a look at ways in which you can change the visual orde...
0
data/mdn-content/files/en-us/web/css/css_flexible_box_layout
data/mdn-content/files/en-us/web/css/css_flexible_box_layout/controlling_ratios_of_flex_items_along_the_main_axis/index.md
--- title: Controlling ratios of flex items along the main axis slug: Web/CSS/CSS_flexible_box_layout/Controlling_ratios_of_flex_items_along_the_main_axis page-type: guide --- {{CSSRef}} In this guide we will be exploring the three properties that are applied to flex items, which enable us to control the size and fle...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/scrollbar-width/index.md
--- title: scrollbar-width slug: Web/CSS/scrollbar-width page-type: css-property browser-compat: css.properties.scrollbar-width --- {{CSSRef}} The **`scrollbar-width`** property allows the author to set the maximum thickness of an element's scrollbars when they are shown. ## Syntax ```css /* Keyword values */ scrol...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/border-image-repeat/index.md
--- title: border-image-repeat slug: Web/CSS/border-image-repeat page-type: css-property browser-compat: css.properties.border-image-repeat --- {{CSSRef}} The **`border-image-repeat`** [CSS](/en-US/docs/Web/CSS) property defines how the [edge regions](/en-US/docs/Web/CSS/border-image-slice#edge-regions) and [middle r...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/ruby-align/index.md
--- title: ruby-align slug: Web/CSS/ruby-align page-type: css-property status: - experimental browser-compat: css.properties.ruby-align --- {{CSSRef}}{{SeeCompatTable}} The **`ruby-align`** CSS property defines the distribution of the different ruby elements over the base. ## Syntax ```css /* Keyword values */ ru...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/css_houdini/index.md
--- title: CSS Houdini slug: Web/CSS/CSS_Houdini page-type: guide status: - experimental --- {{CSSRef}} **CSS Houdini** is a set of APIs that expose parts of the CSS engine. This makes it easier for developers to create extensions for CSS. These extensions might be to polyfill features that are not yet available in...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_dir/index.md
--- title: ":dir()" slug: Web/CSS/:dir page-type: css-pseudo-class browser-compat: css.selectors.dir --- {{CSSRef}} The **`:dir()`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) matches elements based on the directionality of the text contained in them. ```css /* Selects any element ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/cross-fade/index.md
--- title: cross-fade() slug: Web/CSS/cross-fade page-type: css-function browser-compat: css.types.image.cross-fade --- {{CSSRef}} The **`cross-fade()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) can be used to blend two or more images at a defined transparency. It can be used for many ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/clip/index.md
--- title: clip slug: Web/CSS/clip page-type: css-property status: - deprecated browser-compat: css.properties.clip --- {{CSSRef}}{{Deprecated_Header}} > **Warning:** Where possible, authors are encouraged to use the newer {{cssxref("clip-path")}} property instead. The **`clip`** [CSS](/en-US/docs/Web/CSS) propert...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/column-rule-width/index.md
--- title: column-rule-width slug: Web/CSS/column-rule-width page-type: css-property browser-compat: css.properties.column-rule-width --- {{CSSRef}} The **`column-rule-width`** [CSS](/en-US/docs/Web/CSS) property sets the width 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/grid-column/index.md
--- title: grid-column slug: Web/CSS/grid-column page-type: css-shorthand-property browser-compat: css.properties.grid-column --- {{CSSRef}} The **`grid-column`** CSS [shorthand property](/en-US/docs/Web/CSS/Shorthand_properties) specifies a grid item's size and location within a {{glossary("grid column")}} by contri...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/ray/index.md
--- title: ray() slug: Web/CSS/ray page-type: css-function browser-compat: css.types.ray --- {{CSSRef}} The **`ray()`** [CSS](/en-US/docs/Web/CSS) [function](/en-US/docs/Web/CSS/CSS_Functions) defines the [`offset-path`](/en-US/docs/Web/CSS/offset-path) line segment that an animated element can follow. The line segme...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/pseudo-elements/index.md
--- title: Pseudo-elements slug: Web/CSS/Pseudo-elements page-type: landing-page spec-urls: - https://drafts.csswg.org/css-pseudo/ - https://drafts.csswg.org/css-position-4/ - https://drafts.csswg.org/css-shadow-parts/ - https://w3c.github.io/webvtt/ --- {{CSSRef}} A CSS **pseudo-element** is a keyword added ...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/container-type/index.md
--- title: container-type slug: Web/CSS/container-type page-type: css-property browser-compat: css.properties.container-type --- {{CSSRef}} An element can be established as a query container for [container size queries](/en-US/docs/Web/CSS/CSS_containment/Container_queries) using the **`container-type`** [CSS](/en-US...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/visibility/index.md
--- title: visibility slug: Web/CSS/visibility page-type: css-property browser-compat: css.properties.visibility --- {{CSSRef}} The **`visibility`** CSS property shows or hides an element without changing the layout of a document. The property can also hide rows or columns in a {{HTMLElement("table")}}. {{EmbedInter...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/mask-border-width/index.md
--- title: mask-border-width slug: Web/CSS/mask-border-width page-type: css-property browser-compat: css.properties.mask-border-width --- {{CSSRef}} The **`mask-border-width`** [CSS](/en-US/docs/Web/CSS) property sets the width of an element's [mask border](/en-US/docs/Web/CSS/mask-border). ## Syntax ```css /* Keyw...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_doublecolon_-webkit-progress-value/index.md
--- title: "::-webkit-progress-value" slug: Web/CSS/::-webkit-progress-value page-type: css-pseudo-element status: - non-standard browser-compat: css.selectors.-webkit-progress-value --- {{CSSRef}}{{Non-standard_header}} The **`::-webkit-progress-value`** [CSS](/en-US/docs/Web/CSS) [pseudo-element](/en-US/docs/Web/...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_doublecolon_-moz-list-bullet/index.md
--- title: "::-moz-list-bullet" slug: Web/CSS/::-moz-list-bullet page-type: css-pseudo-element status: - non-standard --- {{CSSRef}}{{Non-standard_header}} The **`::-moz-list-bullet`** [CSS](/en-US/docs/Web/CSS) [pseudo-element](/en-US/docs/Web/CSS/Pseudo-elements) is a [Mozilla extension](/en-US/docs/Web/CSS/Mozil...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/vertical-align/index.md
--- title: vertical-align slug: Web/CSS/vertical-align page-type: css-property browser-compat: css.properties.vertical-align --- {{CSSRef}} The **`vertical-align`** [CSS](/en-US/docs/Web/CSS) property sets vertical alignment of an inline, inline-block or table-cell box. {{EmbedInteractiveExample("pages/css/vertical-...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/vertical-align/frame_image.svg
<svg version="1.2" baseProfile="tiny" width="37.833" height="37.833" viewBox="3000 13000 1001 1001" preserveAspectRatio="xMidYMid" fill-rule="evenodd" stroke-width="28.222" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" xml:space="preserve"><defs class="ClipPathGroup"><clipPath id="a" clipPathUnits="userSpa...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_focus-within/index.md
--- title: ":focus-within" slug: Web/CSS/:focus-within page-type: css-pseudo-class browser-compat: css.selectors.focus-within --- {{CSSRef}} The **`:focus-within`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) matches an element if the element or any of its descendants are focused. In...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/word-spacing/index.md
--- title: word-spacing slug: Web/CSS/word-spacing page-type: css-property browser-compat: css.properties.word-spacing --- {{CSSRef}} The **`word-spacing`** [CSS](/en-US/docs/Web/CSS) property sets the length of space between words and between tags. {{EmbedInteractiveExample("pages/css/word-spacing.html")}} ## Synt...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/timeline-scope/index.md
--- title: timeline-scope slug: Web/CSS/timeline-scope page-type: css-property status: - experimental browser-compat: css.properties.timeline-scope --- {{CSSRef}}{{seecompattable}} The **`timeline-scope`** [CSS](/en-US/docs/Web/CSS) property modifies the scope of a named animation timeline. By default, a named tim...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/_colon_state/index.md
--- title: ":state()" slug: Web/CSS/:state page-type: css-pseudo-class status: - experimental browser-compat: css.selectors.state --- {{CSSRef}}{{SeeCompatTable}} The **`:state()`** [CSS](/en-US/docs/Web/CSS) [pseudo-class](/en-US/docs/Web/CSS/Pseudo-classes) matches [custom elements](/en-US/docs/Web/API/Web_compon...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/grid-template-areas/index.md
--- title: grid-template-areas slug: Web/CSS/grid-template-areas page-type: css-property browser-compat: css.properties.grid-template-areas --- {{CSSRef}} The **`grid-template-areas`** CSS property specifies named {{glossary("grid areas")}}, establishing the cells in the grid and assigning them names. {{EmbedInterac...
0
data/mdn-content/files/en-us/web/css
data/mdn-content/files/en-us/web/css/@font-face/index.md
--- title: "@font-face" slug: Web/CSS/@font-face page-type: css-at-rule browser-compat: css.at-rules.font-face --- {{CSSRef}} The **`@font-face`** [CSS](/en-US/docs/Web/CSS) [at-rule](/en-US/docs/Web/CSS/At-rule) specifies a custom font with which to display text; the font can be loaded from either a remote server or...
0
data/mdn-content/files/en-us/web/css/@font-face
data/mdn-content/files/en-us/web/css/@font-face/font-display/index.md
--- title: font-display slug: Web/CSS/@font-face/font-display page-type: css-at-rule-descriptor browser-compat: css.at-rules.font-face.font-display --- {{CSSRef}} The **`font-display`** descriptor for the [`@font-face`](/en-US/docs/Web/CSS/@font-face) at-rule determines how a font face is displayed based on whether a...
0
data/mdn-content/files/en-us/web/css/@font-face
data/mdn-content/files/en-us/web/css/@font-face/size-adjust/index.md
--- title: size-adjust slug: Web/CSS/@font-face/size-adjust page-type: css-at-rule-descriptor browser-compat: css.at-rules.font-face.size-adjust --- {{CSSRef}} The **`size-adjust`** CSS descriptor for the {{cssxref("@font-face")}} at-rule defines a multiplier for glyph outlines and metrics associated with this font. ...
0
data/mdn-content/files/en-us/web/css/@font-face
data/mdn-content/files/en-us/web/css/@font-face/unicode-range/index.md
--- title: unicode-range slug: Web/CSS/@font-face/unicode-range page-type: css-at-rule-descriptor browser-compat: css.at-rules.font-face.unicode-range --- {{CSSRef}} The **`unicode-range`** CSS descriptor sets the specific range of characters to be used from a font defined using the {{cssxref("@font-face")}} at-rule ...
0
data/mdn-content/files/en-us/web/css/@font-face
data/mdn-content/files/en-us/web/css/@font-face/font-feature-settings/ofl.txt
Copyright 2011 The MonteCarlo Project Authors (https://github.com/googlefonts/monte-carlo) This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL -------------------------------------------------------...
0
data/mdn-content/files/en-us/web/css/@font-face
data/mdn-content/files/en-us/web/css/@font-face/font-feature-settings/index.md
--- title: font-feature-settings slug: Web/CSS/@font-face/font-feature-settings page-type: css-at-rule-descriptor browser-compat: css.at-rules.font-face.font-feature-settings --- {{CSSRef}} The **`font-feature-settings`** CSS descriptor allows you to define the initial settings to use for the font defined by the {{cs...
0
data/mdn-content/files/en-us/web/css/@font-face
data/mdn-content/files/en-us/web/css/@font-face/font-family/index.md
--- title: font-family slug: Web/CSS/@font-face/font-family page-type: css-at-rule-descriptor browser-compat: css.at-rules.font-face.font-family --- {{CSSRef}} The **`font-family`** CSS descriptor sets the font family for a font specified in an {{cssxref("@font-face")}} at-rule. The value is used for name matching a...
0
data/mdn-content/files/en-us/web/css/@font-face
data/mdn-content/files/en-us/web/css/@font-face/font-variation-settings/index.md
--- title: font-variation-settings slug: Web/CSS/@font-face/font-variation-settings page-type: css-at-rule-descriptor browser-compat: css.at-rules.font-face.font-variation-settings --- {{CSSRef}} The **`font-variation-settings`** CSS descriptor allows authors to specify low-level OpenType or TrueType font variations ...
0
data/mdn-content/files/en-us/web/css/@font-face
data/mdn-content/files/en-us/web/css/@font-face/font-weight/index.md
--- title: font-weight slug: Web/CSS/@font-face/font-weight page-type: css-at-rule-descriptor browser-compat: css.at-rules.font-face.font-weight --- {{CSSRef}} The **`font-weight`** CSS descriptor allows authors to specify font weights for the fonts specified in the {{cssxref("@font-face")}} at-rule. The {{cssxref("f...
0
data/mdn-content/files/en-us/web/css/@font-face
data/mdn-content/files/en-us/web/css/@font-face/font-stretch/index.md
--- title: font-stretch slug: Web/CSS/@font-face/font-stretch page-type: css-at-rule-descriptor browser-compat: css.at-rules.font-face.font-stretch --- {{CSSRef}} The **`font-stretch`** CSS descriptor allows authors to specify a normal, condensed, or expanded face for the fonts specified in the {{cssxref("@font-face"...
0
data/mdn-content/files/en-us/web/css/@font-face
data/mdn-content/files/en-us/web/css/@font-face/font-style/index.md
--- title: font-style slug: Web/CSS/@font-face/font-style page-type: css-at-rule-descriptor browser-compat: css.at-rules.font-face.font-style --- {{CSSRef}} The **`font-style`** CSS descriptor allows authors to specify font styles for the fonts specified in the {{cssxref("@font-face")}} at-rule. For a particular fon...
0
data/mdn-content/files/en-us/web/css/@font-face
data/mdn-content/files/en-us/web/css/@font-face/src/index.md
--- title: src slug: Web/CSS/@font-face/src page-type: css-at-rule-descriptor browser-compat: css.at-rules.font-face.src --- {{CSSRef}} The **`src`** CSS descriptor for the {{cssxref("@font-face")}} at-rule specifies the resource containing font data. It is required for the `@font-face` rule to be valid. ## Syntax ...
0
data/mdn-content/files/en-us/web/css/@font-face
data/mdn-content/files/en-us/web/css/@font-face/ascent-override/index.md
--- title: ascent-override slug: Web/CSS/@font-face/ascent-override page-type: css-at-rule-descriptor browser-compat: css.at-rules.font-face.ascent-override --- {{CSSRef}} The **`ascent-override`** CSS descriptor for the {{cssxref("@font-face")}} at-rule defines the ascent metric for the font. The ascent metric is th...
0
data/mdn-content/files/en-us/web/css/@font-face
data/mdn-content/files/en-us/web/css/@font-face/descent-override/index.md
--- title: descent-override slug: Web/CSS/@font-face/descent-override page-type: css-at-rule-descriptor browser-compat: css.at-rules.font-face.descent-override --- {{CSSRef}} The **`descent-override`** CSS descriptor for the {{cssxref("@font-face")}} at-rule defines the descent metric for the font. The descent metric...
0
data/mdn-content/files/en-us/web/css/@font-face
data/mdn-content/files/en-us/web/css/@font-face/line-gap-override/index.md
--- title: line-gap-override slug: Web/CSS/@font-face/line-gap-override page-type: css-at-rule-descriptor browser-compat: css.at-rules.font-face.line-gap-override --- {{CSSRef}} The **`line-gap-override`** CSS descriptor for the {{cssxref("@font-face")}} at-rule defines the line-gap metric for the font. The line-gap ...
0