rotated-flipped.less 622B

123456789101112131415161718192021
  1. // Rotated & Flipped Icons
  2. // -------------------------
  3. .@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); }
  4. .@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); }
  5. .@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); }
  6. .@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); }
  7. .@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); }
  8. // Hook for IE8-9
  9. // -------------------------
  10. :root .@{fa-css-prefix}-rotate-90,
  11. :root .@{fa-css-prefix}-rotate-180,
  12. :root .@{fa-css-prefix}-rotate-270,
  13. :root .@{fa-css-prefix}-flip-horizontal,
  14. :root .@{fa-css-prefix}-flip-vertical {
  15. filter: none;
  16. }