gpt4 book ai didi

javascript - 创建透明的 HTML 光标

转载 作者:行者123 更新时间:2023-12-02 18:48:20 27 4
gpt4 key购买 nike

是否可以在网页上创建透明的 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>

最佳答案

也许这会有所帮助:

#cursor
{
opacity:0.4;
filter:alpha(opacity=40); /* For IE8 and earlier */

}

Here's a working demo .

关于javascript - 创建透明的 HTML 光标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16116760/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com