mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-26 13:31:30 +08:00
Removed unnecessary usage of fa
class
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>`
This commit is contained in:
parent
2649d91d18
commit
ae89c2582a
@ -1,7 +1,8 @@
|
|||||||
// Base Class Definition
|
// Base Class Definition
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
.@{fa-css-prefix} {
|
[class^="@{fa-css-prefix}-"],
|
||||||
|
[class*=" @{fa-css-prefix}-"] {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-family: FontAwesome;
|
font-family: FontAwesome;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
Loading…
Reference in New Issue
Block a user