<div id="box">
<div id="box">
<div class="image">
<img src="http://365webb.se/exp/wp-content/uploads/2014/06/4921f95baf824205e1b13f22d60357a1-290x183.jpg" />
</div>
<div class="text">
<a class="mylink">link</a>
</div>
</div>
<div id="box">
<div class="image">
<img src="http://365webb.se/exp/wp-content/uploads/2014/06/4921f95baf824205e1b13f22d60357a1-290x183.jpg" />
</div>
<div class="text">
<a class="mylink">link</a>
</div>
</div>
body{
body{
background:#ffa000;
}
#box {
text-align: center;
margin: auto;
overflow: hidden;
position: relative;
width:290px;
height:183px;
}
.image img {
display:block;
}
.image img {
transform:scale(1);
transform:scale(1);
transform:scale(1);
transform:scale(1);
transform:scale(1);
transition: all 1s ease;
transition: all 1s ease;
transition: all 1s ease;
transition: all 1s ease;
}
#box:hover .image img {
cursor: pointer;
transform:scale(1.5);
transform:scale(1.5);
transform:scale(1.5);
transform:scale(1.5);
transform:scale(1.5);
}
.text{
position: absolute;
width: 100%;
height: 100%;
top: 0;
transition: all 1s ease;
transition: all 1s ease;
transition: all 1s ease;
transition: all 1s ease;
background:rgba(0,0,0,0.5);
}
.text:hover{
background: rgba(255, 255, 255, 0.5);
}
.text a{
position: absolute;
top: -100%;
transition: all 1s ease;
transition: all 1s ease;
transition: all 1s ease;
transition: all 1s ease;
}
.text:hover a{
top: 50%;
}