Utilities for controlling the size of an element
Use the mask-cover utility to scale the mask image until it fills the mask layer, cropping the image if needed:
Use the mask-contain utility to scale the mask image to the outer edges without cropping or stretching:
Use the mask-auto utility to display the mask image at its default size: