code_junkie

How do I pop up an image in a separate div on the mouseover of a div using only CSS?

Nov 11th, 2011
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. <a href="#">Text <img class="popup" src="pic.gif" /></a>
  2.  
  3. a img.popup { display: none }
  4.  
  5. a:hover img.popup { display: block }
Add Comment
Please, Sign In to add comment