• @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

  • 相关阅读:
    1043. 输出PATest(20)
    1042. 字符统计(20)
    1041. 考试座位号(15)
    1040. 有几个PAT(25)
    1035. 插入与归并(25)
    栈:火车进站
    ABC Fennec VS. Snuke
    费解的开关
    最短Hamilton路径
    built?
  • 原文地址:https://www.cnblogs.com/dongxiaolei/p/6043765.html
Copyright © 2020-2023  润新知