html5 - 使用阿里 iconfont 在安卓微信内 不显示 在ios下显示
天蓬老师
天蓬老师 2017-04-17 13:17:05
0
1
1000

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;
}

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

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(1)
刘奇

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template