$('.small1').hover(function(){
//此处使用传统函数方便
//console.log(this);//此处的this是DOM对象
//$(this).find('.mask').css('top':'0');//此处没有动画拉起的效果
$(this).find
使用JQuery实现遮罩层效果,与DOM思路完全相同
最新推荐文章于 2024-04-04 00:43:04 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
$('.small1').hover(function(){
//此处使用传统函数方便
//console.log(this);//此处的this是DOM对象
//$(this).find('.mask').css('top':'0');//此处没有动画拉起的效果
$(this).find