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