diff options
Diffstat (limited to 'packages/fontawesome-free-6.5.2-web/less/_rotated-flipped.less')
-rw-r--r-- | packages/fontawesome-free-6.5.2-web/less/_rotated-flipped.less | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/fontawesome-free-6.5.2-web/less/_rotated-flipped.less b/packages/fontawesome-free-6.5.2-web/less/_rotated-flipped.less new file mode 100644 index 0000000..a0fa1c6 --- /dev/null +++ b/packages/fontawesome-free-6.5.2-web/less/_rotated-flipped.less @@ -0,0 +1,31 @@ +// rotating + flipping icons +// ------------------------- + +.@{fa-css-prefix}-rotate-90 { + transform: rotate(90deg); +} + +.@{fa-css-prefix}-rotate-180 { + transform: rotate(180deg); +} + +.@{fa-css-prefix}-rotate-270 { + transform: rotate(270deg); +} + +.@{fa-css-prefix}-flip-horizontal { + transform: scale(-1, 1); +} + +.@{fa-css-prefix}-flip-vertical { + transform: scale(1, -1); +} + +.@{fa-css-prefix}-flip-both, +.@{fa-css-prefix}-flip-horizontal.@{fa-css-prefix}-flip-vertical { + transform: scale(-1, -1); +} + +.@{fa-css-prefix}-rotate-by { + transform: rotate(~'var(--@{fa-css-prefix}-rotate-angle, 0)'); +} |