注意!
Bootstrap 图标在 这个拉请求合并之后返回 。
经过前几周的反复讨论,我决定选择 将 Glyphicon 图标字体恢复到主回购文件。考虑到图标在 UI 中的流行程度,如果不将它们(或其他图标字体)与 CSS 和 JS 放在同一个位置,可能会对大多数人造成伤害。
此次更新包括以下内容:
- 还原文档(在组件页上)
- 新变量
@icon-font-path
和@icon-font-name
,用于灵活添加和删除图标字体- 升级到最新的雕文图标(增加40个新图标)
- 移除 从 CSS 页面提到的旧的雕文
我们将在未来改进图标字体的定制,以便更容易地交换字体库(这是最初删除的全部动机)。
哪个是新版本 Bootstrap 的 CDN 网址?
从引导3 他们被转移到一个单独的仓库,但我没有找到任何 CDN。
根据官方文件:
随着 Bootstrap 3的启动,图标已经被移动到一个单独的存储库中。这使得主要项目尽可能精简,使得人们更容易交换图标库,并且使得 Glyphicon 图标字体对于 Bootstrap 之外的更多人来说更容易使用。
在 官方网站上,他们没有为图标提供 CDN URL。
在哪里可以找到它? 我不想下载存储库并将其包含到我的项目中。