<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>CSS Masking: mask-image: mask layer image</title> <link rel="author" title="Astley Chen" href="mailto:aschen@mozilla.com"> <link rel="author" title="Mozilla" href="https://www.mozilla.org"> <style type="text/css"> div { background-color: purple; width: 100px; height: 50px; } </style> </head> <body> <div></div> </body> </html>