search

Home  >  Q&A  >  body text

html5 - 使用阿里 iconfont 在安卓微信内 不显示 在ios下显示

html代码

<i class="iconfont s16">&#xe601;</i>

css代码

@font-face {font-family: "iconfont";
  src: url('iconfont.eot?t=1462945389');
  src: url('iconfont.eot?t=1462945389#iefix') format('embedded-opentype'),
  url('iconfont.svg?t=1462945389#iconfont') format('svg'),
  url('iconfont.ttf?t=1462945389') format('truetype'), 
  url('iconfont.woff?t=1462945389') format('woff');
}

.iconfont {
  font-family:"iconfont" !important;
  font-size:16px;
  font-style:normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
}

为什么会在安卓机 微信下 不显示呢? 该怎么解决 ? 求助!!!

天蓬老师天蓬老师2785 days ago988

reply all(1)I'll reply

  • 怪我咯

    怪我咯2017-04-17 13:19:05

    The built-in browser kernel of WeChat is relatively old...
    In addition, you should try to write in class instead of unicode

    reply
    0
  • Cancelreply