may 2 update - new icons, html docs, yaml spec
This commit is contained in:
25
icons/regular/css/less/mixins.less
Executable file
25
icons/regular/css/less/mixins.less
Executable file
@@ -0,0 +1,25 @@
|
||||
// Mixins
|
||||
// --------------------------
|
||||
|
||||
.far-icon() {
|
||||
display: inline-block;
|
||||
font: normal normal normal @far-font-size-base/@far-line-height-base "Fa5Regular";
|
||||
font-size: inherit;
|
||||
text-rendering: auto;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.far-icon-rotate(@degrees, @rotation) {
|
||||
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation);
|
||||
-webkit-transform: rotate(@degrees);
|
||||
-ms-transform: rotate(@degrees);
|
||||
transform: rotate(@degrees);
|
||||
}
|
||||
|
||||
.far-icon-flip(@horiz, @vert, @rotation) {
|
||||
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation, mirror=1);
|
||||
-webkit-transform: scale(@horiz, @vert);
|
||||
-ms-transform: scale(@horiz, @vert);
|
||||
transform: scale(@horiz, @vert);
|
||||
}
|
||||
Reference in New Issue
Block a user