mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-26 21:41:29 +08:00
ae89c2582a
As all icon classes begin with `fa-` we can remove the need to use the single `fa` class. Before this change you need to define your icons like this: `<span class="fa fa-glass"></span>` With this change, you'll only need to do: `<span class="fa-glass"></span>`
14 lines
312 B
Plaintext
14 lines
312 B
Plaintext
// Base Class Definition
|
|
// -------------------------
|
|
|
|
[class^="@{fa-css-prefix}-"],
|
|
[class*=" @{fa-css-prefix}-"] {
|
|
display: inline-block;
|
|
font-family: FontAwesome;
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
line-height: 1;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|