mirror of
https://github.com/scratchfoundation/scratchx.git
synced 2024-11-29 11:05:55 -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);
|
|
}
|