summaryrefslogtreecommitdiff
path: root/packages/fontawesome-free-6.5.2-web/less/_rotated-flipped.less
blob: a0fa1c6acc6d40d8fc6e5a0a6438111d6f17766a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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)');
}