Commit 04baa075 authored by Mark Otto's avatar Mark Otto

document .backface-visibility and update comments and initial value

parent feccc6e7
......@@ -870,6 +870,11 @@
<td><code>@select</code></td>
<td>Control cursor selection of text on a page</td>
</tr>
<tr>
<td><code>.backface-visibility()</code></td>
<td><code>@visibility: visible</code></td>
<td>Prevent flickering of content when using CSS 3D transforms</td>
</tr>
<tr>
<td><code>.resizable()</code></td>
<td><code>@direction: both</code></td>
......
......@@ -793,6 +793,11 @@
<td><code>@select</code></td>
<td>{{_i}}Control cursor selection of text on a page{{/i}}</td>
</tr>
<tr>
<td><code>.backface-visibility()</code></td>
<td><code>@visibility: visible</code></td>
<td>{{_i}}Prevent flickering of content when using CSS 3D transforms{{/i}}</td>
</tr>
<tr>
<td><code>.resizable()</code></td>
<td><code>@direction: both</code></td>
......
......@@ -251,9 +251,11 @@
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;
......
Markdown is supported
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