add the translate mixin
This commit is contained in:
parent
6180134441
commit
f0c1ef20e5
|
@ -1,11 +1,12 @@
|
|||
/*---------------------------------------------------
|
||||
LESS Elements 0.5
|
||||
LESS Elements 0.6
|
||||
---------------------------------------------------
|
||||
A set of useful LESS mixins by Dmitry Fadeyev
|
||||
Special thanks for mixin suggestions to:
|
||||
Kris Van Herzeele,
|
||||
Benoit Adam,
|
||||
Portenart Emile-Victor
|
||||
Portenart Emile-Victor,
|
||||
Ryan Faerman
|
||||
|
||||
More info at: http://lesselements.com
|
||||
-----------------------------------------------------*/
|
||||
|
@ -118,3 +119,10 @@
|
|||
column-rule-style: @columnRuleStyle;
|
||||
column-rule-width: @columnRuleWidth;
|
||||
}
|
||||
.translate(@x:0, @y:0) {
|
||||
-moz-transform: translate(@x, @y);
|
||||
-webkit-transform: translate(@x, @y);
|
||||
-o-transform: translate(@x, @y);
|
||||
-ms-transform: translate(@x, @y);
|
||||
transform: translate(@x, @y);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue