DIV+CSS ul li 不显示 是怎么会事情。急急急
.content6{width:1020px;height:400px;margin-top:2px;}.content6-1{width:700px;height:39...
.content6{width:1020px;height:400px;margin-top:2px;}
.content6-1{width:700px;height:390px;background:#00CC00;float:left;position:relative;}
.content6-1 ul li{width:700px;height:390px;position:absolute;top:0;left:0;display:none;}
.prev{width:75px;height:75px;background:url(image/images/all.png) -161px 0px;position:relative;top:50%;float:left;margin-top:-32px;opacity: 0.40;}
.next{width:75px;height:75px;background:url(image/images/all.png) -243px 0px;position:relative;top:50%;float:right;margin-top:-32px;opacity: 0.40;}
.but{width:120px;height:17px;background:rgba(0,0,0,0.5);position:relative;top:370px;}
.but ul li{width:12px;height:12px;float:left;border:1px #FFFFFF;}
<div class="content6">
<div class="content6-1">
<ul>
<li style="display:block"><a href="#"><img src="image/images/thumb_700_390_1443579936718.jpg"></a></li>
<li><a href="#"><img src="image/images/thumb_700_390_1443590276680.jpg"></a></li>
<li><a href="#"><img src="image/images/thumb_700_390_1443663576608.jpg"></a></li>
<li><a href="#"><img src="image/images/thumb_700_390_1443670876375.jpg"></a></li>
</ul>
<div class="prev"></div>
<div class="next"></div>
<div class="but">
<ul>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
</div> 展开
.content6-1{width:700px;height:390px;background:#00CC00;float:left;position:relative;}
.content6-1 ul li{width:700px;height:390px;position:absolute;top:0;left:0;display:none;}
.prev{width:75px;height:75px;background:url(image/images/all.png) -161px 0px;position:relative;top:50%;float:left;margin-top:-32px;opacity: 0.40;}
.next{width:75px;height:75px;background:url(image/images/all.png) -243px 0px;position:relative;top:50%;float:right;margin-top:-32px;opacity: 0.40;}
.but{width:120px;height:17px;background:rgba(0,0,0,0.5);position:relative;top:370px;}
.but ul li{width:12px;height:12px;float:left;border:1px #FFFFFF;}
<div class="content6">
<div class="content6-1">
<ul>
<li style="display:block"><a href="#"><img src="image/images/thumb_700_390_1443579936718.jpg"></a></li>
<li><a href="#"><img src="image/images/thumb_700_390_1443590276680.jpg"></a></li>
<li><a href="#"><img src="image/images/thumb_700_390_1443663576608.jpg"></a></li>
<li><a href="#"><img src="image/images/thumb_700_390_1443670876375.jpg"></a></li>
</ul>
<div class="prev"></div>
<div class="next"></div>
<div class="but">
<ul>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
</div> 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |