关注重工黑大帅,学习不迷路
先看效果:
图片素材下载(后面两种图片轮换素材也是这个):
链接:
https://pan.baidu.com/s/1EnQkPvp80sqtD0IbANj9sA
提取码:
m7t3
public.css:
/* CSS Document */
*{
margin: 0;
padding: 0;
}
ul,li,ol{
list-style: none;
}
a{
text-decoration: none;
}
img{
border: 0;
}
.clears{
clear: both;
height: 0;
line-height: 0;
overflow: hidden;
font-size: 0;
}
body{
font-family: Arial,Verdana,"Microsoft Yahei","simsun";
font-size: 14px;
}
style.css:
/* CSS Document */
.picshow{
width: 700px;
height: 450px;
margin-left: auto;
margin-right: auto;
}
.bigimg{
width: 700px;
height: 400px;
overflow: hidden; /*把超出的图片隐藏*/
}
.imgUl