I need Prime font for my web site

感情迁移 提交于 2019-12-11 06:46:19

问题


My web designer told me to use prime regular font in my web site.

I didn't find it.

Any body know how to use the font prime.

body
{
 font-family: ...
}

回答1:


final result:

    <style type="text/css">
    @font-face {
    font-family: 'primelight';
    src: url('prime_light-webfont.eot');
    src: url('prime_light-webfont.eot?#iefix') format('embedded-opentype'),
         url('prime_light-webfont.woff') format('woff'),
         url('prime_light-webfont.ttf') format('truetype'),
         url('prime_light-webfont.svg#primelight') format('svg');
    font-weight: normal;
    font-style: normal;

}
    body { 
        font-family: "primelight", Verdana, Tahoma;
    }
    </style>
  1. go to http://fontfabric.com/prime-free-font/ and download the font

  2. creat a repository in your website : fonts/prime/

  3. put the prime files inside make sure you ve something like this :PrimeLight.otf

alternative :

  1. download the font
  2. convert it with all options @ http://www.fontsquirrel.com/tools/webfont-generator


来源:https://stackoverflow.com/questions/18679714/i-need-prime-font-for-my-web-site

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!