Debian Codegraph @

sass-spec/spec/output_styles/compact/libsass-closed-issues/issue_1709/input.scss

raw
1 @mixin transition( $prefix_properties, $transitions... ) {
2
3 @if not str-index( inspect( $transitions ), ',') {
4 $transitions: ( $transitions );
5 }
6
7 @each $prefix in -webkit-, -moz-, -ms-, -o-, '' {
8
9 $prefixed: '';
10
11 @each $transition in $transitions {
12
13 @if $prefix_properties and '' != $prefix {
14 $prefixed: #{$prefix}$transition,$transition;
15 } @else {
16 $prefixed: $transition;
17 }
18
19
20 }
21
22 #{$prefix}transition: $prefixed;
23 }
24 }
25
26 .my-element {
27 @include transition( true, transform 0.25s linear );
28 }