Heim  >  Artikel  >  Web-Frontend  >  @font-face字体加载不成功,求解!_html/css_WEB-ITnose

@font-face字体加载不成功,求解!_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:32:291753Durchsuche

<style>@font-face{	font-family:'cyjxy';       src:url('font/创意简细圆.ttf')format('turetype');    font-weight: normal;        font-style: normal;  }.main p{font-family:"cyjxy"; font-size:60px;}</style><div class="main"><p>创意简细圆创意简细圆创意简细圆创意简细圆创意简细圆创意简细圆创意简细圆</p></div>


字体文件是放在font文件下  为何调用不成功。


回复讨论(解决方案)

我用的是chrome浏览器

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn