【问题标题】:Star Glyphicon not working, shows an arrow insteadStar Glyphicon 不工作,改为显示箭头
【发布时间】:2015-03-27 10:08:47
【问题描述】:

当我使用时:

<button type="button" class="btn btn-default btn-lg">
  <span class="glyphicon glyphicon-star" aria-hidden="true"></span> Star
</button>

而不是星号,它显示一个箭头, 当我使用搜索字形图标时,它显示一个菱形。很少有字形没有显示出来。

   bootstrap.min.css
   bootstrap-theme.min.css
   bootstrap-theme.css
   bootstrap.css  
   http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css
   bootstrap.min.js

有人可以帮忙吗?

谢谢

【问题讨论】:

  • 我已经包含了我上面提到的所有引导文件。
  • 每个浏览器都有这个问题还是只是特定问题?
  • 似乎是浏览器问题。

标签: html glyphicons


【解决方案1】:

这可能对你有帮助

<link href = "http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel = "stylesheet">
<div class="the-icons">

    <span class="glyphicon glyphicon-search"></span>
    <span class="glyphicon glyphicon-star"></span>
</div>

演示Here

确保包含bootstrap.min.css 链接为Here

【讨论】:

    猜你喜欢
    • 2019-12-01
    • 1970-01-01
    • 2012-06-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多