CSS Masking Module Level 1 Exmple

Clipping Paths

Clipping Shape: the clip-path property

clip-source
geometry-box
basic-shape

Winding Rules: the clip-rule property

nonzero
evenodd

Positioned Masks

Mask Image Source: the mask-image property

CSS image
url
url bitmap

Mask Image Interpretation: the mask-mode property

alpha
luminance

Tiling Mask Images: the mask-repeat property

space