What is the best way to do a text mask/clipping with the background that will be supported in all browsers? As you can see in the Codepen, I am trying to make the Text color white only where the red box is and the remaining part of the text will be black. Could you tell me which is the best way to do this effect that can be supported by all browsers. I have made a mock-up and attached for better understanding.
Thanks in Advance.
<div class="head">AWESOME TEST</div>
<div class="box"></div>