是否可以在网页上创建透明的HTML光标?我使用div作为光标,我想让div 50%透明:http://jsfiddle.net/mCgmP/16/
<div id="cursor"><font size="6">I want this cursor to be 50% transparent!</font></div>
答案 0 :(得分:2)
也许这会有所帮助:
#cursor
{
opacity:0.4;
filter:alpha(opacity=40); /* For IE8 and earlier */
}
答案 1 :(得分:0)
也许您正在寻找:
#cursor{background:rgba(255,255,255,0.5);}
包括文字:
#cursor{background:rgba(255,255,255,0.5);color:rgba(255,255,255,0.5);}