2012-04-06 4 views
0

enter image description hereのGIFアニメーションは、私が取得しておくものを右側に、私が欲しいものを左にホバー

画像上のdivボックスの背景を開きます。ここに私のコードです。

goo.gl/rnhJ7

<div id="butterbox"> 
    <div id="btrlwh"> 
     <div id="btrlan"> 
      <div id="btrlbx"> 
      </div> 
     </div> 
    </div> 
</div> 

div#butterbox {position:absolute;} 
#btrlwh {background:url(/wp-content/themes/bliss/images/butterfly/leftwhite.gif) no-repeat;width:52px;height:50px;position:relative;right:75px;top:64px;padding:14px 0 0 2px;} 
#btrlan {background:url(/wp-content/themes/bliss/images/butterfly/leftd.gif) no-repeat;width:52px;height:50px;z-index:999;} 
#btrlan:hover {background:url(/wp-content/themes/bliss/images/butterfly/left.gif) no-repeat; } 
#btrlbx {width:81px;height:58px;position:relative;top:15px;left:25px;border:1px solid #FFF;background-color:#8ad1e3;z-index:9;} 
+0

を試してみてください? – hofnarwillie

+0

#btrlbxを開く必要があります。私は実際に不透明度と幅/高さのトランジションも入れたいと思っています。 #btrlbxは蝶の背後に開く必要があります。 – Reis

答えて

1

#btrlbx {visibility:hidden} 
#btrlan:hover #btrlbx {visibility:visible} 
btrlan上でホバリングし、サイズ寸法は、開口ボックスのいくらになるでしょう時に開きたいんDIV
+0

は蝶の上に表示されます。まだそれの後ろにはありません。 – Reis

関連する問題