css font styles

cssfontstack.com

All styles for font:

1
2
3
4
5
6
7
8
9
10
11
font-weight: bold;
 
font-style: italic;
 
font-variant: small-caps;
 
font-size: 1em;
 
line-height: 1.5em;
 
font-family: verdana,sans-serif;

Font shorthand styles:

1
font: bold italic small-caps 1em/1.5em Tahoma, Arial, Helvetica, sans-serif;

Useful default font styles:

1
2
3
4
5
body {
 
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important; font-size:100%; line-height: 1.231;
 
}

Leave a Comment