mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
adding new mixins
This commit is contained in:
parent
cde17c9491
commit
bdbc352066
@ -155,13 +155,24 @@
|
||||
.rotation(@degrees: 5deg) {
|
||||
-webkit-transform: rotate(@degrees);
|
||||
-moz-transform: rotate(@degrees);
|
||||
-ms-transform: rotate(@degrees);
|
||||
-o-transform: rotate(@degrees);
|
||||
transform: rotate(@degrees);
|
||||
}
|
||||
.scale(@value: 1.5) {
|
||||
-webkit-transform: scale(@value);
|
||||
-moz-transform: scale(@value);
|
||||
-ms-transform: scale(@value);
|
||||
-o-transform: scale(@value);
|
||||
transform: scale(@value);
|
||||
}
|
||||
.translate(@x: 0, @y: 0) {
|
||||
-webkit-transform: translate(@x, @y);
|
||||
-moz-transform: translate(@x, @y);
|
||||
-ms-transform: translate(@x, @y);
|
||||
-o-transform: translate(@x, @y);
|
||||
transform: translate(@x, @y);
|
||||
}
|
||||
|
||||
// Background clipping
|
||||
.background-clip(@clip) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user