You can just nest div
s to give the same effect as an outline:
<div class='outline'>
<div class="block">Test</div>
</div>
And then add change the css:
.block {
position:absolute;
top:0px;
left:0px;
background: #eceeeb;
border: 3px solid white;
width: 234px;
padding: 10px;
float: left;
height: 124px;
text-align: center;
cursor: default;
-moz-transition: background 0.7s, -moz-box-shadow 0.3s;
-webkit-transition: background 0.7s, -webkit-box-shadow 0.3s;
-o-transition: background 0.7s;
transition: background 0.7s, box-shadow 0.3s;
}
.outline {
position:relative;
border: 2px solid lavender;
width: 240px;
padding: 10px;
float: left;
height: 130px;
margin: 40px;
}