html中怎么添加bootstrap中的圖標(biāo)
2 回答

瀟瀟雨雨
TA貢獻(xiàn)1833條經(jīng)驗 獲得超4個贊
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 中的圖標(biāo)
使用的時候
<i class="icon-glass"></i>
這樣就可以。

慕村225694
TA貢獻(xiàn)1880條經(jīng)驗 獲得超4個贊
只需要指定小圖標(biāo)的class就可以 如: <span class="glyphicon-class"></span>
- 2 回答
- 0 關(guān)注
- 669 瀏覽
添加回答
舉報
0/150
提交
取消