字体图标
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
@font-face{
font-family:'zhoudao';
src: url('./fonts/iconfont.ttf');
/*
自定义字体家族
@font-face{
font-family:'自定义家族名';
src: url(字体来源地址);
ttf chrome ,firefox
eot IE9
eot?$iefix IE6~8
woff ios4.2+
svg ios4.1-
}
关于字体图标下载地址
阿里巴巴
*/
}
p{
font-family: 'zhoudao';
font-size:40px;
color:red;
}
</style>
<link rel="stylesheet" href="./fonts/iconfont.css">
</head>
<body>
<p></p>
<b class='iconfont' style='font-size:40px;'></b>
</body>
</html>