简体   繁体   中英

hover over one div, move another

Hey guys. Basically I have a CSS triangle that I've created, and it sits along the base of a menu bar. What I'd like to do, is have the triangle slide to the underneath of a link in the menu bar if it's hovered over. I gave it a go myself using pure CSS, but I couldn't quite grasp it. Possibly it needs jQuery? Do you guys think you can crack it? Here's my JSFiddle; http://jsfiddle.net/JE8kD/3/

Thanks as ever

something like this?

http://jsfiddle.net/JE8kD/9/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM