styleditor.net styleditor.net styleditor.net styleditor.net עברית accent-coloralignalignment-baselineallanchoranimationappearanceaspect-ratiobackdrop-filterbackface-visibilitybackgroundbaselineblock-sizeborderbottomboxbreakcaption-sidecaretclearclipcolorcolumncolumnscontaincontainercontentcornercountercursorcxcyddirectiondisplaydominant-baselinedynamic-range-limitempty-cellsfield-sizingfillfilterflexfloatfloodfontforced-color-adjustgapgridheighthyphenatehyphensimageime-modeinitial-letterinline-sizeinsetinteractivityinterestinterpolate-sizeisolationjustifyleftletter-spacinglighting-colorlinelistmarginmarkermaskmask-clipmask-compositemask-imagemask-modemask-originmask-positionmask-repeatmask-sizemask-typemathmaxminmix-blend-modeobjectoffsetopacityorderorphansoutlineoverflowoverlayoverscrollpaddingpagepaint-orderperspectiveplacepointer-eventspositionprint-color-adjustquotesrreadingresizerightrotaterowrubyrulerxryscalescrollscrollbarshapespeakstopstroketab-sizetable-layouttexttimelinetoptouch-actiontransformtransitiontranslatetrigger-scopeunicode-bidiuser-selectvector-effectvertical-alignviewvisibilitywhitewidowswidthwill-changewordwriting-modexyz-indexzoom

The CSS Propertie mask-origin

The mask-origin property specifies the reference area for positioning the mask image — i.e., relative to which box (border/padding/content/SVG-specific) the mask-position is computed. .mask-from-border { mask-origin: border-box; } .precise { mask-image: url("icon.svg"); mask-origin: content-box; mask-position: 50% 50%; } border-boxMask position is relative to the top-left corner of the border box.padding-boxMask position is relative to the top-left corner of the padding box (default value).content-boxMask position is relative to the top-left corner of the content box.fill-boxMask position is relative to the SVG object's fill bounding box.stroke-boxMask position is relative to the SVG object's stroke bounding box.view-boxMask position is relative to the SVG viewBox. CSS Masking Module Level 1 Editor's Draft W3CMDN images Show all code Edit CSS online The plugin that remembers hundreds of CSS items for you Every CSS property — in a live demonstration The bilingual CSS reference
definitionexamplessyntaxmodulespecificationsourcesvisual demonstration