
Tip 1: CSS font shorthand rule
Instead of styling fonts with individual statements for font-size, font-family, font-weight, etc., you can use CSS shorthand to condense the font-related properties into a single line. Shorthand can transform the following CSS code:
font-size: 10px;
line-height: 15px;
font-weight: bold;
font-style: italic;
font-variant: small-caps;
font-family: arial,sans-serif;
into a single line, like so:
font: 10px/15px ...
Read More
No Comments