Forum Discussion

jackhand's avatar
jackhand
Visitor
8 years ago

Mask an image (show only part of an image)?

I have an image that contains multiple images. I would like to display only a portion of the image to reveal one of the smaller images. Is there a way to mask an image to do this?

If you are an HTML/CSS developer, the concept is similar to placing multiple images into one image sprite image file.
https://www.w3schools.com/css/css_image_sprites.asp

30 Replies