Seeking a solution for restricting a background image to the text within an h2 element using -webkit-background-clip.
Wondering if -moz-background-clip functions in the same way as -webkit-background-clip. As it currently only works in webkit browsers, it appears that it does not yet function in Firefox:
#header h1 a{
background: url(img/logo-overlay.png) no-repeat #000;
-moz-background-clip: text; -webkit-background-clip: text;
color: transparent; -moz-text-fill-color: transparent; -webkit-text-fill-color: transparent;
text-decoration: none;
}
As of now, in Firefox, the text remains hidden due to the properties color: transparent and text-fill-color: transparent, showing only the background image and color within the rectangular shape of the element.
Any suggestions or solutions?