1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 09:05:47 +02:00

document .backface-visibility and update comments and initial value

This commit is contained in:
Mark Otto
2012-03-28 18:25:27 -07:00
parent feccc6e705
commit 04baa07547
4 changed files with 18 additions and 6 deletions

View File

@@ -251,13 +251,15 @@
transform: translate(@x, @y, @z);
}
// Back-face Visibility
// This prevents the browser flickering when using to CSS transformations
.backface-visibility(@visibility){
// Backface visibility
// Prevent browsers from flickering when using CSS 3D transforms.
// Default value is `visible`, but can be changed to `hidden
// See git pull https://github.com/dannykeane/bootstrap.git backface-visibility for examples
.backface-visibility(@visibility: visible){
-webkit-backface-visibility: @visibility;
-moz-backface-visibility: @visibility;
-ms-backface-visibility: @visibility;
backface-visibility: @visibility;
-moz-backface-visibility: @visibility;
-ms-backface-visibility: @visibility;
backface-visibility: @visibility;
}
// Background clipping