mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-21 18:54:30 +01:00
document .backface-visibility and update comments and initial value
This commit is contained in:
parent
feccc6e705
commit
04baa07547
Binary file not shown.
@ -870,6 +870,11 @@
|
|||||||
<td><code>@select</code></td>
|
<td><code>@select</code></td>
|
||||||
<td>Control cursor selection of text on a page</td>
|
<td>Control cursor selection of text on a page</td>
|
||||||
</tr>
|
</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>
|
<tr>
|
||||||
<td><code>.resizable()</code></td>
|
<td><code>.resizable()</code></td>
|
||||||
<td><code>@direction: both</code></td>
|
<td><code>@direction: both</code></td>
|
||||||
|
5
docs/templates/pages/less.mustache
vendored
5
docs/templates/pages/less.mustache
vendored
@ -793,6 +793,11 @@
|
|||||||
<td><code>@select</code></td>
|
<td><code>@select</code></td>
|
||||||
<td>{{_i}}Control cursor selection of text on a page{{/i}}</td>
|
<td>{{_i}}Control cursor selection of text on a page{{/i}}</td>
|
||||||
</tr>
|
</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>
|
<tr>
|
||||||
<td><code>.resizable()</code></td>
|
<td><code>.resizable()</code></td>
|
||||||
<td><code>@direction: both</code></td>
|
<td><code>@direction: both</code></td>
|
||||||
|
@ -251,13 +251,15 @@
|
|||||||
transform: translate(@x, @y, @z);
|
transform: translate(@x, @y, @z);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Back-face Visibility
|
// Backface visibility
|
||||||
// This prevents the browser flickering when using to CSS transformations
|
// Prevent browsers from flickering when using CSS 3D transforms.
|
||||||
.backface-visibility(@visibility){
|
// 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;
|
-webkit-backface-visibility: @visibility;
|
||||||
-moz-backface-visibility: @visibility;
|
-moz-backface-visibility: @visibility;
|
||||||
-ms-backface-visibility: @visibility;
|
-ms-backface-visibility: @visibility;
|
||||||
backface-visibility: @visibility;
|
backface-visibility: @visibility;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Background clipping
|
// Background clipping
|
||||||
|
Loading…
x
Reference in New Issue
Block a user