Comment puis-je animer l'opacité de l'arrière-plan d'un div?

J'ai un div #test avec un 0 opacité arrière-plan, je veux l'animer jusqu'à atteindre l'opacité de 0.7. Mais .animer ne semble pas fonctionner avec le css rgba.

Mon css est:

#test {
    background-color: rgba(0, 0, 0, 0);
}

mon code html:

<div id="test">
    <p>Some text</p>
    <img src="http://davidrhysthomas.co.uk/img/dexter.png" />
</div>

et mon jQuery:

$('#test').animate({ background-color: rgba(0, 0, 0, 0.7) },1000);

Ici un jsFiddle: http://jsfiddle.net/malamine_kebe/7twXW/10/

merci beaucoup pour aider!

OriginalL'auteur Gradislava Bikkulova | 2013-04-27