我试图让图像在较大的图像上徘徊,而另外两个图像较小,但只有徘徊图像下方的图像会受到影响。请帮忙。图像不受CSS悬停点下的影响
小提琴这里:FIDDLE
代码在这里:
<img src="http://hornzach.bugs3.com/assets/images/news/blue.png" alt="" width="100" height="96" class="post72914 post72914img1"/><br>
<img src="http://hornzach.bugs3.com/assets/images/news/oak.png" alt="" width="100" height="97" class="post72914 post72914img2"/><br>
<img src="http://hornzach.bugs3.com/assets/images/news/red.png" alt="" width="100" height="92" class="post72914 post72914img3"/>
<style type="text/css">
<!--
.post72914 {
-webkit-transition: all .5s ease;
-o-transition: all .5s ease;
transition: all .5s ease;
}
.post72914img1:hover{
width:210px;
height:200px;
}
.post72914img2:hover{
width:210px;
height:200px;
}
.post72914img3:hover{
width:210px;
height:200px;
}
.post72914img1:hover ~ img.post72914img2 {width:50px; height:60px;}
.post72914img1:hover ~ img.post72914img3 {width:50px; height:60px;}
.post72914img2:hover ~ img.post72914img1 {width:50px; height:60px;}
.post72914img2:hover ~ img.post72914img3 {width:50px; height:60px;}
.post72914img3:hover ~ img.post72914img2 {width:50px; height:60px;}
.post72914img3:hover ~ img.post72914img1 {width:50px; height:60px;}
-->
</style>
'〜'不向后看 – 2014-10-02 22:15:19
是否有办法使它向后扫描? – hornzach 2014-10-02 22:22:32