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

add user-select mixin

This commit is contained in:
Mark Otto 2012-01-14 16:45:01 -08:00
parent a40b2a636c
commit 028726a9a3
2 changed files with 11 additions and 3 deletions

2
bootstrap.css vendored
View file

@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Sat Jan 14 16:38:32 PST 2012
* Date: Sat Jan 14 16:44:52 PST 2012
*/
html, body {
margin: 0;

View file

@ -147,8 +147,7 @@
transition: @transition;
}
// Transform for scale and rotate
// translate, rotate, scale -- need to finalize
// Transformations
.rotate(@degrees: 5deg) {
-webkit-transform: rotate(@degrees);
-moz-transform: rotate(@degrees);
@ -171,6 +170,15 @@
transform: translate(@x, @y);
}
// User select
// For selecting text on the page
.user-select(@select) {
-webkit-user-select: @select;
-moz-user-select: @select;
-o-user-select: @select;
user-select: @select;
}
// Background clipping
// Heads up: FF 3.6 and under need padding instead of padding-box
.background-clip(@clip) {