当前位置:首页 > Web开发 > 正文

jquery 转变css的background rgba属性

2024-03-31 Web开发

空话少说,直接上代码

$("#toolBox ul li").hover(function(){ $(this).css("background","rgba(0,0,0,0.8)"); },function(){ $(this).css("background","rgba(0,0,0,0.65)"); });

  

jquery 转变css的background rgba属性

温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/file/web/32836.html