* {
margin:0;
padding:0;
}
.container {
height:300px;
margin:0 auto;
background-color:#fff;
overflow:hidden;
position:relative;
}
.container ul li {
list-style:none;
background-color:yellow;
}
.first {
/*margin-left:-90px;
*/
}
.other {
/*margin-left:60px;
*/
}
.big {
width:240px;
height:300px;
}
.small {
width:180px;
height:220px;
}
.img_big {
width:240px;
height:200px;
margin:0 auto;
display:block;
}
.img_small {
width:180px;
height:120px;
margin:0 auto;
display:block;
}
.text_small {
width:180px;
background:#ffffff;
height:100px;
overflow:hidden;
text-overflow:ellipsis;
margin:0 auto;
}
.text_big {
width:240px;
background:#ffffff;
height:100px;
overflow:hidden;
text-overflow:ellipsis;
margin:0 auto;
}
.item {
float:left;
position:absolute;
}
.slide-text-p {
margin-left:5px;
}
图片的话可以自行选择,主要的特点就是在屏幕大小不确定的时候,依旧可以让图片占满全屏