1@font-face {
2 font-family: "Name of the font"; /*eg Ubuntu*/
3 src: url("your/path/to/the.font");
4}
5
6p{
7 font-family: "Ubuntu";
8}
1p {
2 font: italic small-caps bold 12px/30px Georgia, serif;
3}
4
5/*
6The font property is a shorthand property for:
7font-style
8font-variant
9font-weight
10font-size/line-height
11font-family
12*/
1#example {
2 font-style: normal; /* no specification, default */
3 font-style: italic; /* font is italic */
4 font-style: oblique; /* font is italic, even if italic letters are not specified for font family */
5 font-style: inherit; /* inherit property from parent */
6 font-style: initial; /* default value */
7}