css - Fade-in and fade-out an image when mousing over another one -


i have 2 images. second image fade-in when 'mouseover' on first image , fade-out when 'mouseout' first image.

how can acomplish using css3?

i thank in advance replies.

actually don't know how using css3, using jquery:

$('#image1').mouseover(function() {   $('#image2').fadein(); });  $('#image1').mouseout(function() {   $('#image2').fadeout(); }); 

this basic solution few images, can dynamically depending on needs.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -