CSS Best Practice #2: Shorthand Properties
Write your CSS rules with shorthand properties. It keeps things simple and clean. 1 2 3 4 5 6 7 8 9 10 .example { /* long */ padding-top:1px; padding-right:2px; padding-bottom:3px; padding-left:4px; /* short */ padding:1px 2px 3px 4px; } To help you with the shorthand, Dustin Diaz took the time to put together [...]