
解决Bootstrap 4及以上版本的图标使用问题
5星
- 浏览量: 0
- 大小:None
- 文件类型:None
简介:
本文将详细介绍如何在Bootstrap 4及更高版本中有效地使用图标,帮助读者解决常见的图标集成和显示问题。
1. 将3版本的fonts文件夹复制到你的目录。
2. 在bootstrap.min.css后面添加以下代码以完成@font-face设置:
```css
@font-face {
font-family: Glyphicons Halflings;
src: url(../fonts/glyphicons-halflings-regular.eot);
src: url(../fonts/glyphicons-halflings-regular.eot?#iefix) format(embedded-opentype),
url(../fonts/glyphicons-halflings-regular.woff)
```
全部评论 (0)
还没有任何评论哟~


