So I'm trying to create a div element that upon hovering, will "pop" out, and appear as a 2.5D box. Basically, what this person was looking for:
Except animated with a transition, so when not hovered upon, its a simple 2D box, and when hovered on, it appears like the second image in that person's question.
Here's a fiddle with what I have so far:
<div class="cat-box bot-row">
<h4>Hello World!</h4>
<p>Info</p>
</div>
.
.bot-row:hover {
transition: all 0.3s ease-in-out;
transform: translate(10px,10px);
}
.cat-box {
background-color: grey;
outline: #DDD8D4 solid 3px;
padding: 3px 5px 5px 5px;
margin: 10px 30px 10px 30px;
transition: all 0.3s ease-in-out;
}