Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のコードを含むhtmlにメニュー項目があります。
http://jsfiddle.net/hzHJj/
マウスを上に移動するdiv#heliか、同時に上下にdiv#reflection_heli移動する必要があります。一度に1つのdivまたは2つのdivをまったく同じようにシフトすることができました。div#helidiv#heli_reflection
div#heli
div#reflection_heli
div#heli_reflection
ラッパー要素を使用する必要があります。既存の li は適切です。ホバー状態になったら ( li:hover) #heli と #heli_reflection を変更します。
li:hover
http://jsfiddle.net/sJYWr/