Change height with animate() in jQuery
<p>I am trying to accomplish a simple box selection and indicate which one is clicked.</p>

<pre><code>$(".features").click(function(){
    $(".pBox").css("border-color","#ccc");
    $(this).parent().parent().css("border-color","#cc0000");
    $(this).parent().parent().animate({
        height: "20%"
    });
}); 
</code></pre>

<p>Also I would like to increase the height of the box by 10%, unfortunately, while the color of selected box changes, I have no luck with changing the height. If I change the width, it works fine... What am I missing?</p>
