Html
    Css
    Js

    
                        
.wrap {
	width:100px;
	height:100px;
	background-color:rgb(240,236,236);
	position:relative;
	left:200px;
	overflow:hidden;
}
.before {
	width:100%;
	height:100%;
	background-color:rosybrown;
	position:absolute;
	left:-100px;
	top:0;
	opacity:0;
}
.after {
	width:100%;
	height:100%;
	background-color:rosybrown;
	position:absolute;
	right:0px;
	z-index:-1;
}
.content {
	position:absolute;
	z-index:3;
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:1.8.3
 立即下载

jQuery鼠标滑过动画

更新时间:2022-02-16 23:37:11

0