zoukankan      html  css  js  c++  java
  • @font-face字体文件用法

    <!DOCTYPE html>
    <html>
    <head lang="en">
        <meta charset="UTF-8">
        <title></title>
        <style>
            @font-face {
                font-family: "MFLangSong_Noncommercial";
                /*src:
                url('font/MFLangSong_Noncommercial-Regular.ttf') format('truetype');
                font-weight: normal;*/
                src: url('font/charlemagnestd-regular.eot');
                src: url('font/charlemagnestd-regular.eot?#iehack') format('embedded-opentype'),
                url('font/charlemagnestd-regular.woff') format('woff'),
                url('font/original-charlemagnestd-regular.otf'),
                url('font/charlemagnestd-regular.ttf') format('truetype');
            }
            div{font-size:30px;color:#333;font-family: "MFLangSong_Noncommercial";}
        </style>
    </head>
    <body>
    <div>CFF决赛成绩比拼</div>
    </body>
    </html>

    字体文件转换地址

    http://www.fontconverter.org/?userfile_url=&requiredfile_userfile=1&outFormat=woff

    http://www.freefontconverter.com/

    http://blog.csdn.net/agileclipse/article/details/12450949

  • 相关阅读:
    6554545555
    484844
    学习资料整理
    word加上尾注之后参考文献下面的横线去除
    数据结构+算法
    python编程
    计算机网络(1)
    数据结构
    数据分析笔试(3)
    数据分析笔试(2)
  • 原文地址:https://www.cnblogs.com/dongxiaolei/p/6043765.html
Copyright © 2011-2022 走看看