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.
CKTIS / CSS
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
mask-origin selects the reference rectangle for positioning a mask image. It does not select the clipping area: mask-clip controls that separately.
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.
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.
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.
mask-type selects how SVG mask content is interpreted: luminance uses luminance and transparency, while alpha uses transparency alone.
The math-depth property sets the mathematical level used to compute font-size: math; it does not measure DOM tree depth.
`math-shift` selects normal or compact script shifting in MathML.
The CSS math-style property selects normal or compact MathML layout, affecting formula height, spacing, and the sizes of its parts.
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.
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.
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.
max-width limits an element’s physical width rather than setting it unconditionally. When size constraints conflict, min-width takes precedence.
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.
min-height sets a lower bound on an element’s height. When constraints conflict, the minimum takes precedence over height and max-height.
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.
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.
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.
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.
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.
object-view-box selects a rectangular region of a replaced element’s content, enabling zooming and panning.
The offset property combines a path definition, position along it, rotation, and the element’s anchor point.
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.
offset-distance sets a position along offset-path. Percentages refer to the path length, not the element’s size.
offset-path defines a geometric path for positioning an element. Setting a path alone neither starts an animation nor draws the path.