为什么我在本地 开启html后 不显示我引用的字体呢 ?
还是必须得上传至 服务器上才可以?
@font-face {
font-family: "Emblema One";
src: url("http://wickedlysmart.com/hfhtmlcss/chapter8/journal/EmblemaOne-Regular.woff"),
url("http://wickedlysmart.com/hfhtmlcss/chapter8/journal/EmblemaOne-Regular.ttf");
/*这段引用 为什么引用不了呢?*/
}
body {
font-family: Verdana,Geneva,Arial,sans-serif;
font-size: small;
color: blue;
}
h1, h2 {
color: #cc6600;
border-bottom: thin dotted #888888;
}
h1 {
font-family: "Emblema One",sans-serif;
font-size: 300%;
}
h2 {
font-size: 130%;
font-weight: normal;
}
blockquote {
font-style: italic;
}