summaryrefslogtreecommitdiff
path: root/packages/fontawesome-free-6.5.2-web/less/_rotated-flipped.less
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2024-05-12 12:14:02 +0700
committeraltaf-creator <dev@altafcreator.com>2024-05-12 12:14:02 +0700
commitd607ac12097afb5cb6f398a4e7b5cf4316efedc6 (patch)
tree6f4bc5b98a6ff3a1c3189f7ef9b570c0481e100d /packages/fontawesome-free-6.5.2-web/less/_rotated-flipped.less
parent7441f212967256ac4c9a93ba0b1f026308a8bfb6 (diff)
self host
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.less31
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)');
+}