mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-26 13:31:30 +08:00
Update _mixins.scss
Opera 12.10 supports unprefixed CSS animations, gradients, transforms, and transitions or will use -webkit. Firefox 16.0 supports unprefixed CSS animations, gradients, transforms, and transitions. Source: https://developer.mozilla.org/en-US/docs/Web/CSS/transform
This commit is contained in:
parent
2649d91d18
commit
0d948fe44a
@ -4,17 +4,13 @@
|
|||||||
@mixin fa-icon-rotate($degrees, $rotation) {
|
@mixin fa-icon-rotate($degrees, $rotation) {
|
||||||
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});
|
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});
|
||||||
-webkit-transform: rotate($degrees);
|
-webkit-transform: rotate($degrees);
|
||||||
-moz-transform: rotate($degrees);
|
|
||||||
-ms-transform: rotate($degrees);
|
-ms-transform: rotate($degrees);
|
||||||
-o-transform: rotate($degrees);
|
|
||||||
transform: rotate($degrees);
|
transform: rotate($degrees);
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin fa-icon-flip($horiz, $vert, $rotation) {
|
@mixin fa-icon-flip($horiz, $vert, $rotation) {
|
||||||
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});
|
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});
|
||||||
-webkit-transform: scale($horiz, $vert);
|
-webkit-transform: scale($horiz, $vert);
|
||||||
-moz-transform: scale($horiz, $vert);
|
|
||||||
-ms-transform: scale($horiz, $vert);
|
-ms-transform: scale($horiz, $vert);
|
||||||
-o-transform: scale($horiz, $vert);
|
|
||||||
transform: scale($horiz, $vert);
|
transform: scale($horiz, $vert);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user