I want to rotate this font icon 45 degrees. The icon has this CSS (all CSS compiled via LESS):
[class^="flaticon-"]:before, [class*=" flaticon-"]:before, [class^="flaticon-"]:after, [class*=" flaticon-"]:after {
font-family: Flaticon;
font-size: 20px;
font-style: normal;
margin-left: 20px;
}
And it's this Flaticon: http://www.flaticon.com/free-icon/hand-pointer_70655
I've installed it as an icon font.
However, when I try to rotate it 45 degrees, so that the finger points to the top right corner, it doesn't work. I'm trying by installing the icon like so:
<i class="flaticon-hand-10 gly-rotate-45"></i>
Where this is the class gly-rotate-45
:
.gly-rotate-45 {
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0.5);
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
The browser is picking up transform: rotate(45deg);
, but the icon isn't rotated. How can I rotate this icon font?