1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Added the back-face visibility css property to mixins.less, this property prevents the browser flickered experienced especially in Chrome when using 3D transformations.

This commit is contained in:
Danny Keane 2012-03-28 15:05:49 +01:00
parent d335adf644
commit 2165ab2620

View file

@ -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) {