mirror of
https://github.com/scratchfoundation/scratchx.git
synced 2024-12-01 11:57:05 -05:00
15 lines
501 B
SCSS
15 lines
501 B
SCSS
@mixin transform($property: none) {
|
|
// none | <transform-function>
|
|
@include prefixer(transform, $property, webkit moz ms o spec);
|
|
}
|
|
|
|
@mixin transform-origin($axes: 50%) {
|
|
// x-axis - left | center | right | length | %
|
|
// y-axis - top | center | bottom | length | %
|
|
// z-axis - length
|
|
@include prefixer(transform-origin, $axes, webkit moz ms o spec);
|
|
}
|
|
|
|
@mixin transform-style($style: flat) {
|
|
@include prefixer(transform-style, $style, webkit moz ms o spec);
|
|
}
|