added -ms prefix to transitions via #590

This commit is contained in:
Scott Davis 2012-01-02 00:14:48 -05:00
parent 39db29cafb
commit 0f0c92e1bb
2 changed files with 9 additions and 7 deletions

View File

@ -30,7 +30,7 @@ $default-transition-delay: false !default;
@mixin transition-property($properties: $default-transition-property) { @mixin transition-property($properties: $default-transition-property) {
@include experimental(transition-property, unquote($properties), @include experimental(transition-property, unquote($properties),
-moz, -webkit, -o, not -ms, not -khtml, official -moz, -webkit, -o, -ms, not -khtml, official
); );
} }
@ -42,7 +42,7 @@ $default-transition-delay: false !default;
@mixin transition-duration($duration: $default-transition-duration) { @mixin transition-duration($duration: $default-transition-duration) {
@if type-of($duration) == string { $duration: unquote($duration); } @if type-of($duration) == string { $duration: unquote($duration); }
@include experimental(transition-duration, $duration, @include experimental(transition-duration, $duration,
-moz, -webkit, -o, not -ms, not -khtml, official -moz, -webkit, -o, -ms, not -khtml, official
); );
} }
@ -54,7 +54,7 @@ $default-transition-delay: false !default;
@mixin transition-timing-function($function: $default-transition-function) { @mixin transition-timing-function($function: $default-transition-function) {
@include experimental(transition-timing-function, unquote($function), @include experimental(transition-timing-function, unquote($function),
-moz, -webkit, -o, not -ms, not -khtml, official -moz, -webkit, -o, -ms, not -khtml, official
); );
} }
@ -66,7 +66,7 @@ $default-transition-delay: false !default;
@mixin transition-delay($delay: $default-transition-delay) { @mixin transition-delay($delay: $default-transition-delay) {
@if type-of($delay) == string { $delay: unquote($delay); } @if type-of($delay) == string { $delay: unquote($delay); }
@include experimental(transition-delay, $delay, @include experimental(transition-delay, $delay,
-moz, -webkit, -o, not -ms, not -khtml, official -moz, -webkit, -o, -ms, not -khtml, official
); );
} }
@ -87,7 +87,7 @@ $default-transition-delay: false !default;
-moz, -moz,
not -webkit, not -webkit,
-o, -o,
not -ms, -ms,
not -khtml, not -khtml,
official official
); );
@ -97,7 +97,7 @@ $default-transition-delay: false !default;
-moz, -moz,
-webkit, -webkit,
-o, -o,
not -ms, -ms,
not -khtml, not -khtml,
official official
); );
@ -128,6 +128,6 @@ $default-transition-delay: false !default;
} }
$transition : compact($transition-1, $transition-2, $transition-3, $transition-4, $transition-5, $transition-6, $transition-7, $transition-8, $transition-9, $transition-10); $transition : compact($transition-1, $transition-2, $transition-3, $transition-4, $transition-5, $transition-6, $transition-7, $transition-8, $transition-9, $transition-10);
@include experimental(transition, $transition, @include experimental(transition, $transition,
-moz, -webkit, -o, not -ms, not -khtml, official -moz, -webkit, -o, -ms, not -khtml, official
); );
} }

View File

@ -1,6 +1,7 @@
.single-transition-without-delay { .single-transition-without-delay {
-webkit-transition: all 0.6s ease-out; -webkit-transition: all 0.6s ease-out;
-moz-transition: all 0.6s ease-out; -moz-transition: all 0.6s ease-out;
-ms-transition: all 0.6s ease-out;
-o-transition: all 0.6s ease-out; -o-transition: all 0.6s ease-out;
transition: all 0.6s ease-out; } transition: all 0.6s ease-out; }
@ -8,5 +9,6 @@
-webkit-transition: all 0.6s ease-out; -webkit-transition: all 0.6s ease-out;
-webkit-transition-delay: 0.2s; -webkit-transition-delay: 0.2s;
-moz-transition: all 0.6s ease-out 0.2s; -moz-transition: all 0.6s ease-out 0.2s;
-ms-transition: all 0.6s ease-out 0.2s;
-o-transition: all 0.6s ease-out 0.2s; -o-transition: all 0.6s ease-out 0.2s;
transition: all 0.6s ease-out 0.2s; } transition: all 0.6s ease-out 0.2s; }