From 77ef2adcc44defb71c86e07ce8a2105b55edc7b4 Mon Sep 17 00:00:00 2001 From: Julius Date: Wed, 26 Nov 2014 10:42:30 +0000 Subject: [PATCH] Fixes filter property for old IE versions Escaping the following symbols eliminates "Unexpected CSS token: :" warnings on Safari browser (as issued on https://github.com/FortAwesome/Font-Awesome/issues/5043#issuecomment-64542194). --- css/font-awesome.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/css/font-awesome.css b/css/font-awesome.css index 4040b3cf8..0feebaa51 100644 --- a/css/font-awesome.css +++ b/css/font-awesome.css @@ -101,31 +101,31 @@ } } .fa-rotate-90 { - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); + filter: progid\:DXImageTransform\.Microsoft\.BasicImage(rotation\=1); -webkit-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate(90deg); } .fa-rotate-180 { - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); + filter: progid\:DXImageTransform\.Microsoft\.BasicImage(rotation\=2); -webkit-transform: rotate(180deg); -ms-transform: rotate(180deg); transform: rotate(180deg); } .fa-rotate-270 { - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); + filter: progid\:DXImageTransform\.Microsoft\.BasicImage(rotation\=3); -webkit-transform: rotate(270deg); -ms-transform: rotate(270deg); transform: rotate(270deg); } .fa-flip-horizontal { - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1); + filter: progid\:DXImageTransform\.Microsoft\.BasicImage(rotation\=0, mirror\=1); -webkit-transform: scale(-1, 1); -ms-transform: scale(-1, 1); transform: scale(-1, 1); } .fa-flip-vertical { - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1); + filter: progid\:DXImageTransform\.Microsoft\.BasicImage(rotation\=2, mirror\=1); -webkit-transform: scale(1, -1); -ms-transform: scale(1, -1); transform: scale(1, -1);