V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
OrangeHat
V2EX  ›  问与答

fontface 无法在移动端的 360 浏览器显示,各位有遇到这样的情况吗?

  •  
  •   OrangeHat · 2014-09-03 11:12:10 +08:00 · 3445 次点击
    这是一个创建于 3522 天前的主题,其中的信息可能已经有所发展或是发生改变。
    目前在各种浏览器没出现问题,仅有移动端360浏览器有此情况。

    代码:
    @font-face {
    font-family: 'icomoon';
    src:url('../../fonts/icomoon.eot?rwx6xy');
    src:url('../../fonts/icomoon.eot?#iefixrwx6xy') format('embedded-opentype'),
    url('../../fonts/icomoon.woff?rwx6xy') format('woff'),
    url('../../fonts/icomoon.ttf?rwx6xy') format('truetype'),
    url('../../fonts/icomoon.svg?rwx6xy#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    }

    [class^="icon-"], [class*=" icon-"] {
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    &:hover {
    text-decoration: none;
    }
    }

    (请忽略缩进)
    2 条回复    2014-09-03 13:26:30 +08:00
    belin520
        1
    belin520  
       2014-09-03 12:15:47 +08:00
    http://iconfont.cn/
    你用360手机浏览器,看看这个网站的 icon 能不能正常显示
    再找出是哪里的问题
    OrangeHat
        2
    OrangeHat  
    OP
       2014-09-03 13:26:30 +08:00
    @belin520
    斌斌你棒棒的 ~~~~(>_<)~~~~
    我用的是icommon。
    icommon 和 iconfont 在360浏览器显示没问题。不知道怎么检查 fontface 的问题。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5449 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 07:00 · PVG 15:00 · LAX 00:00 · JFK 03:00
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.