I'm using -webkit-background-clip to restrict a background image to the text in an h2 element.
My question is, does -moz-background-clip function the same way? This only seems to work in webkit browsers, which suggests it doesn't work yet 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;
}
Currently, in Firefox, the text is hidden (because of the color: transparent and text-fill-color: transparent properties) and only the background image and color are visible in the rectangular shape of the element.
Any ideas?