35 lines
653 B
SCSS
35 lines
653 B
SCSS
/*
|
|
* Transform Mixins
|
|
* Provides mixins for transforms
|
|
*
|
|
* Dependencies:
|
|
* styles/tools/mixin.prefix.scss - Used to prefix browser support
|
|
*
|
|
* Version:
|
|
* 1.0.0 - 2018/02/23
|
|
*/
|
|
|
|
@mixin t-transform($transforms) {
|
|
@include t-prefix-property(transform, $transforms, moz o ms webkit spec);
|
|
}
|
|
|
|
@mixin t-translate($x, $y) {
|
|
@include t-transform(translate($x, $y));
|
|
}
|
|
|
|
@mixin t-translate-x($x) {
|
|
@include t-transform(translateX($x));
|
|
}
|
|
|
|
@mixin t-translate-y($y) {
|
|
@include t-transform(translateY($y));
|
|
}
|
|
|
|
@mixin t-scale($amt) {
|
|
@include t-transform(scale($amt));
|
|
}
|
|
|
|
@mixin t-rotate($amt) {
|
|
@include t-transform(rotate($amt));
|
|
}
|