may 2 update - new icons, html docs, yaml spec
This commit is contained in:
25
icons/light/css/scss/mixins.scss
Executable file
25
icons/light/css/scss/mixins.scss
Executable file
@@ -0,0 +1,25 @@
|
||||
// Mixins
|
||||
// --------------------------
|
||||
|
||||
@mixin fal-icon() {
|
||||
display: inline-block;
|
||||
font: normal normal normal #{$fal-font-size-base}/#{$fal-line-height-base} "Fa5Light";
|
||||
font-size: inherit;
|
||||
text-rendering: auto;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
@mixin fal-icon-rotate($degrees, $rotation) {
|
||||
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});
|
||||
-webkit-transform: rotate($degrees);
|
||||
-ms-transform: rotate($degrees);
|
||||
transform: rotate($degrees);
|
||||
}
|
||||
|
||||
@mixin fal-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);
|
||||
}
|
||||
Reference in New Issue
Block a user