mixins.less 699 B

1234567891011121314151617181920
  1. // Mixins
  2. // --------------------------
  3. .fa-icon-rotate(@degrees, @rotation) {
  4. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation);
  5. -webkit-transform: rotate(@degrees);
  6. -moz-transform: rotate(@degrees);
  7. -ms-transform: rotate(@degrees);
  8. -o-transform: rotate(@degrees);
  9. transform: rotate(@degrees);
  10. }
  11. .fa-icon-flip(@horiz, @vert, @rotation) {
  12. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation, mirror=1);
  13. -webkit-transform: scale(@horiz, @vert);
  14. -moz-transform: scale(@horiz, @vert);
  15. -ms-transform: scale(@horiz, @vert);
  16. -o-transform: scale(@horiz, @vert);
  17. transform: scale(@horiz, @vert);
  18. }