freeCodeCamp/guide/chinese/bootstrap/glyphicon-components/index.md

26 lines
872 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: Glyphicon Components
localeTitle: Glyphicon组件
---
## Glyphicon组件
Bootstrap 3包含260个glyphicons。 Glyphicons通常不是免费的但是他们的创造者已经免费提供Bootstrap。谢天谢地您应尽可能包含回到Glyphicons的链接。
在文本,导航,按钮,表单或工具栏中使用字形。
## 例子
```html
<p>Star icon: <span class="glyphicon glyphicon-star"></span></p>
<p>Refresh icon: <span class="glyphicon glyphicon-refresh"></span></p>
<p>Envelope icon: <span class="glyphicon glyphicon-envelope"></span></p>
```
## 注意
Bootstrap 4掉落了Glyphicons。您可以使用[Font Awesome Icons](http://fontawesome.io/icons/) 。
#### 更多信息:
[有关Glyphicons的官方Bootstrap 3文档](https://getbootstrap.com/docs/3.3/components/#glyphicons) [Glyphicons官方网站](https://glyphicons.com/)