Mask Size

The mask-size CSS property specifies the sizes of the mask images. The size of the image can be fully or partially constrained in order to preserve its intrinsic ratio.

Value Description
autoThe mask image maintains its intrinsic proportion.
containThe mask image is letterboxed within the container.
coverThe mask image covers the entire width or height of the container and is clipped if necessary
numericSpecify two values separated by a space. The first is the width, the second is the height.

Themeover CSS Reference

Close