I want to be able to add a css property\value using jquery but I want to wait until the animation has been made first then I want the css to remove the animation by setting its display value to none.
This is a snippet of my code.
**Jquery**
$(".filled-rectangle").animate();
$(".filled-rectangle").css('display', 'none');