安利
坑
开整
<!doctype html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=1.0, minimal-ui">
<title>字体压缩</title>
<style type="text/css">
@font-face {
font-family: 'zaozi';
src: url('D:/webFont/font/zaozi.eot'); //原始字体文件
src: //输出文件路径
url('D:/webFont/font/zaozi.eot?#font-spider') format('embedded-opentype'),
url('D:/webFont/font/zaozi.woff') format('woff'),
url('D:/webFont/font/zaozi.ttf') format('truetype'),
url('D:/webFont/font/zaozi.svg') format('svg');
font-weight: normal;
font-style: normal;
}
h3{
font-family: 'zaozi';
}
</style>
</head>
<body>
<h3>
字体压缩
</h3>
</body>
</html>