I am attempting to modify text appearance by using a mask on mouse hover. Despite my best efforts, I cannot seem to make the image-mask method work as intended. My aim is to embed images within text.
HTML:
<div id="ALEX">ALEX</div>
​CSS:
#alex {
font-family: 'Arial';
font-size: 72px;
color: rgba(0,0,0,1);
float: right;
line-height:90px;
font-weight:bold;
}
#alex:hover {
-webkit-mask-image:url(https://dl.dropbox.com/u/16640285/mask.jpg);
-o-mask-image:url(https://dl.dropbox.com/u/16640285/mask.jpg);
-moz-mask-image:url(https://dl.dropbox.com/u/16640285/mask.jpg);
mask-image:url(https://dl.dropbox.com/u/16640285/mask.jpg);
}​