为什么只有一些Bootstrap标志符号图标有效

时间:2014-07-11 20:35:51

标签: html css twitter-bootstrap twitter-bootstrap-3

在以下代码中

<html>
    <head>
        <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css" rel="stylesheet">
    </head>
<body>
<span class="glyphicon glyphicon-glass"></span>
<span class="glyphicon glyphicon-cutlery"></span>
<span class="glyphicon glyphicon-wrench"></span>
</body>
</html>

前两个图标显示完美,但扳手有一些错误。根据此处的文档:

http://getbootstrap.com/components/

'扳手'应该是有效的图标。如何才能显示扳手?

2 个答案:

答案 0 :(得分:4)

3.0.0中没有glyphicon-wrench ..

http://www.bootply.com/rvIujXrVQ7

但现在有..

http://www.bootply.com/WwpyWuQTr3

答案 1 :(得分:0)

据推测,您使用的是旧Android,遇到https://github.com/twbs/bootstrap/issues/10106 fixed in Bootstrap v3.0.1

这个SO线程解释了根本原因:WebKit CSS content Unicode bug?

相关问题