From 60892630226adee3f906193ce4c4336ac1b03044 Mon Sep 17 00:00:00 2001 From: David Ollerhead Date: Tue, 9 Jun 2015 16:54:33 +0100 Subject: [PATCH] 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 --- scss/foundation/components/_offcanvas.scss | 1 - 1 file changed, 1 deletion(-) 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) } -- 2.47.2