Permalink
Browse files

Fixes for Opera.

Added -o- for animations (will appear in Opera 12).
Added default prefix to transitions, transforms, and animations.
  • Loading branch information...
1 parent 9687eb0 commit d60224c339062c371aadffdb5240b62e0dbda76d Mike Taylor committed Mar 26, 2012
Showing with 6 additions and 5 deletions.
  1. +4 −4 stylesheets/stitch/patterns/_css3.scss
  2. +2 −1 stylesheets/stitch/patterns/animation/_keyframes.scss
@@ -191,7 +191,7 @@ $default-prefixes-columns: -webkit, -moz;
// Transforms
// ----------------------------------------
-$default-prefixes-transform: -webkit, -moz;
+$default-prefixes-transform: -webkit, -moz, -o;
// @see http://www.w3.org/TR/css3-2d-transforms/#transform-property
@mixin transform($v, $prefixes:$default-prefixes-transform) {
@@ -227,7 +227,7 @@ $default-prefixes-transform: -webkit, -moz;
// ----------------------------------------
// @see http://www.w3.org/TR/css3-transitions/
-$default-prefixes-transition: -webkit, -moz;
+$default-prefixes-transition: -webkit, -moz, -o;
@mixin transition-property($v, $prefixes:$default-prefixes-transform) {
@include prefix(transition-property,$v,$prefixes);
@@ -257,7 +257,7 @@ $default-prefixes-transition: -webkit, -moz;
// Animation
// ----------------------------------------
-$default-prefixes-animation: -webkit, -moz;
+$default-prefixes-animation: -webkit, -moz, -o;
@mixin animation($v, $prefixes:$default-prefixes-animation) {
@include prefix(animation,$v,$prefixes);
@@ -297,4 +297,4 @@ $default-prefixes-animation: -webkit, -moz;
@mixin animation-delay($v, $prefixes:$default-prefixes-animation) {
@include prefix(animation-name,$v,$prefixes);
animation-delay:$v;
-}
+}
@@ -1,5 +1,6 @@
@mixin keyframes {
@-webkit-keyframes { @content; }
@-moz-keyframes { @content; }
+ @-o-keyframes { @content; }
@keyframes { @content; }
-}
+}

0 comments on commit d60224c

Please sign in to comment.