html中怎么添加bootstrap中的图标?

html中怎么添加bootstrap中的图标


Helenr
浏览 1320回答 2
2回答

拉风的咖菲猫

bootstrap 中包含的文件有bootstrap/ ├──&nbsp;css/ │ ├── bootstrap.css&nbsp;│ ├── bootstrap.min.css&nbsp;├──&nbsp;js/ │ ├── bootstrap.js&nbsp;│ ├── bootstrap.min.js&nbsp;└── 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的官网上面看。

宝慕林4294392

只需要指定小图标的class就可以 如: <span class="glyphicon-class"></span>
打开App,查看更多内容
随时随地看视频慕课网APP