mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2025-04-05 08:09:15 +08:00
FA 4.0.0 on top
parent
48f332dfba
commit
06d97291f4
@ -9,14 +9,14 @@
|
||||
#### Phonegap / Android (icons in Heading tags)
|
||||
Icons doesn't show up in tags with `text-rendering: optimizeLegibility`. According to your Font Awesome version, please add to your stylesheets:
|
||||
```css
|
||||
/* FA 3.2.1 and older */
|
||||
[class^="icon-"],
|
||||
[class*=" icon-"] {
|
||||
/* FA 4.0.0 and newer */
|
||||
.fa {
|
||||
text-rendering: auto;
|
||||
}
|
||||
|
||||
/* FA 4.0.0 and newer */
|
||||
.fa {
|
||||
/* FA 3.2.1 and older */
|
||||
[class^="icon-"],
|
||||
[class*=" icon-"] {
|
||||
text-rendering: auto;
|
||||
}
|
||||
```
|
||||
@ -28,14 +28,14 @@ Icons doesn't show up in tags with `text-rendering: optimizeLegibility`. Accordi
|
||||
If you are using `font-variant: small-caps;`, according to your Font Awesome version, please add to your stylesheets:
|
||||
|
||||
```css
|
||||
/* FA 3.2.1 and older */
|
||||
[class^="icon-"],
|
||||
[class*=" icon-"] {
|
||||
/* FA 4.0.0 and newer */
|
||||
.fa {
|
||||
font-variant: normal;
|
||||
}
|
||||
|
||||
/* FA 4.0.0 and newer */
|
||||
.fa {
|
||||
/* FA 3.2.1 and older */
|
||||
[class^="icon-"],
|
||||
[class*=" icon-"] {
|
||||
font-variant: normal;
|
||||
}
|
||||
```
|
||||
@ -47,16 +47,16 @@ If you are using `font-variant: small-caps;`, according to your Font Awesome ver
|
||||
According to your Font Awesome version, please add to your stylesheets:
|
||||
|
||||
```css
|
||||
/* FA 4.0.0 and newer */
|
||||
.reveal .fa {
|
||||
font-family: 'FontAwesome';
|
||||
}
|
||||
|
||||
/* FA 3.2.1 and older */
|
||||
.reveal [class^="icon-"],
|
||||
.reveal [class*=" icon-"] {
|
||||
font-family: 'FontAwesome';
|
||||
}
|
||||
|
||||
/* FA 4.0.0 and newer */
|
||||
.reveal .fa {
|
||||
font-family: 'FontAwesome';
|
||||
}
|
||||
```
|
||||
|
||||
(more info on [#2131](https://github.com/FortAwesome/Font-Awesome/pull/2131))
|
Loading…
x
Reference in New Issue
Block a user