If you are too boring to code long attribute here we can cut down your coding time

CSS Code :
p.razer
{
font-size: 28px;
font-weight: bold;
font-family: “Arial”, Helvetica, sans-serif;
color: #f4f4f4;
line-height: 24px;
}

Short Code:
p.razer
{
font: 900 160%/240% “Arial”, Helvetica, sans-serif;
color: #f4f4f4;

}

What’s that code?

The order of the attributes are font: weight size/line-height family;
400 = normal and 900 for bold;

Advertisements