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:
<
I don't think CSS can do that. But you can hack it together using three different nested elements:
background-clip:text;
like on your first example.This works, but is a little cumbersome, as you'll have to compensate the masks background-position to achieve the desired effect. Here is an example: http://jsfiddle.net/dzkTE/.