Commit 2165ab26 authored by Danny Keane's avatar Danny Keane
Browse files

Added the back-face visibility css property to mixins.less, this property...

Added the back-face visibility css property to mixins.less, this property prevents the browser flickered experienced especially in Chrome when using 3D transformations.
parent d335adf6
Showing with 9 additions and 0 deletions
+9 -0
......@@ -249,6 +249,15 @@
transform: translate(@x, @y, @z);
}
// Back-face Visibility
// This prevents the browser flickering when using to CSS transformations
.backface-visibility(@visibility){
-webkit-backface-visibility: @visibility;
-moz-backface-visibility: @visibility;
-ms-backface-visibility: @visibility;
backface-visibility: @visibility;
}
// Background clipping
// Heads up: FF 3.6 and under need "padding" instead of "padding-box"
.background-clip(@clip) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment