I have the following HTML
<table style="position:relative; left: 10px; top:5px;">
<tr id="all_extended">
<td id="pucenas">
<img id="cenas"></img>
</td>
<td id="slide">
<div id="slider">
</div>
</td>
</tr>
</table>
AND CSS
#slide{
height:100%;
border: none;
padding-left:20px;
display:none;
}
#slider{
border: none;
padding-left:30px;
background-color:green;
position:relative;
height:100%;
opacity:0;
width:0px;
overflow:hidden;
transition: width 10s linear 2s;
/* safari is webkit */
-webkit-transition:width 1s linear 2s;
transition: opacity 10s linear 2s;
/* safari is webkit */
-webkit-transition:opacity 1s linear 2s;
}
#cenas{
width:99%;
height:100%;
border: solid black 1px;
position:relative;
left: 0%;
}
#pucenas{
font-size: 0;
width:100px;
height:100px;
position:relative;
border: solid black 1px;
margin: 0px;
padding: 0px;
cursor:pointer;
}
#all_extended:hover #slide{
width: 200px;
display:inline;
}
What I would want is for a green tab to appear when we hover the black square, just like this image shows http://awwapp.com/s/99/5e/21.png (it should be animated and with pure css). Any ideas on this one?