@font-face {
//引入格式
//定义名字
font-family: "Raphaelicons";
src:url('fonts/raphaelicons-webfont.eot') format('eot'),
url('fonts/raphaelicons-webfont.svg') format('svg'),
url('fonts/raphaelicons-webfont.woff') format('woff'),
url('fonts/raphaelicons-webfont.tff') format('truetype');
font-weight: normal;
font-style: normal;
//定义名字
font-family: "Raphaelicons";
src:url('fonts/raphaelicons-webfont.eot') format('eot'),
/* IE9+ 才被适用@font-face*/
url('fonts/raphaelicons-webfont.svg') format('svg'),
url('fonts/raphaelicons-webfont.woff') format('woff'),
url('fonts/raphaelicons-webfont.tff') format('truetype');
font-weight: normal;
font-style: normal;
//font-stretch:normal; 定义字体是不是可以被拉伸
}
}
p{font-family:"raphalicons"} //引用的时候用字体的调用。