So I have a -tag and within it is a div. The div has a background image that appears when hovering. I would like to add a transition to this affect, though I can't get it working.
HTML
<a class="thumbs">
<div class="thumbsText">
Some text
</div>
</a>
CSS:
.thumbsText{
-webkit-transition: background-image 1s ease-in-out;
-moz-transition: background-image 1s ease-in-out;
-ms-transition: background-image 1s ease-in-out;
-o-transition: background-image 1s ease-in-out;
transition: background-image 1s ease-in-out;
}
.thumbs a:hover .thumbsText{
background-image: url(images/shadow.png);
}