I'll try to explain my question with images. Here we go.
1 - This image shows the text masking an image, so far so good, I can do with the following code:
font-size: 120px;
background: url(image-to-be-masked.jpg) repeat 0 0, white;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
2 - This other image, the text creates the opposite effect, leaving transparent only the text area. This is what I want:
Has anyone tried it?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…