mirror of
https://github.com/ForkAwesome/Fork-Awesome
synced 2024-05-20 15:26:33 +02:00
82f951b944
Caused by `filter: progid:DXImageTransform.Microsoft.BasicImage` css property. Since we are addressing IE >= 8 and valid HTML5 templates, we can use `-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage”` to get the same result Fix #5043
23 lines
624 B
SCSS
23 lines
624 B
SCSS
---
|
|
---
|
|
// Mixins
|
|
// --------------------------
|
|
|
|
@mixin fa-icon() {
|
|
{% include code/core.scss %}
|
|
}
|
|
|
|
@mixin fa-icon-rotate($degrees, $rotation) {
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation})";
|
|
-webkit-transform: rotate($degrees);
|
|
-ms-transform: rotate($degrees);
|
|
transform: rotate($degrees);
|
|
}
|
|
|
|
@mixin fa-icon-flip($horiz, $vert, $rotation) {
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}, mirror=1)";
|
|
-webkit-transform: scale($horiz, $vert);
|
|
-ms-transform: scale($horiz, $vert);
|
|
transform: scale($horiz, $vert);
|
|
}
|