mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2025-03-13 21:04:38 +08:00
23 lines
601 B
SCSS
23 lines
601 B
SCSS
---
|
|
---
|
|
// Mixins
|
|
// --------------------------
|
|
|
|
@mixin fa-icon() {
|
|
{% include code/core.css %}
|
|
}
|
|
|
|
@mixin fa-icon-rotate($degrees, $rotation) {
|
|
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) {
|
|
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});
|
|
-webkit-transform: scale($horiz, $vert);
|
|
-ms-transform: scale($horiz, $vert);
|
|
transform: scale($horiz, $vert);
|
|
}
|