CSS mask-clip property
CSS mask-clip property specifies the area affected by the mask.
mask-clip : border-box | padding-box | content-box
In this case, the mask of all of the areas within border-box is painted such as content area, padding area, and border area.
In this case, the mask of the areas that are within padding-box are painted such as the padding and content areas.
Only mask of content-area is painted i.e. excluding the other two areas.
It applies to all elements
Was this article helpful?