CSS

CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise

CSS3

CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS mask origin Property

CSS mask-origin Property

 

 

The mask-origin property is used to specify the origin position and the mask position area of a mask layer image.

 

Default Value:-

 

Its default value is border-box.

 

Syntax:-

 

Its syntax is:- mask-origin: border-box | content-box | padding-box | margin-box | fill-box | stroke-box | view-box | initial | inherit;

 

Further Explanation:-

 

Value Description
border-box The position is relative to the border-box.
content-box The position is relative to the content box.
padding-box The position is relative to the padding box.
margin-box The position is relative to the margin box.
fill-box The position is relative to the object bounding box.
stroke-box The position is relative to the stroke bounding box.
view-box Use the nearest SVG viewport as a reference box.
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS