Tho*_*gns 8 firefox twitter-bootstrap glyphicons
我知道还有许多与此相似的问题,但我似乎没有达到其他问题的任何标准.
My Bootstrap 3 glyphicons适用于除Firefox之外的所有浏览器.在Firefox上,它们显示为奇怪的符号.当从CDN提供glyphicons时,同样的问题是臭名昭着的,但这不是我的问题,因为我使用的是本地托管的字体文件.此外,我已经确保我的文件没有损坏.
这是我的代码.
<head>
<link rel="stylesheet" type="text/css" media="screen" href="/assets/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" media="screen" href="/assets/css/bootstrap-style.css" />
<link rel="stylesheet" type="text/css" media="all" href="/assets/css/style.css" />
</head>
Run Code Online (Sandbox Code Playgroud)
glyphicon的代码:
<span class="glyphicon glyphicon-list-alt section-icon"></span>
Run Code Online (Sandbox Code Playgroud)
我已经确保我的文件得到了适当的处理,并确保清除我的缓存.我不知道我在这里失踪了什么.建议?
我有这个问题,但是从CDN服务bootstrap css为我解决了这个问题:
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet">
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
11135 次 |
| 最近记录: |