I often use CSS shorthand on my coding, and I found the following article extremely useful. For anyone who’s familiar with CSS, this could be very helpful.
There have been a number of occasions when looking over other developer’s CSS I notice bits of code similar to the following…
font-family: Verdana, Helvetica, Arial;
The above code is littered with properties that could easily be combined for more legible code and decreased file size. Some properties might even be removed altogether since they default to the desired value. Below you will find before and after examples of some of the most useful CSS shorthand properties. As a general rule any browser later than IE5 should support all of these.