Html
    Css
    Js
#gallery {
	position:relative;
	height:360px
}
#gallery a {
	float:left;
	position:absolute;
}
#gallery a img {
	border:none;
}
#gallery .caption {
	z-index:600;
	background-color:#000;
	color:#ffffff;
	height:50px;
	width:100%;
	position:absolute;
	bottom:0;
}
#gallery .caption .content {
	margin:5px
}
#gallery .caption .content h3 {
	margin:0;
	padding:0;
	color:#1DCCEF;
}

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

图片切换,简单易操作

0