Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / CSS

Knowledge base — CSS

Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.

Entries: 899

CSS

mask-origin — mask positioning area

mask-origin selects the reference rectangle for positioning a mask image. It does not select the clipping area: mask-clip controls that separately.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

mask-position — positioning a mask image

The mask-position property places the image of each mask layer. It accepts keywords, lengths, and percentages; it does not move the element itself or change its layout.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

mask-repeat — tiling a mask image

The mask-repeat property controls whether and how a mask image repeats horizontally and vertically. Use it to display a single mask, create regular tiles, or adjust tile spacing or size.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

mask-size — sizing mask images

The mask-size property sets the dimensions of mask-layer images, not the element itself. It accepts lengths, percentages, auto, contain, and cover, with separate sizes available for multiple layers.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

mask-type — interpreting an SVG mask

mask-type selects how SVG mask content is interpreted: luminance uses luminance and transparency, while alpha uses transparency alone.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

math-depth — mathematical nesting level

The math-depth property sets the mathematical level used to compute font-size: math; it does not measure DOM tree depth.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

CSS property `math-shift`

`math-shift` selects normal or compact script shifting in MathML.

Advanced · CSS modules; captured CSSWG editor index includes draft and obsolete features requiring review
CSS

math-style — compact or normal mathematical layout

The CSS math-style property selects normal or compact MathML layout, affecting formula height, spacing, and the sizes of its parts.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

max-block-size — maximum size on the block axis

max-block-size limits an element’s size on the block axis. Depending on writing-mode, it corresponds to max-height or max-width instead of always constraining the same physical dimension.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

max-height — maximum height

max-height limits an element's height without forcing it to reach that height. Learn how min-height takes priority, how box-sizing affects the limit, and how to handle overflowing content.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

max-inline-size — maximum size along the inline axis

max-inline-size limits an element's size along its inline axis. It corresponds to max-width in horizontal writing and max-height in vertical writing, so the constraint adapts to writing-mode.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

max-width — maximum width

max-width limits an element’s physical width rather than setting it unconditionally. When size constraints conflict, min-width takes precedence.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

min-block-size — minimum size on the block axis

min-block-size sets a lower bound on an element’s block-axis size. With horizontal-tb it constrains height; with vertical-rl and vertical-lr it constrains width, adapting the layout to the writing mode.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

min-height — minimum height

min-height sets a lower bound on an element’s height. When constraints conflict, the minimum takes precedence over height and max-height.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

min-inline-size — minimum size along the inline axis

min-inline-size sets a lower bound on an element’s size along the text axis. Depending on writing-mode, it corresponds to min-width or min-height rather than always constraining physical width.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

min-width — minimum width

min-width sets a lower bound on an element’s width. It takes precedence over a conflicting max-width; its initial auto value does not always mean a zero minimum.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

mix-blend-mode — blending an element with its backdrop

The mix-blend-mode property controls how an element's colors blend with content painted behind it. The result depends on the backdrop; isolation: isolate can limit blending to a group.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required. The Compositing and Blending Level 2 draft includes `plus-darker`, but Chromium 152 does not support that keyword.
CSS

object-fit — fitting content inside an element

object-fit controls how a replaced element’s content fits its content box. It can preserve proportions, crop an image, or stretch it without changing the dimensions of the element’s box.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

object-position — positioning image content

The object-position property aligns the content of a replaced element, such as img, inside its content box. It lets you select the visible area when cropping without moving the element itself in the layout.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

object-view-box — the content reference region

object-view-box selects a rectangular region of a replaced element’s content, enabling zooming and panning.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

offset — motion path shorthand

The offset property combines a path definition, position along it, rotation, and the element’s anchor point.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

offset-anchor — the element point aligned to a path

offset-anchor selects the point on an element aligned to a position on its motion path. It changes how the element sits on the path, not the path itself.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

offset-distance — distance along a path

offset-distance sets a position along offset-path. Percentages refer to the path length, not the element’s size.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

offset-path — positioning path

offset-path defines a geometric path for positioning an element. Setting a path alone neither starts an animation nor draws the path.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required