Fork-Awesome/less/mixins.less
Geremia Taglialatela 687006ba99 Opera 12.10 supports unprefixed CSS animations, gradients, transforms, and transitions or will use -webkit.
Firefox 16.0 supports unprefixed CSS animations, gradients, transforms, and transitions.

Closes #3423
Closes #3424
2014-08-23 14:08:15 +02:00

17 lines
535 B
Plaintext

// Mixins
// --------------------------
.fa-icon-rotate(@degrees, @rotation) {
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation);
-webkit-transform: rotate(@degrees);
-ms-transform: rotate(@degrees);
transform: rotate(@degrees);
}
.fa-icon-flip(@horiz, @vert, @rotation) {
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation, mirror=1);
-webkit-transform: scale(@horiz, @vert);
-ms-transform: scale(@horiz, @vert);
transform: scale(@horiz, @vert);
}