From: David Ollerhead Date: Tue, 9 Jun 2015 15:54:33 +0000 (+0100) Subject: Removing duplicate -ms-transform translate attribute X-Git-Tag: v5.5.3~57^2~7^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F6618%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Removing duplicate -ms-transform translate attribute Duplicate properties cause a lot of problems, especially with css minification tools. Removing the `-ms-transform: translate3d($tx, $ty, $tz);` line keeps IE support for IE9 and up with the 2d transform, and stops the 3d transform overwriting the 2d one and breaking the offcanvas menu on IE9 when CSS is minified --- diff --git a/scss/foundation/components/_offcanvas.scss b/scss/foundation/components/_offcanvas.scss index f23da55c0..a36d57da3 100644 --- a/scss/foundation/components/_offcanvas.scss +++ b/scss/foundation/components/_offcanvas.scss @@ -95,7 +95,6 @@ $menu-slide: "transform 500ms ease" !default; -webkit-transform: translate3d($tx, $ty, $tz); -moz-transform: translate3d($tx, $ty, $tz); -ms-transform: translate($tx, $ty); - -ms-transform: translate3d($tx, $ty, $tz); -o-transform: translate3d($tx, $ty, $tz); transform: translate3d($tx, $ty, $tz) }