我試圖讓圖像在較大的圖像上徘徊,而另外兩個圖像較小,但只有徘徊圖像下方的圖像會受到影響。請幫忙。圖像不受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