When defining a style with multiple font properties, you can save space and enhance readability by collapsing the font attribute values into a concise notation. A restriction of using this notation is that you must define the font-style and font-weight attributes first, then the font-size, then the font-family names.
The following code shows the verbose way of defining a style:
.header {font-family: Arial;
font-size: 16px;
font-style: normal;
line-height: 20px;
font-weight: bold}
Whereas the following line encapsulates all of the above into a much smaller single line:
.header {font: bold 16px/20px Arial;}
If you have a hot tip and we publish it, we'll pay you. However, due to accounting overhead we no longer pay $10 for a single tip submission. You must accumulate 10 acceptable tips to receive payment. Be sure to include a clear explanation of what the technique does and why it's useful. If it includes code, limit it to 20 lines if possible.
Submit your tip here.