Animating shorthand CSS properties with jQuery
<p>Chapter 3 of <em>jQuery Novice to Ninja</em> starts with a section about animating CSS properties, and its first example suggests the following code should expand padding and add a couple of borders to every paragraph in a page:</p>

<pre><code>$('document').ready(function() {
  $('p').animate({
    padding: '20px',
    borderBottom: '3px solid #8f8f8f',
    borderRight: '3px solid #bfbfbf'
  }, 2000);
});
</code></pre>

<p>However, while the code indeed works with the jQuery 1.4 library included in the downloadable examples archive for the book, it only animates padding when used alongside jQuery 1.6, forgetting the shorthand CSS properties for <code>border-bottom</code> and <code>border-right</code> altogether.</p>

<p>What happened in the transition between 1.4 and 1.6, causing the removal of this functionality? Has it been placed in some plugin? Is it possible to run this code <em>as it's written</em> and get back the border animation? If not, how would you animate border properties using jQuery 1.6?</p>
