【问题标题】:Bootstrap glyphicon icon not showingBootstrap glyphicon 图标未显示
【发布时间】:2015-04-15 01:51:18
【问题描述】:

所有按钮上的字形图标 - bootstrap 不会显示在 safari 或 chrom 中

我无法修复它。请帮忙!

<link href="css/bootstrap.min.css" rel="stylesheet">

<a class="btn btn-primary" href="ClockProject/index.html" 
  target="_blank">View Project 
  <span class="glyphicon glyphicon-chevron-right"></span>
</a>

【问题讨论】:

    标签: css twitter-bootstrap icons


    【解决方案1】:

    您是否确定字体已包含在项目中?查看您网站的控制台时,您会遇到无法加载字形图标(字体包)的错误。

    bootstrap/
    ├── css/
    │   ├── bootstrap.css
    │   ├── bootstrap.css.map
    │   ├── bootstrap.min.css
    ├── js/
    │   ├── bootstrap.js
    │   └── bootstrap.min.js
    └── fonts/
        ├── glyphicons-halflings-regular.eot
        ├── glyphicons-halflings-regular.svg
        ├── glyphicons-halflings-regular.ttf
        ├── glyphicons-halflings-regular.woff
        └── glyphicons-halflings-regular.woff2
    

    【讨论】:

    猜你喜欢
    • 2015-04-07
    • 2014-06-04
    • 2013-12-08
    • 2017-09-20
    • 2017-07-19
    • 2018-04-05
    • 2014-11-30
    • 1970-01-01
    • 2018-11-09
    相关资源
    最近更新 更多