【发布时间】:2014-10-02 09:24:35
【问题描述】:
以下是我的 HTML 标记
<button class="btn btn-default" type="submit">
<i class="glyphicon glyphicon-camera"></i>
</button>
我已经更改了以下行 variable.less
@icon-font-path: "..\fonts";
字体文件夹包含四个文件 - 用于 glyphicons-halflins 的 eot、svg、ttf 和 woff 扩展文件
以下是文件夹结构 -
- 内容\bootstrap.css
- 内容\bootswatch.css
- Content\variables.less
- Contact\fonts -- 所有四个文件(扩展名 - eot、svg、ttf 和 哇)
知道为什么它不在网页中显示图标吗?
非常感谢任何帮助。
【问题讨论】:
-
1) 这是在开发中还是已经部署? 2) 您为
@icon-font-path发布的内容是目前的内容,还是您更改之前的内容?你的措辞不清楚。 -
1) 这是在开发本身中.. 2) 当我从 bootply 下载 variables.less 文件时,@icon-font-path 是相同的...
标签: asp.net-mvc twitter-bootstrap asp.net-mvc-4 glyphicons