<div class="w3">
<div class="inner active"></div>
</div>
<div class="w3">
<div class="inner"></div>
</div>
<div class="w3">
<div class="inner"></div>
</div>
.w3 {
width:28%;
margin:1%;
min-height:150px;
background:#999;
float:left;
position:relative;
}
.inner {
position:absolute;
min-height:100%;
min-width:100%;
background:#333;
}
.inner:hover, .active {
top: -5px;
left: -5px;
}