我不喜欢Graffonti字体,我添加了Css3,但html结果没有显示字体。为什么字体不能在Html CSS中工作?
我的CSS文件中有这样的代码,..
@font-face {
font-family: Graffonti;
src: url('fonts/Graffonti/graffonti.3d.drop.[fontvir.us].ttf');
}
h1,h2,h3,h4,h5,h6{
margin-bottom: 21px;
line-height: 21px;
font-family: 'Graffonti',sans-serif;
font-weight: 400;
line-height: 1.2em;
}
字体在字体/ Graffont文件夹,。我想在我的系统中安装字体吗?
什么是错?
我只有TTF文件。我做了什么? – Sagotharan 2012-02-09 17:33:02
http://www.fontspring.com/blog/the-new-bulletproof-font-face-syntax – Sagotharan 2012-02-09 17:36:12