<!DOCTYPE html>
<head>
<style>
#imgages div {
float: left;
}
#image {
width: 500px;
height: 500px;
cursor: pointer;
}
#image img {
position: absolute;
}
.image-2 {
opacity: 0;
-moz-transition: all 0.5s ease-in-out;
-webkit-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
}
.image-2:hover {
opacity: 1;
}
</style>
</head>
<boby>
<div id='imgages'>
<div id='image'>
<img src='http://www.egraphic.ru/images/drawing/261/final.jpg'>
<img src='http://satoriom.ru/wp-content/uploads/2013/10/%D0%B2%D0%BE%D0%BB%D0%BD%D1%8B-%D0%BC%D0%BE%D0%B7%D0%B3%D0%B03-500%D1%85500.jpg' class='image-2'>
</div>
<div id='image'>
<img src='http://www.egraphic.ru/images/drawing/261/final.jpg'>
<img src='http://satoriom.ru/wp-content/uploads/2013/10/%D0%B2%D0%BE%D0%BB%D0%BD%D1%8B-%D0%BC%D0%BE%D0%B7%D0%B3%D0%B03-500%D1%85500.jpg' class='image-2'>
</div>
<div id='image'>
<img src='http://www.egraphic.ru/images/drawing/261/final.jpg'>
<img src='http://satoriom.ru/wp-content/uploads/2013/10/%D0%B2%D0%BE%D0%BB%D0%BD%D1%8B-%D0%BC%D0%BE%D0%B7%D0%B3%D0%B03-500%D1%85500.jpg' class='image-2'>
</div>
</div>
</boby>