Html
    Css
    Js

    
                        
 .main {
	height:500px;
	width:1000px;
	margin:50px auto;
	border:1px solid #ccc;
	position:relative;
}
.img {
	display:inline-block;
	height:400px;
	width:300px;
	border:1px solid #ddd;
	margin:10px;
	line-height:400px;
	position:relative;
	cursor:crosshair;
}
.img img {
	height:100%;
	width:100%;
}
.big_img {
	position:absolute;
	top:10px;
	left:320px;
	width:300px;
	height:400px;
	border:1px solid #eee;
	background-size:600px 800px;
	display:none;
}
span {
	border:1px solid red;
	display:inline-block;
	height:50px;
	width:130px;
	position:fixed;
	top:20px;
	left:50px;
}
.ico {
	position:absolute;
	left:10px;
	bottom:4px;
	width:315px;
	height:80px;
	margin:0;
	padding:0;
}
.ico li {
	display:inline-block;
	width:70px;
	height:80px;
	overflow:hidden;
	padding:0;
	margin:0;
	margin-right:6px;
	float:left;
}
.ico li img {
	width:100%;
}

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

jQuery淘宝查看大图代码

更新时间:2021-11-01 00:49:42

0