html中怎么添加bootstrap中的图标
2 回答

拉风的咖菲猫
TA贡献1995条经验 获得超2个赞
bootstrap 中包含的文件有
bootstrap/ ├── css/ │ ├── bootstrap.css │ ├── bootstrap.min.css ├── js/ │ ├── bootstrap.js │ ├── bootstrap.min.js └── img/ ├── glyphicons-halflings.png └── glyphicons-halflings-white.png
在你的web目录下面必须要有
└── img/ ├── glyphicons-halflings.png └── glyphicons-halflings-white.png
才能使用bootstrap 中的图标
使用的时候
<i class="icon-glass"></i>
这样就可以。详细的icon列表你可以去bootstrap的官网上面看。
- 2 回答
- 0 关注
- 1367 浏览
添加回答
举报
0/150
提交
取消