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 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS mask image Property

CSS mask-image Property



The mask-image property is used to specify an image to be used as a mask layer for an element. We can use linear and radial gradients in CSS as the mask image.


Default Value:-


Its default value is none.




Its syntax is:- mask-image: none | image | URL | initial | inherit;


Further Explanation:-


Value Description
none This is the default.
image An image to use as the mask layer
url An URL reference to an image or an SVG element
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